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

Disassembly:
push 0xffffffffffffffff
push 0x4b1548
mov eax, dword fs:[0]
push eax
sub esp, 0x58
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4dd704]
xor eax, esp
push eax
lea eax, [esp + 0x6c]
mov dword fs:[0], eax
xor ecx, ecx
xor edi, edi
xor ebp, ebp
xor edx, edx
mov dword [esp + 0x4c], edi
mov dword [esp + 0x50], ebp
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], edx
cmp dword [esp + 0x80], ecx
je 0x489c1f
mov esi, dword [esp + 0x84]
cmp esi, 0xffffffff
je 0x489c1f
mov ebx, dword [esp + 0x88]
test ebx, ebx
je 0x489c1f
mov ecx, dword [esp + 0x8c]
lea eax, [esp + 0x84]
push eax
call fcn.00404ad0
test al, al
je 0x489c42
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x58]
mov eax, dword [esp + 0x7c]
mov dword [eax], edi
mov dword [eax + 4], ebp
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov ecx, dword [esp + 0x6c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x64
ret
mov ecx, dword [esp + 0x8c]
lea eax, [esp + 0x84]
push eax
call fcn.00417dd0
mov ecx, dword [esp + 0x80]
mov edx, dword [ecx]
mov edx, dword [edx + 0x10]
push 0x10001
push esi
push 0
lea eax, [esp + 0x3c]
push eax
call edx
mov esi, dword [eax]
mov dword [esp + 0x1c], esi
mov dword [esp + 0x18], esi
xor eax, eax
mov dword [esp + 0x74], eax
cmp esi, eax
jne 0x489cc3
mov esi, dword [esp + 0x7c]
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x58]
mov dword [esi], edi
mov dword [esi + 4], ebp
mov dword [esi + 8], eax
mov dword [esi + 0xc], ecx
lea ecx, [esp + 0x18]
mov dword [esp + 0x74], 0xffffffff
call fcn.004733d0
mov eax, esi
mov ecx, dword [esp + 0x6c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x64
ret
lea edx, [esp + 0x4c]
push edx
push ebx
push 0x20
mov dword [esp + 0x20], eax
call fcn.00487f30
add esp, 0xc
test al, al
je 0x489d15
lea eax, [esp + 0x14]
push eax
push 0x53495a45
push 2
push esi
call fcn.00494960
add esp, 0x10
test al, al
je 0x489d15
mov eax, dword [esp + 0x14]
test eax, eax
jbe 0x489d15
push eax
lea ecx, [esp + 0x50]
push ecx
push ebx
push 0x20
call fcn.00487f60
mov ebp, dword [esp + 0x60]
mov edi, dword [esp + 0x5c]
add esp, 0x10
lea edx, [esp + 0x4c]
push edx
push ebx
push 0x10
call fcn.00487f30
add esp, 0xc
test al, al
je 0x489d63
lea eax, [esp + 0x14]
push eax
push 0x50415254
push 0x12
push esi
call fcn.00494960
add esp, 0x10
test al, al
je 0x489d63
mov eax, dword [esp + 0x14]
test eax, eax
jbe 0x489d63
push eax
lea ecx, [esp + 0x50]
push ecx
push ebx
push 0x10
call fcn.00487f60
mov ebp, dword [esp + 0x60]
mov edi, dword [esp + 0x5c]
add esp, 0x10
lea edx, [esp + 0x4c]
push edx
push ebx
push 8
call fcn.00487f30
add esp, 0xc
test al, al
je 0x489db1
lea eax, [esp + 0x14]
push eax
push 0x52434653
push 0x18
push esi
call fcn.00494960
add esp, 0x10
test al, al
je 0x489db1
mov eax, dword [esp + 0x14]
test eax, eax
jbe 0x489db1
push eax
lea ecx, [esp + 0x50]
push ecx
push ebx
push 8
call fcn.00487f60
mov ebp, dword [esp + 0x60]
mov edi, dword [esp + 0x5c]
add esp, 0x10
lea edx, [esp + 0x20]
push edx
push 0x42415345
push 8
push esi
mov dword [esp + 0x30], 0
call fcn.00404200
add esp, 0x10
cmp eax, 0x10
je 0x489df9
lea eax, [esp + 0x20]
push eax
push 0x42415345
push 8
push esi
mov dword [esp + 0x30], 0
call fcn.00404200
add esp, 0x10
cmp eax, 0x11
jne 0x489ee0
lea ecx, [esp + 0x4c]
push ecx
push ebx
push 4
call fcn.00487f30
add esp, 0xc
test al, al
je 0x489e5a
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x60]
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], 0x10
mov eax, dword [esi]
mov edx, dword [eax + 0x10]
push 0x42415345
push 0x11
mov ecx, esi
call edx
test al, al
je 0x489e5a
mov ecx, dword [esp + 0x68]
mov eax, 1
shl eax, cl
lea ecx, [esp + 0x4c]
push eax
push ecx
push ebx
push 4
call fcn.00487f60
mov ebp, dword [esp + 0x60]
mov edi, dword [esp + 0x5c]
add esp, 0x10
lea edx, [esp + 0x4c]
push edx
push ebx
push 2
call fcn.00487f30
add esp, 0xc
test al, al
je 0x489ea4
lea eax, [esp + 0x14]
push eax
push 0x53495a45
push 7
push esi
call fcn.00494960
add esp, 0x10
test al, al
je 0x489ea4
mov ecx, dword [esp + 0x14]
push ecx
lea edx, [esp + 0x50]
push edx
push ebx
push 2
call fcn.00487f60
mov ebp, dword [esp + 0x60]
mov edi, dword [esp + 0x5c]
add esp, 0x10
lea eax, [esp + 0x4c]
push eax
push ebx
push 1
call fcn.00487f30
add esp, 0xc
test al, al
je 0x489ee0
push 0
push esi
call fcn.0048a1b0
add esp, 8
test eax, eax
je 0x489ee0
push eax
lea ecx, [esp + 0x50]
push ecx
push ebx
push 1
call fcn.00487f60
mov ebp, dword [esp + 0x60]
mov edi, dword [esp + 0x5c]
add esp, 0x10
test edi, edi
je 0x489eef
lea edx, [edi + edi]
cmp edx, ebx
jg 0x489c85
push 0x44525641
push 0x10
push esi
lea ecx, [esp + 0x40]
call fcn.00441b80
xor esi, esi
mov byte [esp + 0x74], 1
cmp dword [esp + 0x38], esi
jbe 0x489fa2
mov edx, dword [esp + 0x8c]
mov eax, dword [esp + 0x34]
mov ecx, dword [eax + esi*4]
push edx
mov edx, dword [esp + 0x84]
push ebx
push ecx
push edx
lea eax, [esp + 0x30]
push eax
call fcn.00489ba0
mov eax, dword [esp + 0x34]
add esp, 0x14
cmp eax, edi
jge 0x489f47
test eax, eax
jle 0x489f8f
test bl, bl
jns 0x489f8f
test bl, bl
jns 0x489f4f
or edi, eax
jmp 0x489f5b
cmp eax, edi
jle 0x489f5b
xor ebp, ebp
mov edi, eax
mov dword [esp + 0x54], ebp
mov ecx, dword [esp + 0x24]
test ecx, ecx
jbe 0x489f7d
test ebp, ebp
jbe 0x489f6b
mov eax, ebp
jmp 0x489f6e
or eax, 0xffffffff
cmp ecx, eax
jae 0x489f76
mov ebp, ecx
jmp 0x489f7d
test ebp, ebp
ja 0x489f7d
or ebp, 0xffffffff
mov eax, dword [esp + 0x28]
test eax, eax
jbe 0x489f8f
cmp eax, dword [esp + 0x54]
jbe 0x489f8f
mov dword [esp + 0x54], eax
mov ecx, dword [esp + 0x2c]
add dword [esp + 0x58], ecx
inc esi
cmp esi, dword [esp + 0x38]
jb 0x489f11
test ebp, ebp
je 0x489fad
cmp dword [esp + 0x54], 0
jne 0x489fb1
inc dword [esp + 0x58]
cmp dword [esp + 0x58], 0
jne 0x489fed
test edi, edi
je 0x489fed
mov esi, dword [esp + 0x7c]
mov edx, dword [esp + 0x54]
mov eax, dword [esp + 0x58]
mov dword [esi], edi
mov dword [esi + 4], ebp
mov dword [esi + 8], edx
mov dword [esi + 0xc], eax
mov eax, dword [esp + 0x34]
test eax, eax
je 0x489c9c
push eax
call fcn.0049ba00
add esp, 4
jmp 0x489c9c
mov ecx, dword [esp + 0x1c]
push 0x44525641
push 0x12
push ecx
lea ecx, [esp + 0x4c]
call fcn.00441b80
xor eax, eax
mov byte [esp + 0x74], 2
mov dword [esp + 0x14], eax
cmp dword [esp + 0x44], eax
jbe 0x48a0c3
jmp 0x48a020
mov edx, dword [esp + 0x8c]
mov ecx, dword [esp + 0x40]
push edx
mov edx, dword [ecx + eax*4]
mov eax, dword [esp + 0x84]
push ebx
push edx
push eax
lea ecx, [esp + 0x30]
push ecx
call fcn.00489ba0
mov eax, dword [esp + 0x34]
add esp, 0x14
test eax, eax
je 0x48a0b0
mov edx, dword [esp + 0x24]
test edx, edx
je 0x48a0b0
mov esi, dword [esp + 0x28]
test esi, esi
je 0x48a0b0
cmp eax, edi
jge 0x48a066
test bl, bl
jns 0x48a0b0
test bl, bl
jns 0x48a096
or edi, eax
test edx, edx
jbe 0x48a08a
test ebp, ebp
jbe 0x48a078
mov eax, ebp
jmp 0x48a07b
or eax, 0xffffffff
cmp edx, eax
jae 0x48a083
mov ebp, edx
jmp 0x48a08a
test ebp, ebp
ja 0x48a08a
or ebp, 0xffffffff
test esi, esi
jbe 0x48a0b0
cmp esi, dword [esp + 0x54]
jbe 0x48a0b0
jmp 0x48a0ac
cmp eax, edi
mov ecx, dword [esp + 0x2c]
jg 0x48a0a4
cmp ecx, dword [esp + 0x58]
jae 0x48a0b0
mov edi, eax
mov ebp, edx
mov dword [esp + 0x58], ecx
mov dword [esp + 0x54], esi
mov eax, dword [esp + 0x14]
inc eax
mov dword [esp + 0x14], eax
cmp eax, dword [esp + 0x44]
jb 0x48a020
mov esi, dword [esp + 0x7c]
mov edx, dword [esp + 0x54]
mov eax, dword [esp + 0x58]
mov dword [esi], edi
mov dword [esi + 4], ebp
mov dword [esi + 8], edx
mov dword [esi + 0xc], eax
mov eax, dword [esp + 0x40]
test eax, eax
je 0x48a0eb
push eax
call fcn.0049ba00
add esp, 4
mov eax, dword [esp + 0x34]
test eax, eax
je 0x48a0fc
push eax
call fcn.0049ba00
add esp, 4
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx]
mov edx, dword [edx + 8]
lea eax, [esp + 0x80]
push eax
mov dword [esp + 0x78], 0xffffffff
mov dword [esp + 0x84], ecx
call edx
jmp 0x489cad