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

Disassembly:
sub esp, 0x20
push ebx
mov ebx, dword [esp + 0x28]
push ebp
mov eax, edx
mov edx, dword [ebx + 8]
test edx, edx
push esi
push edi
mov dword [esp + 0x2c], eax
jne 0x4ab5fb
mov esi, dword [esp + 0x40]
mov edx, dword [esp + 0x3c]
push 0x63
push esi
push edx
mov edx, dword [eax]
push ebx
call fcn.00503c20
mov edi, eax
mov ebp, 1
cmp edi, ebp
jne 0x4ab59d
mov eax, dword [ebx + 8]
cmp eax, 3
jl 0x4ab588
cmp eax, 5
jle 0x4ab59d
push 6
mov edx, esi
mov ecx, ebx
call fcn.00480930
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 0x50
mov eax, dword [ebx + 8]
cmp eax, 5
jne 0x4ab5b6
mov eax, dword [ebx + 0x40]
mov ecx, dword [eax + 0x40]
mov edx, dword [ecx + 0x40]
mov eax, dword [edx + 0x40]
mov eax, dword [eax + 0x40]
jmp 0x4ab5de
cmp eax, 4
jne 0x4ab5ef
mov ecx, dword [ebx + 0x40]
mov edx, dword [ecx + 0x40]
mov eax, dword [edx + 0x40]
mov ecx, dword [eax + 0x40]
mov ecx, dword [ecx]
call fcn.005037f0
test eax, eax
jne 0x4ab5ef
mov edx, dword [ebx + 0x40]
mov eax, dword [edx + 0x40]
mov ecx, dword [eax + 0x40]
mov eax, dword [ecx + 0x40]
mov ecx, dword [eax]
mov cl, byte [ecx]
cmp cl, 0x24
je 0x4ab5ef
cmp cl, 0x25
je 0x4ab5ef
mov dword [eax + 0x1c], ebp
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 0x50
mov ecx, dword [ebx + 0x40]
test ecx, ecx
je 0x4abbb4
mov eax, dword [ecx + 0x40]
test eax, eax
je 0x4abbb4
cmp edx, 3
jl 0x4ab621
mov esi, dword [eax + 0x40]
test esi, esi
je 0x4abbb4
cmp edx, 4
jl 0x4ab634
mov esi, dword [eax + 0x40]
mov edi, dword [esi + 0x40]
test edi, edi
je 0x4abbb4
cmp edx, 5
jl 0x4ab64a
mov esi, dword [eax + 0x40]
mov esi, dword [esi + 0x40]
mov edi, dword [esi + 0x40]
test edi, edi
je 0x4abbb4
mov esi, dword [ecx + 0x1c]
mov ebp, 1
cmp esi, ebp
jne 0x4ab68b
cmp dword [eax + 0x1c], ebp
jne 0x4ab68b
cmp edx, 3
jl 0x4ab668
mov esi, dword [eax + 0x40]
cmp dword [esi + 0x1c], ebp
jne 0x4ab68b
cmp edx, 4
jl 0x4ab678
mov esi, dword [eax + 0x40]
mov esi, dword [esi + 0x40]
cmp dword [esi + 0x1c], ebp
jne 0x4ab68b
cmp edx, 5
jl 0x4ab697
mov esi, dword [eax + 0x40]
mov esi, dword [esi + 0x40]
mov esi, dword [esi + 0x40]
cmp dword [esi + 0x1c], ebp
je 0x4ab697
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
add esp, 0x20
ret 0x50
mov esi, dword [ecx + 0xc]
test esi, esi
jne 0x4abb85
mov esi, dword [eax + 0xc]
test esi, esi
jne 0x4abb85
cmp edx, 3
jl 0x4ab6c0
mov esi, dword [eax + 0x40]
mov edi, dword [esi + 0xc]
test edi, edi
jne 0x4abb85
cmp edx, 4
jl 0x4ab6d6
mov esi, dword [eax + 0x40]
mov esi, dword [esi + 0x40]
mov edi, dword [esi + 0xc]
test edi, edi
jne 0x4abb85
cmp edx, 5
jl 0x4ab6ef
mov edx, dword [eax + 0x40]
mov eax, dword [edx + 0x40]
mov edx, dword [eax + 0x40]
mov eax, dword [edx + 0xc]
test eax, eax
jne 0x4abb85
mov ecx, dword [ecx]
call fcn.00537930
mov esi, dword [esp + 0x34]
mov eax, dword [esi + 0x40]
mov edi, dword [esp + 0x3c]
mov ecx, dword [eax]
mov edx, edi
call fcn.0041f470
test eax, eax
jne 0x4ab725
mov edx, dword [esp + 0x40]
push 6
mov ecx, esi
call fcn.00480930
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 0x50
mov ecx, edi
call fcn.00422770
mov ecx, dword [esi + 0x40]
mov edx, dword [ecx + 0x40]
mov ecx, dword [edx]
mov edx, dword [esp + 0x40]
mov al, byte [ecx]
inc ecx
mov byte [edx], al
inc edx
test al, al
jne 0x4ab738
mov eax, dword [esi + 0x40]
mov ecx, dword [eax + 0x40]
mov edx, dword [ecx + 0x40]
mov eax, dword [edx]
push eax
call fcn.0059164b
xor ebx, ebx
add esp, 4
cmp eax, ebx
mov dword [esp + 0x18], eax
jg 0x4ab764
mov dword [esp + 0x18], ebx
mov eax, dword [esi + 8]
cmp eax, 5
mov edi, dword [esp + 0x80]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], 0x3e7
mov dword [esp + 0x14], ebx
jne 0x4ab83e
mov ecx, dword [esi + 0x40]
mov edx, dword [ecx + 0x40]
mov eax, dword [edx + 0x40]
mov ecx, dword [eax + 0x40]
mov ecx, dword [ecx]
call fcn.005037f0
test eax, eax
je 0x4ab7dd
mov edx, dword [esi + 0x40]
mov eax, dword [edx + 0x40]
mov ecx, dword [eax + 0x40]
mov edx, dword [ecx + 0x40]
mov eax, dword [edx]
push eax
call fcn.0059164b
mov ecx, dword [esi + 0x40]
mov edx, dword [ecx + 0x40]
mov dword [esp + 0x24], eax
mov eax, dword [edx + 0x40]
mov ecx, dword [eax + 0x40]
mov edx, dword [ecx + 0x40]
mov ecx, dword [edx]
mov al, byte [ecx]
add esp, 4
cmp al, 0x40
je 0x4ab8a0
mov dword [esp + 0x24], ecx
jmp 0x4ab8c5
mov eax, dword [esi + 0x40]
mov ecx, dword [eax + 0x40]
mov edx, dword [ecx + 0x40]
mov eax, dword [edx + 0x40]
mov ecx, dword [eax]
cmp byte [ecx], 0x40
jne 0x4ab817
mov edx, edi
call fcn.004f11f0
cmp eax, ebx
je 0x4abb85
mov eax, dword [eax + 0x88c]
test eax, eax
je 0x4abb85
mov esi, dword [esp + 0x34]
mov dword [esp + 0x14], eax
jmp 0x4ab81b
mov dword [esp + 0x24], ecx
mov ecx, dword [esi + 0x40]
mov edx, dword [ecx + 0x40]
mov eax, dword [edx + 0x40]
mov ecx, dword [eax + 0x40]
mov edx, dword [ecx + 0x40]
mov eax, dword [edx]
push eax
call fcn.0059164b
add esp, 4
mov dword [esp + 0x20], eax
jmp 0x4ab8c5
cmp eax, 4
jne 0x4ab890
mov ecx, dword [esi + 0x40]
mov edx, dword [ecx + 0x40]
mov eax, dword [edx + 0x40]
mov ecx, dword [eax + 0x40]
mov ecx, dword [ecx]
call fcn.005037f0
test eax, eax
je 0x4ab877
mov edx, dword [esi + 0x40]
mov eax, dword [edx + 0x40]
mov ecx, dword [eax + 0x40]
mov edx, dword [ecx + 0x40]
mov eax, dword [edx]
push eax
call fcn.0059164b
add esp, 4
mov dword [esp + 0x20], eax
jmp 0x4ab8c5
mov ecx, dword [esi + 0x40]
mov edx, dword [ecx + 0x40]
mov eax, dword [edx + 0x40]
mov ecx, dword [eax + 0x40]
mov ecx, dword [ecx]
cmp byte [ecx], 0x40
je 0x4ab8a0
mov dword [esp + 0x24], ecx
jmp 0x4ab8c5
mov edx, dword [esi + 0x40]
mov eax, dword [edx + 0x40]
mov ecx, dword [eax + 0x40]
mov ecx, dword [ecx]
cmp byte [ecx], 0x40
jne 0x4ab8c5
mov edx, edi
call fcn.004f11f0
cmp eax, ebx
je 0x4abb85
mov eax, dword [eax + 0x88c]
test eax, eax
je 0x4abb85
mov esi, dword [esp + 0x34]
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0x10]
test eax, eax
mov dword [esp + 0x28], 0
je 0x4ab8fb
mov edx, dword [esi]
push 0x2e
push edx
call fcn.00591bd0
add esp, 8
test eax, eax
je 0x4ab8fb
push str..shortfn
push eax
call fcn.005a299c
add esp, 8
test eax, eax
jne 0x4ab8fb
mov dword [esp + 0x28], ebp
mov eax, dword [esp + 0x3c]
cmp byte [eax], 0
je 0x4abb85
mov ecx, dword [esp + 0x40]
cmp byte [ecx], 0
je 0x4abb85
mov eax, dword [esp + 0x7c]
xor edi, edi
cmp eax, edi
mov dword [esp + 0x10], edi
mov dword [esp + 0x1c], edi
je 0x4ab93d
cmp dword [esp + 0x44], edi
jne 0x4ab938
movzx edx, word [eax + 2]
shl edx, 0x10
mov dword [eax], edx
jmp 0x4ab93d
movzx ecx, word [eax]
mov dword [eax], ecx
mov esi, dword [esp + 0x40]
push 0x3b
push esi
call fcn.005912e0
add esp, 8
test eax, eax
je 0x4ab97c
push edi
mov edx, 0x5a4bec
xor ecx, ecx
call fcn.004d38f0
cmp eax, edi
mov dword [esp + 0x10], eax
jne 0x4ab97c
mov ecx, dword [esp + 0x34]
push 8
mov edx, esi
call fcn.00480930
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 0x50
mov edi, dword [esp + 0x78]
mov ebp, dword [esp + 0x74]
mov ebx, dword [esp + 0x70]
mov esi, dword [esp + 0x38]
lea esp, [esp]
mov edx, dword [esp + 0x40]
push 0x3b
push edx
call fcn.005912e0
add esp, 8
test eax, eax
mov dword [esp + 0x78], eax
je 0x4ab9aa
mov byte [eax], 0
mov ecx, dword [esp + 0x40]
mov dl, 0x20
call fcn.005379a0
mov ecx, dword [esp + 0x40]
cmp byte [ecx], 0
je 0x4abac7
mov edx, dword [esp + 0x80]
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x10]
push edx
push eax
push ecx
mov edx, dword [esp + 0x78]
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x34]
push edi
push ebp
push ebx
push edx
mov edx, dword [esp + 0x80]
push eax
mov eax, dword [esp + 0x80]
push ecx
mov ecx, dword [esp + 0x80]
push edx
mov edx, dword [esp + 0x80]
push eax
mov eax, dword [esp + 0x80]
push ecx
mov ecx, dword [esp + 0x80]
push edx
mov edx, dword [esp + 0x80]
push eax
mov eax, dword [esp + 0x80]
inc ecx
push ecx
mov ecx, dword [esp + 0x5c]
push edx
mov edx, dword [esp + 0x64]
push eax
mov eax, dword [esp + 0x88]
push ecx
mov ecx, dword [esp + 0x5c]
push edx
mov edx, dword [esp + 0x64]
push eax
push ecx
mov ecx, dword [esp + 0x90]
push edx
mov edx, dword [esp + 0x98]
push esi
call fcn.00484ff0
cmp eax, 0xffffffff
je 0x4abb1a
cmp eax, 0xfffffffe
je 0x4abb45
cmp eax, 0xfffffffd
je 0x4abb67
cmp eax, 0xfffffffc
je 0x4abb7c
test eax, eax
jl 0x4abac7
add dword [esp + 0x1c], eax
mov ecx, dword [esp + 0x18]
test ecx, ecx
jg 0x4abaa1
mov eax, dword [esp + 0x1c]
push eax
push 0x5a4998
push esi
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
jmp 0x4abac7
cmp ecx, eax
jle 0x4abab3
sub ecx, eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], 0
cmp byte [esi], 0
je 0x4abac7
mov eax, dword [esp + 0x28]
test eax, eax
je 0x4abac7
mov ecx, esi
call fcn.00524470
mov eax, dword [esp + 0x18]
test eax, eax
jle 0x4abad9
cmp eax, dword [esp + 0x1c]
jle 0x4abb7c
mov eax, dword [esp + 0x78]
test eax, eax
je 0x4abb7c
mov cl, byte [eax + 1]
inc eax
test cl, cl
mov dword [esp + 0x78], eax
je 0x4abb7c
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4abaf8
mov ecx, dword [esp + 0x78]
sub eax, edx
mov edx, dword [esp + 0x40]
inc eax
push eax
push ecx
push edx
call fcn.00592290
add esp, 0xc
jmp 0x4ab990
lea ecx, [esp + 0x10]
call fcn.004d3d60
xor ecx, ecx
call fcn.0041f0a0
mov edx, 0x5cbac0
mov ecx, 0xaf3
call fcn.0041f1a0
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x20
ret 0x50
lea ecx, [esp + 0x10]
call fcn.004d3d60
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x34]
push 8
call fcn.00480930
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 0x50
lea ecx, [esp + 0x10]
call fcn.004d3d60
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x20
ret 0x50
lea ecx, [esp + 0x10]
call fcn.004d3d60
mov esi, dword [esp + 0x34]
mov eax, dword [esi + 8]
test eax, eax
jle 0x4abbad
mov edi, dword [esp + 0x2c]
mov edx, dword [esi + 0x40]
mov ecx, dword [edi]
call fcn.004d3ac0
mov dword [edi], eax
mov ecx, dword [esi + 8]
dec ecx
mov eax, ecx
test eax, eax
mov dword [esi + 8], ecx
jg 0x4abb94
mov dword [esi + 8], 0
pop edi
pop esi
pop ebp
mov eax, 2
pop ebx
add esp, 0x20
ret 0x50