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

Disassembly:
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov esi, ecx
call fcn.00510980
mov dword [esp + 0x10], eax
xor ebp, ebp
mov ebx, 1
lea esp, [esp]
cmp dword [esp + 0x38], ebp
jne 0x54892e
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x38]
mov ecx, dword [esi + 0x28]
push eax
call fcn.00526a80
cmp eax, ebx
je 0x548ce2
call fcn.004e2290
cmp dword [esp + 0x30], ebx
mov dword [esp + 0x1c], ebx
jl 0x548cbc
mov ecx, dword [esi + 0x28]
mov edx, dword [esp + 0x1c]
mov dword [ecx + 0x9c], edx
mov eax, dword [esi + 0x30]
mov cx, word [eax + 8]
call fcn.00512aa0
cmp eax, ebp
mov dword [esp + 0x24], eax
mov edi, ebx
je 0x548975
mov cx, word [eax]
mov edx, dword [eax + 4]
mov word [esp + 0x20], cx
mov dword [esp + 0x24], edx
jmp 0x54897e
mov ax, word [esi + 0x24]
mov word [esp + 0x20], ax
mov ecx, dword [esi + 0x28]
mov dword [ecx + 0x98], edi
mov edx, dword [esi + 0x30]
xor eax, eax
mov ax, word [edx + 0xe]
inc edi
cmp ax, bp
mov dword [esp + 0x28], edi
mov dword [esp + 0x14], ebx
je 0x5489cb
mov ecx, dword [esp + 0x10]
push ebp
push esi
push 0xffffffffffffffff
push esi
push 2
push eax
call fcn.005126e0
test eax, eax
jne 0x5489cb
mov ecx, dword [esp + 0x10]
add ecx, 0x38
call fcn.004f6070
cmp eax, ebp
mov dword [esp + 0x14], eax
jg 0x5489cb
mov dword [esp + 0x14], ebx
cmp dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
jl 0x548c74
lea esp, [esp]
mov eax, dword [esi + 0x28]
mov ecx, dword [esp + 0x18]
mov dword [eax + 0x94], ecx
mov edx, dword [esi + 0x28]
mov eax, dword [esp + 0x34]
mov dword [edx + 0x8c], eax
mov eax, dword [esi + 0x28]
mov dl, byte [eax + 0xdc]
or dl, 4
mov ecx, 0xe8
mov byte [eax + 0xdc], dl
call fcn.004dc530
cmp eax, ebp
je 0x548a23
mov ecx, eax
call fcn.0054b920
jmp 0x548a25
xor eax, eax
mov cl, byte [esi + 0xbd]
mov dword [esi + 0x3c], eax
or cl, 0x20
mov byte [esi + 0xbd], cl
or byte [eax + 0xe2], 2
mov eax, dword [esi + 0x3c]
or byte [eax + 0xe2], 4
mov eax, dword [0x63c44c]
inc eax
mov dword [0x63c44c], eax
mov ecx, dword [esi + 0x38]
mov dword [esi + 0x88], eax
call fcn.004fcc20
mov ecx, dword [esp + 0x20]
mov edx, dword [esi + 0x28]
push esi
push ecx
mov ecx, dword [esi + 0x3c]
push edx
call fcn.0054b9c0
mov ecx, dword [esi + 0x3c]
call fcn.00549620
mov eax, dword [esi + 0x3c]
mov ecx, dword [eax + 0x2c]
mov eax, dword [ecx + 8]
cmp word [eax + 0x2a], bp
je 0x548aa5
xor edx, edx
mov dx, word [eax + 0x2a]
push ebp
push esi
push esi
lea ecx, [esp + 0x1c]
push edx
call fcn.005113c0
test eax, eax
jne 0x548cad
mov ecx, dword [esi + 0x3c]
call fcn.00549660
mov ecx, dword [esi + 0x3c]
call fcn.0054b0b0
mov eax, dword [esi + 0x3c]
and byte [eax + 8], 0xdf
mov dl, byte [esi + 0xbd]
and dl, 0xdf
mov ecx, 0x90
mov byte [esi + 0xbd], dl
call fcn.004dc530
cmp eax, ebp
je 0x548af1
mov edx, dword [esi + 0x3c]
mov ecx, dword [edx + 0x54]
push edx
mov edx, dword [edx + 0x50]
push esi
push ecx
push edx
mov ecx, eax
call fcn.004f0a10
mov edi, eax
jmp 0x548af3
xor edi, edi
mov eax, dword [esi + 0x28]
mov dword [eax + 0x90], ebx
lea esp, [esp]
mov ecx, dword [esi + 0x28]
mov edx, dword [esp + 0x34]
mov dword [ecx + 0x8c], edx
mov eax, dword [esi + 0x28]
or byte [eax + 0xdc], 4
mov ecx, dword [esi + 0x3c]
call fcn.0057c0e0
mov ecx, dword [esi + 0x3c]
mov eax, dword [ecx + 0x78]
cmp eax, ebx
jle 0x548b3e
cmp dword [ecx + 0x8c], eax
jne 0x548b3e
test byte [ecx + 0xe2], bl
je 0x548b3e
call fcn.0054b040
mov eax, dword [esi + 0x3c]
mov ecx, dword [eax + 0x78]
cmp ecx, ebx
jle 0x548b58
cmp dword [eax + 0x88], ebx
jne 0x548b60
cmp dword [eax + 0x8c], ecx
jne 0x548b60
and byte [eax + 0xe2], 0xfb
nop
mov eax, dword [esi + 0x28]
test byte [eax + 0xdc], 4
jne 0x548b75
mov ecx, dword [esi + 0x3c]
push ebx
call fcn.0057bfe0
mov ecx, dword [esi + 0x3c]
push ebx
push ebp
push edi
call fcn.0054ae70
mov ecx, dword [esi + 0x3c]
call fcn.0057bbe0
cmp eax, ebx
jne 0x548bb7
mov ecx, dword [esi + 0x3c]
push ebp
call fcn.0057bfe0
mov ecx, dword [esi + 0x3c]
mov eax, dword [ecx + 0xcc]
xor edx, edx
cmp eax, ebp
setne dl
push ebp
push edx
push edi
call fcn.0054ae70
mov ecx, dword [esi + 0x3c]
call fcn.0057bbe0
jmp 0x548bcd
mov eax, dword [esi + 0x28]
test byte [eax + 0xdc], 4
je 0x548bcd
mov eax, dword [esi + 0x3c]
and byte [eax + 0xe2], 0xfd
mov ecx, dword [esi + 0x3c]
push 0x200
call fcn.004eb1f0
mov ecx, dword [esi + 0x3c]
call fcn.0057bfb0
mov ecx, ebx
call fcn.004e22d0
mov ecx, edi
call fcn.0057d1f0
call fcn.004e2290
mov ecx, dword [esi + 0x3c]
call fcn.0057bb50
mov eax, dword [esi + 0x28]
and byte [eax + 0xdc], 0xfb
mov eax, dword [esi + 0x28]
cmp dword [eax + 0xd8], ebx
je 0x548c1f
test byte [eax + 0xdd], 2
jne 0x548b60
mov eax, dword [esi + 0x28]
cmp dword [eax + 0xd8], ebx
je 0x548c36
test byte [eax + 0xdd], bl
jne 0x548b00
cmp edi, ebp
je 0x548c41
mov edx, dword [edi]
push ebx
mov ecx, edi
call dword [edx]
mov ecx, dword [esi + 0x3c]
cmp ecx, ebp
je 0x548c4d
mov eax, dword [ecx]
push ebx
call dword [eax]
mov ecx, dword [esi + 0x28]
mov dword [esi + 0x3c], ebp
cmp dword [ecx + 0xd8], ebx
je 0x548c70
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
inc eax
cmp eax, ecx
mov dword [esp + 0x18], eax
jle 0x5489e0
mov edi, dword [esp + 0x28]
mov edx, dword [esi + 0x28]
cmp dword [edx + 0xd8], ebx
je 0x548c8b
mov eax, dword [esp + 0x24]
cmp eax, ebp
jne 0x548964
mov eax, dword [esi + 0x28]
cmp dword [eax + 0xd8], ebx
je 0x548cbc
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x30]
inc eax
cmp eax, ecx
mov dword [esp + 0x1c], eax
jle 0x548941
jmp 0x548cbc
mov ecx, dword [esi + 0x3c]
cmp ecx, ebp
je 0x548cb9
mov edx, dword [ecx]
push ebx
call dword [edx]
mov dword [esi + 0x3c], ebp
mov ecx, ebx
call fcn.004e22d0
cmp dword [esp + 0x38], ebp
jne 0x548ce2
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x38]
mov ecx, dword [esi + 0x28]
push eax
push esi
call fcn.00526df0
cmp eax, ebx
je 0x548910
mov ecx, dword [esp + 0x10]
call fcn.00510970
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret 0xc