Function at 0x24801760
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x58
push ebx
push ebp
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov eax, dword [esi + 0x60]
mov dword [esp + 0x3c], esi
cmp eax, ebx
je 0x24801d5a
mov eax, dword [esp + 0x80]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x10], ebx
mov word [eax], bx
xor eax, eax
mov al, byte [esp + 0x73]
mov dword [esp + 0x38], eax
call fcn.247fe760
mov ebp, eax
cmp ebp, ebx
jl 0x24801d68
mov eax, dword [esp + 0x38]
lea ecx, [esp + 0x34]
lea edx, [esp + 0x40]
push ecx
push edx
push eax
mov ecx, esi
call fcn.24802580
mov ecx, dword [esp + 0x6c]
call fcn.247f4e50
mov eax, dword [esp + 0x70]
mov ecx, dword [esi + 0x58]
and eax, 0xfff
mov dword [esp + 0x44], eax
and eax, 0xffff
mov dx, word [ecx + eax*8]
mov ecx, dword [esp + 0x38]
mov al, cl
mov word [esp + 0x30], dx
and al, 0xbd
neg al
sbb eax, eax
and ecx, 2
add eax, 2
or ecx, 4
mov dword [esp + 0x70], eax
movsx eax, ax
shr ecx, 1
cmp eax, ecx
mov dword [esp + 0x50], ecx
jge 0x24801d3f
mov ecx, dword [esp + 0x30]
and ecx, 0x2000
mov dword [esp + 0x48], ecx
mov ebp, dword [esp + 0x3c]
cmp word [esp + 0x48], bx
mov esi, dword [esp + 0x44]
mov edi, dword [ebp + 0x60]
je 0x248018cb
mov cx, word [esp + 0x70]
movsx edx, word [esp + 0x30]
sub cx, 2
neg cx
sbb ecx, ecx
and ecx, 0xfffffe00
add ecx, 0x400
test edx, ecx
je 0x24801861
mov eax, dword [esp + 0x70]
mov dword [esp + 0x20], eax
jmp 0x248018ac
mov edx, dword [ebp + 0x58]
and esi, 0xffff
lea ecx, [edx + esi*8]
lea esi, [eax + eax]
movsx eax, word [ecx + esi]
mov bp, word [edx + eax*8 - 8]
lea eax, [edx + eax*8 - 8]
and ebp, 0x2000
test bp, bp
je 0x248018a2
mov ecx, eax
movsx eax, word [ecx + esi]
mov bp, word [edx + eax*8 - 8]
lea eax, [edx + eax*8 - 8]
and ebp, 0x2000
test bp, bp
jne 0x24801888
mov si, word [ecx + esi]
mov ebp, dword [esp + 0x3c]
dec si
cmp word [esp + 0x70], 2
jne 0x24801942
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x34], 0xffffffff
call fcn.247f5620
jmp 0x24801942
mov ecx, dword [esp + 0x30]
and ecx, 0x4000
test cx, cx
je 0x24801921
mov edx, dword [ebp + 0x58]
and esi, 0xffff
movsx eax, word [edx + esi*8 + 6]
lea ecx, [edx + esi*8]
mov si, word [edx + eax*8 - 8]
lea eax, [edx + eax*8 - 8]
and esi, 0x4000
test si, si
je 0x24801919
mov ecx, eax
movsx eax, word [ecx + 6]
mov si, word [edx + eax*8 - 8]
lea eax, [edx + eax*8 - 8]
and esi, 0x4000
test si, si
jne 0x248018ff
mov si, word [ecx + 6]
dec si
jmp 0x24801942
mov edx, dword [ebp + 0x58]
mov ecx, esi
and ecx, 0xffff
mov ax, word [edx + ecx*8]
and eax, 0x800
test ax, ax
je 0x24801942
mov dword [esp + 0x20], 3
cmp word [esp + 0x20], bx
je 0x24801995
movsx ecx, word [esp + 0x20]
mov eax, dword [ebp + 0x58]
and esi, 0xffff
lea edx, [ecx + esi*4]
mov cx, word [eax + edx*2]
dec cx
push ecx
mov ecx, ebp
call fcn.24802a90
mov ecx, eax
call fcn.24802970
mov dword [esp + 0x60], eax
push eax
mov edx, dword [esp + 0x66]
mov ecx, ebp
lea esi, [edx - 1]
call fcn.24802a20
mov ecx, eax
call fcn.24802970
mov edi, eax
push edi
mov eax, dword [edi]
call dword [eax + 8]
mov dword [esp + 0x20], ebx
mov ecx, dword [edi]
lea edx, [esp + 0x10]
and esi, 0xffff
push edx
push esi
push edi
call dword [ecx + 0x10]
mov ebp, eax
cmp ebp, ebx
jl 0x24801d06
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x18]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc]
mov ebp, eax
cmp ebp, ebx
jl 0x24801cf6
mov eax, dword [esp + 0x18]
test byte [eax + 0x37], 2
jne 0x24801ceb
mov ecx, dword [esp + 0x40]
not ecx
test cx, cx
je 0x24801b37
xor esi, esi
cmp word [eax + 0x2c], bx
jbe 0x24801b37
mov edi, dword [esp + 0x6c]
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x24]
push ecx
push esi
mov edx, dword [eax]
push eax
call dword [edx + 0x14]
mov ebp, eax
cmp ebp, ebx
jl 0x24801b31
mov eax, dword [esp + 0x24]
mov ecx, dword [eax]
mov dword [esp + 0x54], ecx
mov dx, word [eax + 0x30]
and edx, dword [esp + 0x40]
test dx, dx
jne 0x24801a93
mov eax, dword [esp + 0x10]
push ebx
push ebx
lea ebp, [esp + 0x1c]
mov edx, dword [eax]
push ebx
push ebp
push ecx
push eax
call dword [edx + 0x30]
mov ebp, eax
mov eax, dword [esp + 0x74]
cmp eax, ebx
je 0x24801a99
mov eax, dword [esp + 0x24]
mov ecx, 1
cmp word [esp + 0x70], cx
jne 0x24801a5e
mov ecx, dword [eax + 0x10]
mov dword [esp + 0x58], ecx
jmp 0x24801a80
cmp dword [eax + 0x10], ecx
jne 0x24801a6d
mov dword [esp + 0x58], 0x10
jmp 0x24801a80
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esp + 0x24]
mov dword [esp + 0x14], ebx
cmp byte [esp + 0x7c], bl
je 0x24801a9d
test byte [eax + 0x30], 0x40
je 0x24801a9d
or dword [esp + 0x58], 0x40
jmp 0x24801a9d
mov dword [esp + 0x14], ebx
jmp 0x24801a9d
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x10]
push eax
push ecx
mov edx, dword [ecx]
call dword [edx + 0x50]
cmp ebp, ebx
jl 0x24801b31
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x24801b18
cmp word [esp + 0x78], bx
mov ecx, dword [0x2480e39c]
mov dword [esp + 0x28], 1
jne 0x24801ad2
cmp word [eax], cx
je 0x24801b0b
cmp byte [esp + 0x7c], bl
je 0x24801ae9
test byte [esp + 0x58], 0x40
jne 0x24801ae9
cmp word [eax], cx
jne 0x24801ae9
or dword [esp + 0x58], 0x40
mov edi, dword [esp + 0x6c]
lea ecx, [esp + 0x28]
lea edx, [esp + 0x54]
push ecx
push edx
push eax
mov ecx, edi
call dword [edi + 4]
mov ebp, eax
cmp ebp, ebx
jl 0x24801b07
inc dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
cmp dword [esp + 0x28], ebx
je 0x24801b18
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
cmp ebp, ebx
jl 0x24801b31
mov eax, dword [esp + 0x18]
xor ecx, ecx
inc esi
mov cx, word [eax + 0x2c]
cmp esi, ecx
jb 0x248019f7
jmp 0x24801b3b
mov eax, dword [esp + 0x18]
jmp 0x24801b3b
mov edi, dword [esp + 0x6c]
mov edx, dword [esp + 0x34]
not edx
test dx, dx
je 0x24801c75
xor esi, esi
cmp word [eax + 0x2e], bx
jbe 0x24801c75
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x2c]
push edx
push esi
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
mov ebp, eax
cmp ebp, ebx
jl 0x24801c71
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax]
mov dword [esp + 0x54], ecx
mov dx, word [eax + 0x1c]
and edx, dword [esp + 0x34]
test dx, dx
jne 0x24801bd9
mov eax, dword [esp + 0x10]
push ebx
push ebx
lea ebp, [esp + 0x1c]
mov edx, dword [eax]
push ebx
push ebp
push ecx
push eax
call dword [edx + 0x30]
mov ebp, eax
mov eax, dword [esp + 0x74]
cmp eax, ebx
je 0x24801bdf
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x10]
call fcn.247fa540
mov dword [esp + 0x58], eax
mov al, byte [esp + 0x7c]
cmp al, bl
je 0x24801bdf
mov eax, dword [esp + 0x2c]
test byte [eax + 0x1c], 0x40
je 0x24801bcc
or dword [esp + 0x58], 0x40
cmp dword [eax + 0x20], 2
jne 0x24801be3
or dword [esp + 0x58], 0x20
jmp 0x24801be3
mov dword [esp + 0x14], ebx
jmp 0x24801be3
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x10]
push eax
push ecx
mov edx, dword [ecx]
call dword [edx + 0x54]
cmp ebp, ebx
jl 0x24801c71
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x24801c58
cmp word [esp + 0x78], bx
mov ecx, dword [0x2480e39c]
mov dword [esp + 0x28], 1
jne 0x24801c14
cmp word [eax], cx
je 0x24801c4b
cmp byte [esp + 0x7c], bl
je 0x24801c2b
test byte [esp + 0x58], 0x40
jne 0x24801c2b
cmp word [eax], cx
jne 0x24801c2b
or dword [esp + 0x58], 0x40
mov edi, dword [esp + 0x6c]
lea ecx, [esp + 0x28]
lea edx, [esp + 0x54]
push ecx
push edx
push eax
mov ecx, edi
call dword [edi + 4]
test eax, eax
jl 0x24801c47
inc dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
cmp dword [esp + 0x28], ebx
je 0x24801c58
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
cmp ebp, ebx
jl 0x24801c71
mov eax, dword [esp + 0x18]
xor ecx, ecx
inc esi
mov cx, word [eax + 0x2e]
cmp esi, ecx
jb 0x24801b56
jmp 0x24801c75
mov eax, dword [esp + 0x18]
cmp dword [eax + 0x28], 3
jne 0x24801ceb
cmp word [eax + 0x30], bx
je 0x24801ceb
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x4c]
push edx
xor edx, edx
call fcn.247f2d10
test eax, eax
jl 0x24801ce7
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x4c]
mov eax, dword [esp + 0x10]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [esp + 0x4c]
lea ecx, [esp + 0x18]
push ecx
push eax
mov edx, dword [eax]
mov dword [esp + 0x18], eax
call dword [edx + 0xc]
test eax, eax
jl 0x24801cfa
mov eax, dword [esp + 0x18]
mov ecx, 0x10
mov edi, 0x2480c868
mov esi, eax
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
je 0x24801ceb
test byte [eax + 0x37], 2
je 0x248019d8
jmp 0x24801ceb
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
push eax
push ecx
mov edx, dword [ecx]
call dword [edx + 0x4c]
mov edi, dword [esp + 0x6c]
mov eax, dword [esp + 0x10]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
jmp 0x24801d0a
mov edi, dword [esp + 0x6c]
cmp ebp, ebx
jl 0x24801d3f
test byte [esp + 0x38], 0x11
je 0x24801d27
cmp word [esp + 0x70], 1
jne 0x24801d27
lea edx, [esp + 0x1c]
mov ecx, edi
push edx
call dword [edi + 8]
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x50]
inc eax
mov dword [esp + 0x70], eax
movsx eax, ax
cmp eax, ecx
jl 0x2480181e
mov ecx, dword [esp + 0x80]
mov ax, word [esp + 0x1c]
mov word [ecx], ax
mov eax, ebp
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x58
ret 0x18
mov ecx, dword [esi + 0x10]
mov ebp, 0x80040201
push ebp
call fcn.247f2930
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
add esp, 0x58
ret 0x18