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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword [ebp + 0xc]
sub esp, 0xb4
test eax, eax
push ebx
push esi
push edi
mov edi, ecx
jne 0x4872c8
push 0x100b0384
lea ecx, [esp + 0x38]
call fcn.0047e160
jmp 0x4872d8
mov ecx, dword [eax + 4]
mov edx, dword [eax]
push ecx
push edx
lea ecx, [esp + 0x30]
call fcn.0047e180
mov ecx, dword [eax]
mov dword [esp + 0x40], ecx
mov edx, dword [eax + 4]
lea eax, [esp + 0x10]
push 4
push eax
mov dword [esp + 0x4c], edx
call fcn.0043ef10
add esp, 8
lea ecx, [esp + 0x10]
push ecx
lea edx, [ebp + 8]
push edx
lea ecx, [edi + 0x14]
call fcn.0044d9c0
test eax, eax
je 0x48741a
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx]
mov edx, dword [eax + 0x34]
call edx
test eax, eax
je 0x48734b
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x14]
mov dword [eax], 0
mov dword [ecx], 0xc000017c
mov eax, dword [esp + 0x10]
test eax, eax
je 0x487d4c
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov eax, dword [esp + 0x10]
mov esi, dword [eax]
lea ecx, [esp + 0x40]
mov edi, eax
add esi, 0x54
call fcn.004ae7c0
mov edx, dword [esi]
push eax
mov ecx, edi
call edx
mov esi, eax
test esi, esi
je 0x4873eb
cmp dword [0x100ccb64], 0
je 0x4873d2
push 0x100b0e60
push esi
lea ecx, [esp + 0xa0]
call fcn.0043b840
push eax
push 0x100bf754
push 0x100bf710
lea ecx, [esp + 0x90]
call fcn.0043a470
mov ecx, eax
call fcn.004393c0
mov ecx, eax
call fcn.004393c0
mov ecx, eax
call fcn.0043a530
mov ecx, eax
call fcn.004393c0
lea ecx, [esp + 0x80]
call fcn.00439280
lea ecx, [esp + 0x98]
call fcn.00425040
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x14]
and esi, 0xefffffff
mov dword [eax], 0
mov dword [ecx], esi
jmp 0x48732e
mov ecx, dword [ebp + 0x10]
mov eax, dword [esp + 0x10]
test eax, eax
mov edx, dword [ebp + 0x14]
mov dword [ecx], 0
mov dword [edx], 0
je 0x487d4c
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov eax, dword [esp + 0x10]
test eax, eax
je 0x48742a
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea ecx, [esp + 0x50]
call fcn.004ac6f0
push 0
push 0
push 0
lea eax, [esp + 0x5c]
push eax
push 0
push 0x40
push 0x100b0384
lea ecx, [esp + 0x50]
call fcn.0047e160
mov ecx, eax
call fcn.004ae7c0
mov esi, dword [ebp + 8]
push eax
push esi
lea ecx, [esp + 0xa0]
call fcn.0047e110
mov ecx, eax
call fcn.004ae7c0
push eax
mov ecx, edi
call fcn.00485640
test eax, eax
jne 0x487532
cmp dword [edi + 0x6c], 1
jne 0x487517
push esi
call fcn.004aeb30
add esp, 4
test eax, eax
je 0x4874ba
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0x14]
mov dword [ecx], 0
lea ecx, [esp + 0x50]
mov dword [edx], 0xc000017c
call fcn.0047f5f0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
cmp dword [0x100ccb64], 0
je 0x4874f3
push 0x100bf6b8
push 0x100bf710
lea ecx, [esp + 0x88]
call fcn.0043a470
mov ecx, eax
call fcn.004393c0
mov ecx, eax
call fcn.004393c0
lea ecx, [esp + 0x80]
call fcn.00439280
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x14]
mov dword [eax], 0
mov dword [ecx], 0xc0000229
lea ecx, [esp + 0x50]
call fcn.0047f5f0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov edx, dword [ebp + 0x10]
lea ecx, [esp + 0x50]
mov dword [edx], 1
call fcn.0047f5f0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
lea ecx, [esp + 0x50]
call fcn.004ac6e0
mov ebx, eax
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x54]
mov dword [esp + 0x24], ebx
call fcn.0047e020
mov ecx, ebx
call fcn.004ae9f0
test eax, eax
je 0x4877b0
cmp dword [edi + 0x6c], 1
jne 0x487a18
mov esi, dword [0x100cca70]
lea ecx, [esp + 0x7c]
push ecx
push 4
lea edx, [esp + 0x80]
push edx
xor ebx, ebx
push ebx
lea ecx, [esp + 0x50]
add esi, 0x96c
call fcn.004ae7c0
mov edx, dword [esi]
push eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [edx + 0x24]
mov ecx, esi
call eax
call eax
cmp eax, 0xc0000034
je 0x487942
lea ecx, [esp + 0x28]
push 4
push ecx
call fcn.0043ef10
lea edx, [esp + 0x34]
push 4
push edx
call fcn.0043ef10
mov esi, dword [esp + 0x1c]
add esp, 0x10
cmp esi, ebx
mov dword [esp + 0x14], esi
je 0x4875d9
mov eax, dword [esi]
mov ecx, dword [eax + 4]
push esi
call ecx
lea ecx, [esp + 0x34]
call fcn.004ae9c0
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x34]
push edx
call fcn.004ae940
test eax, eax
je 0x487661
mov ecx, dword [edi + 0xc]
mov eax, dword [ecx]
mov eax, dword [eax + 0x90]
lea edx, [esp + 0x34]
push edx
push esi
lea edx, [esp + 0x44]
push edx
call eax
mov ecx, dword [esp + 0x3c]
push ecx
push esi
lea ecx, [esp + 0x30]
call fcn.0047f320
cmp esi, ebx
je 0x487627
mov edx, dword [esi]
mov eax, dword [edx + 8]
push esi
call eax
mov esi, dword [esp + 0x3c]
cmp esi, ebx
je 0x48764b
mov ecx, dword [esi]
mov edx, dword [ecx + 4]
push esi
call edx
mov eax, dword [esp + 0x3c]
cmp eax, ebx
je 0x48764b
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x3c], ebx
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x34]
push eax
call fcn.004ae940
test eax, eax
jne 0x4875f4
mov dword [esp + 0x14], esi
mov eax, dword [edi + 0xc]
mov ebx, dword [eax]
lea ecx, [esp + 0x40]
mov dword [esp + 0x20], eax
call fcn.004ae7c0
mov edx, dword [ebx + 0x94]
push eax
push esi
lea ecx, [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0x2c]
call edx
mov ecx, dword [esp + 0x24]
mov eax, dword [ecx]
mov edx, dword [eax + 0x1c]
push 1
call edx
mov eax, dword [edi + 0xc]
push eax
lea ecx, [esp + 0x1c]
call fcn.004ac8b0
push 0
push 0
push 0
lea ecx, [esp + 0x5c]
push ecx
push 0
push 0x40
push 0x100b0384
lea ecx, [esp + 0xb4]
call fcn.0047e160
mov ecx, eax
call fcn.004ae7c0
mov ebx, dword [ebp + 8]
push eax
push ebx
lea ecx, [esp + 0xc8]
call fcn.0047e110
mov ecx, eax
call fcn.004ae7c0
push eax
mov ecx, edi
call fcn.00485640
test eax, eax
je 0x487955
lea edx, [esp + 0x48]
push edx
lea ecx, [esp + 0x54]
call fcn.0047e020
mov ecx, dword [esp + 0xc]
mov ebx, dword [eax]
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
call edx
mov edx, dword [ebx]
mov edx, dword [edx + 0xc]
mov ecx, ebx
mov dword [esp + 0x20], eax
call edx
mov ecx, dword [esp + 0x20]
cmp eax, ecx
mov eax, dword [esp + 0x48]
sete bl
test eax, eax
je 0x487738
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x48], 0
test bl, bl
jne 0x4879ea
lea ecx, [esp + 0x18]
call fcn.004ac8e0
mov eax, dword [esp + 0x24]
xor ebx, ebx
cmp eax, ebx
je 0x48775f
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x24], ebx
cmp esi, ebx
je 0x48776b
mov eax, dword [esi]
mov ecx, dword [eax + 8]
push esi
call ecx
mov eax, dword [esp + 0x2c]
cmp eax, ebx
je 0x48777f
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov dword [esp + 0x2c], ebx
mov eax, dword [esp + 0x28]
cmp eax, ebx
je 0x487793
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x28], ebx
mov eax, dword [esp + 0xc]
cmp eax, ebx
je 0x487532
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0xc], ebx
jmp 0x487532
lea eax, [esp + 0x10]
push 4
push eax
call fcn.0043ef10
mov eax, dword [esp + 0x14]
mov esi, dword [eax]
add esp, 8
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x44]
mov ebx, eax
add esi, 0x70
call fcn.004ae7c0
mov edx, dword [esi]
push eax
mov ecx, ebx
call edx
test eax, eax
je 0x487b8a
mov esi, 1
cmp eax, esi
jne 0x487cad
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx]
mov edx, dword [eax + 0x78]
call edx
cmp dword [edi + 0x6c], esi
je 0x487811
cmp eax, 3
je 0x487811
cmp eax, esi
jne 0x487c01
mov ebx, dword [edi + 0xc]
mov eax, dword [esp + 0xc]
mov esi, dword [ebx]
lea ecx, [esp + 0x40]
mov dword [esp + 0x20], eax
add esi, 0x94
call fcn.004ae7c0
mov ecx, dword [esp + 0x20]
push eax
mov eax, dword [esi]
push ecx
lea edx, [esp + 0x38]
push edx
mov ecx, ebx
call eax
mov ecx, dword [esp + 0x30]
mov edx, dword [ecx]
mov eax, dword [edx + 0x1c]
push 1
call eax
mov ecx, dword [edi + 0xc]
push ecx
lea ecx, [esp + 0x20]
call fcn.004ac8b0
push 0
push 0
push 0
lea edx, [esp + 0x5c]
push edx
push 0
push 0x40
push 0x100b0384
lea ecx, [esp + 0x9c]
call fcn.0047e160
mov ecx, eax
call fcn.004ae7c0
push eax
mov eax, dword [ebp + 8]
push eax
lea ecx, [esp + 0xc8]
call fcn.0047e110
mov ecx, eax
call fcn.004ae7c0
push eax
mov ecx, edi
call fcn.00485640
test eax, eax
je 0x487c0b
lea ecx, [esp + 0x4c]
push ecx
lea ecx, [esp + 0x54]
call fcn.0047e020
mov ecx, dword [esp + 0xc]
mov edx, dword [ecx]
mov esi, dword [eax]
mov eax, dword [edx + 0xc]
call eax
mov edx, dword [esi]
mov ebx, eax
mov eax, dword [edx + 0xc]
mov ecx, esi
call eax
cmp eax, ebx
mov eax, dword [esp + 0x4c]
sete bl
xor esi, esi
cmp eax, esi
je 0x4878e8
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x4c], esi
test bl, bl
jne 0x487c91
lea ecx, [esp + 0x1c]
call fcn.004ac8e0
mov eax, dword [esp + 0x30]
cmp eax, esi
je 0x48790d
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x30], esi
mov eax, dword [esp + 0x10]
cmp eax, esi
je 0x487921
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x10], esi
mov eax, dword [esp + 0xc]
cmp eax, esi
je 0x487532
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0xc], 0
jmp 0x487532
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x14]
mov dword [eax], ebx
mov dword [ecx], 0xc0000034
jmp 0x487d3a
push ebx
call fcn.004aeb30
add esp, 4
test eax, eax
je 0x48799d
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 0x14]
mov dword [edx], 0
mov dword [eax], 0xc000017c
lea ecx, [esp + 0x18]
call fcn.004ac8e0
lea ecx, [esp + 0x24]
call fcn.00474940
lea ecx, [esp + 0x14]
call fcn.00474940
lea ecx, [esp + 0x28]
call fcn.0047f5c0
jmp 0x487d3a
cmp dword [0x100ccb64], 0
je 0x4879d6
push 0x100bf6b8
push 0x100bf710
lea ecx, [esp + 0x88]
call fcn.0043a470
mov ecx, eax
call fcn.004393c0
mov ecx, eax
call fcn.004393c0
lea ecx, [esp + 0x80]
call fcn.00439280
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0x14]
mov dword [ecx], 0
mov dword [edx], 0xc0000229
jmp 0x487974
mov ecx, dword [esp + 0x24]
mov eax, dword [esi]
mov edx, dword [eax + 0x54]
push ecx
mov ecx, esi
call edx
lea ecx, [esp + 0x28]
call fcn.0047f250
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x14]
mov dword [eax], 0
mov dword [ecx], 0
jmp 0x487974
mov ecx, dword [esp + 0xc]
mov edx, dword [ecx]
mov eax, dword [edx + 0x78]
call eax
test eax, eax
jne 0x487a35
mov ecx, dword [ebp + 0x10]
mov dword [ecx], 1
jmp 0x487d3a
cmp eax, 1
jne 0x487a51
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 0x14]
mov dword [edx], 0
mov dword [eax], 0xc0000034
jmp 0x487d3a
cmp eax, 2
je 0x487a27
mov esi, dword [0x100cca70]
lea edx, [esp + 0x78]
push edx
push 4
lea eax, [esp + 0x84]
push eax
push 0
lea ecx, [esp + 0x50]
add esi, 0x96c
call fcn.004ae7c0
mov ecx, dword [ebp + 8]
mov edx, dword [esi]
push eax
mov eax, dword [edx + 0x24]
push ecx
mov ecx, esi
call eax
call eax
cmp eax, 0xc0000034
jne 0x487aa6
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0x14]
mov dword [ecx], 0
mov dword [edx], eax
jmp 0x487d3a
lea ecx, [esp + 0x28]
call fcn.0047f5a0
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x18]
call fcn.00449e90
lea ecx, [esp + 0x34]
call fcn.004ae9c0
lea ecx, [esp + 0x34]
push ecx
mov ecx, ebx
call fcn.004ae940
test eax, eax
je 0x487b28
mov ecx, dword [edi + 0xc]
mov esi, dword [esp + 0x14]
mov edx, dword [ecx]
mov edx, dword [edx + 0x90]
lea eax, [esp + 0x34]
push eax
push esi
lea eax, [esp + 0x24]
push eax
call edx
mov eax, dword [esp + 0x1c]
push eax
push esi
lea ecx, [esp + 0x30]
call fcn.0047f320
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x18]
call fcn.00449f90
lea ecx, [esp + 0x1c]
call fcn.00474940
lea edx, [esp + 0x34]
push edx
mov ecx, ebx
call fcn.004ae940
test eax, eax
jne 0x487ad6
mov edi, dword [edi + 0xc]
mov ebx, dword [edi]
lea ecx, [esp + 0x40]
call fcn.004ae7c0
mov esi, dword [esp + 0x14]
mov edx, dword [ebx + 0x94]
push eax
push esi
lea eax, [esp + 0x20]
push eax
mov ecx, edi
call edx
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx]
mov edx, dword [eax + 0x1c]
push 1
call edx
mov ecx, dword [esp + 0x18]
mov eax, dword [esi]
mov edx, dword [eax + 0x54]
push ecx
mov ecx, esi
call edx
lea ecx, [esp + 0x28]
call fcn.0047f250
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x14]
mov dword [eax], 0
mov dword [ecx], 0
lea ecx, [esp + 0x18]
jmp 0x487981
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x20]
call eax
test eax, eax
je 0x487bb0
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0x14]
mov dword [ecx], 0
mov dword [edx], 0xc0000034
jmp 0x487d31
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx]
mov edx, dword [eax + 0x18]
call edx
test eax, eax
mov ecx, dword [esp + 0x10]
push 1
je 0x487be3
mov eax, dword [ecx]
mov edx, dword [eax + 0x1c]
call edx
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x14]
mov dword [eax], 0
mov dword [ecx], 0
jmp 0x487d31
mov edx, dword [ecx]
mov eax, dword [edx + 0x1c]
call eax
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0x14]
mov dword [ecx], 0
mov dword [edx], 0
jmp 0x487d31
mov eax, dword [ebp + 0x10]
mov dword [eax], esi
jmp 0x487d31
mov ecx, dword [ebp + 8]
push ecx
call fcn.004aeb30
add esp, 4
test eax, eax
je 0x487c44
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 0x14]
mov dword [edx], 0
mov dword [eax], 0xc000017c
lea ecx, [esp + 0x1c]
call fcn.004ac8e0
lea ecx, [esp + 0x30]
call fcn.00474940
jmp 0x487d31
cmp dword [0x100ccb64], 0
je 0x487c7d
push 0x100bf6b8
push 0x100bf710
lea ecx, [esp + 0x88]
call fcn.0043a470
mov ecx, eax
call fcn.004393c0
mov ecx, eax
call fcn.004393c0
lea ecx, [esp + 0x80]
call fcn.00439280
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0x14]
mov dword [ecx], 0
mov dword [edx], 0xc0000229
jmp 0x487c2d
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx]
mov edx, dword [esp + 0x30]
mov eax, dword [eax + 0x54]
push edx
call eax
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0x14]
mov dword [ecx], esi
mov dword [edx], esi
jmp 0x487c2d
cmp dword [0x100ccb64], 0
je 0x487d13
push 0x100b0e60
push eax
lea ecx, [esp + 0xa0]
call fcn.0043b840
push eax
push 0x100bf6e0
push 0x100bf710
lea ecx, [esp + 0x90]
call fcn.0043a470
mov ecx, eax
call fcn.004393c0
mov ecx, eax
call fcn.004393c0
mov ecx, eax
call fcn.0043a530
mov ecx, eax
call fcn.004393c0
lea ecx, [esp + 0x80]
call fcn.00439280
lea ecx, [esp + 0x98]
call fcn.00425040
cmp dword [edi + 0x6c], esi
jne 0x487d2c
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x14]
mov dword [eax], 0
mov dword [ecx], 0xc0000229
jmp 0x487d31
mov edx, dword [ebp + 0x10]
mov dword [edx], esi
lea ecx, [esp + 0x10]
call fcn.00474940
lea ecx, [esp + 0xc]
call fcn.00474940
lea ecx, [esp + 0x50]
call fcn.0047f5f0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10