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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xcc
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push edi
xor edi, edi
cmp dword [ebp + 0x18], 0xa
mov dword [esp + 0x10], edi
mov esi, ecx
mov dword [esp + 0x40], edi
jne 0x482aa2
lea ecx, [esp + 0x24]
call fcn.00498820
mov ecx, dword [ebx + 8]
shr ecx, 1
push ecx
lea eax, [ebx + 0xc]
push eax
lea ecx, [esp + 0x4c]
call fcn.00498630
cmp dword [ebx + 4], edi
je 0x4825c9
lea ecx, [esp + 0x30]
call fcn.00498820
mov eax, dword [ebx + 4]
lea edx, [esp + 0x30]
push edx
push eax
mov ecx, esi
call fcn.0046f450
lea ecx, [esp + 0x30]
push ecx
jmp 0x482623
push 0x5c
lea ecx, [esp + 0x48]
call fcn.00498740
test eax, eax
je 0x4825f3
lea ecx, [esp + 0x44]
call fcn.00498c20
mov edx, dword [eax + 4]
mov eax, dword [eax]
push edx
push eax
lea ecx, [esp + 0x2c]
call fcn.004988c0
jmp 0x482656
lea ecx, [esp + 0x30]
call fcn.00498820
mov edx, dword [ebp + 8]
lea ecx, [esp + 0x30]
push ecx
push edx
mov ecx, esi
call fcn.0046f450
lea ecx, [esp + 0x30]
call fcn.00498c20
push eax
call fcn.00487050
add esp, 4
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x28]
call fcn.00498920
push 0x100891f8
lea ecx, [esp + 0x28]
call fcn.004989e0
lea ecx, [esp + 0x44]
call fcn.00498c20
push eax
lea ecx, [esp + 0x28]
call fcn.00498970
lea ecx, [esp + 0x30]
call fcn.00498940
mov ecx, dword [ebp + 8]
lea edx, [esp + 0x38]
mov dword [esp + 0x38], ecx
lea edi, [esi + 0x58]
push edx
mov ecx, edi
call fcn.0049bfc0
test eax, eax
je 0x48290d
lea eax, [esp + 0x14]
push 4
push eax
call fcn.0045e3d0
add esp, 8
lea ecx, [esp + 0x14]
push ecx
lea edx, [ebp + 8]
push edx
mov ecx, edi
call fcn.0046bd90
test eax, eax
je 0x4828f9
lea eax, [esp + 0xc]
push 4
push eax
call fcn.0045e3d0
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
add esp, 8
lea edx, [esp + 0xc]
push edx
push 0x10094508
push eax
mov eax, dword [ecx]
call eax
test eax, eax
jne 0x4828e5
mov ecx, dword [esp + 0xc]
mov edx, dword [ecx]
mov edx, dword [edx + 0x44]
lea eax, [esp + 0x2c]
push eax
call edx
cmp dword [ebx + 4], 0
je 0x482772
lea eax, [esp + 0x1c]
push 4
push eax
call fcn.0045e3d0
add esp, 8
lea ecx, [esp + 0x1c]
push ecx
lea edx, [ebp + 8]
push edx
mov ecx, edi
call fcn.0046bd90
test eax, eax
je 0x482764
lea eax, [esp + 0x38]
push 4
push eax
call fcn.0045e3d0
mov eax, dword [esp + 0x24]
mov ecx, dword [eax]
add esp, 8
lea edx, [esp + 0x38]
push edx
push 0x10094508
push eax
mov eax, dword [ecx]
call eax
test eax, eax
jne 0x48275b
mov ecx, dword [esp + 0xc]
mov edx, dword [ecx]
mov edx, dword [edx + 0x44]
lea eax, [esp + 0x20]
push eax
call edx
mov ecx, dword [eax]
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
mov edi, dword [esp + 0x2c]
call edx
mov eax, dword [edi]
mov edx, dword [eax + 0xc]
mov ecx, edi
call edx
lea ecx, [esp + 0x20]
call fcn.004c4020
lea ecx, [esp + 0x38]
call fcn.004c4020
lea ecx, [esp + 0x1c]
call fcn.004c4020
jmp 0x4828d1
mov eax, dword [ebx + 8]
shr eax, 1
push eax
lea eax, [ebx + 0xc]
push eax
lea ecx, [esp + 0x38]
call fcn.00498630
push 0x5c
lea ecx, [esp + 0x34]
call fcn.00498740
test eax, eax
je 0x4828d1
lea ecx, [esp + 0x90]
call fcn.00498210
lea ecx, [esp + 0x90]
push ecx
push 0
push 0x40
lea ecx, [esp + 0x3c]
call fcn.00498c20
push eax
push 0
lea ecx, [esp + 0x84]
call fcn.00498600
mov ecx, eax
call fcn.00498c20
push eax
mov ecx, esi
call fcn.00472960
lea edx, [esp + 0x38]
push edx
lea ecx, [esp + 0x94]
call fcn.004af5c0
mov ecx, dword [esp + 0x2c]
mov edi, dword [eax]
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
call edx
mov edx, dword [edi]
mov edx, dword [edx + 0xc]
mov ecx, edi
mov dword [esp + 0x20], eax
call edx
mov ecx, dword [esp + 0x20]
cmp eax, ecx
lea ecx, [esp + 0x38]
sete byte [esp + 0x1b]
call fcn.004c4020
cmp byte [esp + 0x1b], 0
je 0x4828c5
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x94]
call fcn.00498200
mov ecx, eax
call fcn.00486760
mov ecx, dword [eax + 4]
mov edx, dword [eax]
push ecx
push edx
lea ecx, [esp + 0x60]
call fcn.00498670
mov eax, dword [esp + 0xc]
mov edi, dword [eax]
mov dword [esp + 0x20], eax
movzx eax, byte [ebx]
push eax
lea ecx, [esp + 0x5c]
add edi, 0x7c
call fcn.00498c20
mov ecx, dword [esp + 0x24]
mov edx, dword [edi]
push eax
call edx
mov edi, eax
cmp edi, 0x80004001
je 0x4828c5
lea ecx, [esp + 0x90]
call fcn.00469a70
lea ecx, [esp + 0x2c]
call fcn.004c4020
lea ecx, [esp + 0xc]
call fcn.004c4020
lea ecx, [esp + 0x14]
call fcn.004c4020
lea ecx, [esp + 0x24]
call fcn.00498940
test edi, edi
jne 0x4828b5
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov eax, edi
and eax, 0xefffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
lea ecx, [esp + 0x90]
call fcn.00469a70
mov eax, dword [esp + 0x2c]
xor edi, edi
cmp eax, edi
je 0x4828e7
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
jmp 0x4828e7
xor edi, edi
mov eax, dword [esp + 0xc]
cmp eax, edi
je 0x4828fb
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
jmp 0x4828fb
xor edi, edi
mov eax, dword [esp + 0x14]
cmp eax, edi
je 0x48290f
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
jmp 0x48290f
xor edi, edi
mov eax, dword [ebp + 8]
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esi + 0x58]
mov dword [esp + 0x24], eax
call fcn.0049bfc0
test eax, eax
jne 0x4829a4
lea ecx, [esp + 0x24]
mov dword [esp + 0x10], 1
call fcn.00498c20
push eax
lea edx, [esp + 0x68]
push edx
call fcn.00444990
mov eax, dword [eax]
add esp, 8
push 1
push eax
mov ecx, esi
call fcn.0047dd80
test eax, eax
jne 0x4829a4
lea ecx, [esp + 0x24]
mov dword [esp + 0x10], 7
call fcn.00498c20
push eax
lea eax, [esp + 0x50]
push eax
call fcn.00444990
mov eax, dword [eax]
push eax
lea ecx, [esp + 0x7c]
push ecx
call fcn.00467670
mov eax, dword [eax]
add esp, 0x10
push 1
push eax
mov ecx, esi
call fcn.0047dd80
test eax, eax
jne 0x4829a4
mov ecx, dword [esi]
push 1
call fcn.00449b00
test eax, eax
mov byte [esp + 0x1b], 0
je 0x4829a9
mov byte [esp + 0x1b], 1
test byte [esp + 0x10], 4
je 0x4829d2
mov eax, dword [esp + 0x70]
and dword [esp + 0x10], 0xfffffffb
cmp eax, edi
je 0x4829d2
push eax
call fcn.0045e5b0
add esp, 4
mov dword [esp + 0x70], edi
mov dword [esp + 0x74], edi
mov dword [esp + 0x78], edi
test byte [esp + 0x10], 2
je 0x4829fb
mov eax, dword [esp + 0x4c]
and dword [esp + 0x10], 0xfffffffd
cmp eax, edi
je 0x4829fb
push eax
call fcn.0045e5b0
add esp, 4
mov dword [esp + 0x4c], edi
mov dword [esp + 0x50], edi
mov dword [esp + 0x54], edi
test byte [esp + 0x10], 1
je 0x482a13
mov eax, dword [esp + 0x64]
cmp eax, edi
je 0x482a13
push eax
call fcn.0045e5b0
add esp, 4
cmp byte [esp + 0x1b], 0
lea ecx, [esp + 0x24]
je 0x482a9d
lea edx, [esp + 0x90]
push edx
push edi
push 0x40
call fcn.00498c20
push eax
push edi
lea ecx, [esp + 0x84]
call fcn.00498600
mov ecx, eax
call fcn.00498c20
push eax
mov ecx, esi
call fcn.00481290
neg eax
sbb eax, eax
add eax, 1
cmp byte [ebx], 0
jne 0x482a72
cmp eax, edi
je 0x482a72
lea ecx, [esp + 0x24]
call fcn.00498940
mov eax, 0xc0000035
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
lea ecx, [esp + 0x24]
call fcn.00498c20
push eax
mov eax, dword [ebp + 8]
push eax
mov ecx, esi
call fcn.00482130
lea ecx, [esp + 0x24]
mov esi, eax
call fcn.00498940
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
call fcn.00498940
mov eax, dword [ebp + 0x18]
add eax, 0xfffffffc
cmp eax, 0x1a
ja 0x4831c4
movzx ecx, byte [eax + 0x10043260]
jmp dword [ecx*4 + 0x10043244]
lea ecx, [esp + 0x38]
push 4
push ecx
call fcn.0045e3d0
add esp, 8
lea edx, [esp + 0x38]
push edx
lea eax, [ebp + 8]
push eax
lea ecx, [esi + 0x58]
call fcn.0046bd90
test eax, eax
je 0x4831f1
xor edi, edi
mov esi, 0xc0000003
jmp 0x4831fa
mov esi, dword [esp + 0xc]
mov edi, 1
mov eax, dword [esp + 0x38]
test eax, eax
je 0x48320a
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
test edi, edi
je 0x483236
mov eax, dword [ebp + 0x18]
mov edx, dword [ebp + 0x14]
mov ecx, dword [0x100a5870]
push eax
mov eax, dword [ebp + 0xc]
push edx
mov edx, dword [ebp + 8]
push ebx
add ecx, 0x24c
push eax
mov eax, dword [ecx]
push edx
mov edx, dword [eax + 0x24]
call edx
call eax
mov esi, eax
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14