Function at 0x4a12a0
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 0x4a12c8
push 0x100b0384
lea ecx, [esp + 0x38]
call fcn.00498160
jmp 0x4a12d8
mov ecx, dword [eax + 4]
mov edx, dword [eax]
push ecx
push edx
lea ecx, [esp + 0x30]
call fcn.00498180
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.00458f10
add esp, 8
lea ecx, [esp + 0x10]
push ecx
lea edx, [ebp + 8]
push edx
lea ecx, [edi + 0x14]
call fcn.004679c0
test eax, eax
je 0x4a141a
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx]
mov edx, dword [eax + 0x34]
call edx
test eax, eax
je 0x4a134b
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 0x4a1d4c
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.004c87c0
mov edx, dword [esi]
push eax
mov ecx, edi
call edx
mov esi, eax
test esi, esi
je 0x4a13eb
cmp dword [0x100ccb64], 0
je 0x4a13d2
push 0x100b0e60
push esi
lea ecx, [esp + 0xa0]
call fcn.00455840
push eax
push 0x100bf754
push 0x100bf710
lea ecx, [esp + 0x90]
call fcn.00454470
mov ecx, eax
call fcn.004533c0
mov ecx, eax
call fcn.004533c0
mov ecx, eax
call fcn.00454530
mov ecx, eax
call fcn.004533c0
lea ecx, [esp + 0x80]
call fcn.00453280
lea ecx, [esp + 0x98]
call fcn.0043f040
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x14]
and esi, 0xefffffff
mov dword [eax], 0
mov dword [ecx], esi
jmp 0x4a132e
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 0x4a1d4c
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 0x4a142a
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea ecx, [esp + 0x50]
call fcn.004c66f0
push 0
push 0
push 0
lea eax, [esp + 0x5c]
push eax
push 0
push 0x40
push 0x100b0384
lea ecx, [esp + 0x50]
call fcn.00498160
mov ecx, eax
call fcn.004c87c0
mov esi, dword [ebp + 8]
push eax
push esi
lea ecx, [esp + 0xa0]
call fcn.00498110
mov ecx, eax
call fcn.004c87c0
push eax
mov ecx, edi
call fcn.0049f640
test eax, eax
jne 0x4a1532
cmp dword [edi + 0x6c], 1
jne 0x4a1517
push esi
call fcn.004c8b30
add esp, 4
test eax, eax
je 0x4a14ba
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0x14]
mov dword [ecx], 0
lea ecx, [esp + 0x50]
mov dword [edx], 0xc000017c
call fcn.004995f0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
cmp dword [0x100ccb64], 0
je 0x4a14f3
push 0x100bf6b8
push 0x100bf710
lea ecx, [esp + 0x88]
call fcn.00454470
mov ecx, eax
call fcn.004533c0
mov ecx, eax
call fcn.004533c0
lea ecx, [esp + 0x80]
call fcn.00453280
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x14]
mov dword [eax], 0
mov dword [ecx], 0xc0000229
lea ecx, [esp + 0x50]
call fcn.004995f0
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.004995f0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
lea ecx, [esp + 0x50]
call fcn.004c66e0
mov ebx, eax
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x54]
mov dword [esp + 0x24], ebx
call fcn.00498020
mov ecx, ebx
call fcn.004c89f0
test eax, eax
je 0x4a17b0
cmp dword [edi + 0x6c], 1
jne 0x4a1a18
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.004c87c0
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 0x4a1942
lea ecx, [esp + 0x28]
push 4
push ecx
call fcn.00458f10
lea edx, [esp + 0x34]
push 4
push edx
call fcn.00458f10
mov esi, dword [esp + 0x1c]
add esp, 0x10
cmp esi, ebx
mov dword [esp + 0x14], esi
je 0x4a15d9
mov eax, dword [esi]
mov ecx, dword [eax + 4]
push esi
call ecx
lea ecx, [esp + 0x34]
call fcn.004c89c0
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x34]
push edx
call fcn.004c8940
test eax, eax
je 0x4a1661
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.00499320
cmp esi, ebx
je 0x4a1627
mov edx, dword [esi]
mov eax, dword [edx + 8]
push esi
call eax
mov esi, dword [esp + 0x3c]
cmp esi, ebx
je 0x4a164b
mov ecx, dword [esi]
mov edx, dword [ecx + 4]
push esi
call edx
mov eax, dword [esp + 0x3c]
cmp eax, ebx
je 0x4a164b
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.004c8940
test eax, eax
jne 0x4a15f4
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.004c87c0
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.004c68b0
push 0
push 0
push 0
lea ecx, [esp + 0x5c]
push ecx
push 0
push 0x40
push 0x100b0384
lea ecx, [esp + 0xb4]
call fcn.00498160
mov ecx, eax
call fcn.004c87c0
mov ebx, dword [ebp + 8]
push eax
push ebx
lea ecx, [esp + 0xc8]
call fcn.00498110
mov ecx, eax
call fcn.004c87c0
push eax
mov ecx, edi
call fcn.0049f640
test eax, eax
je 0x4a1955
lea edx, [esp + 0x48]
push edx
lea ecx, [esp + 0x54]
call fcn.00498020
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 0x4a1738
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x48], 0
test bl, bl
jne 0x4a19ea
lea ecx, [esp + 0x18]
call fcn.004c68e0
mov eax, dword [esp + 0x24]
xor ebx, ebx
cmp eax, ebx
je 0x4a175f
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x24], ebx
cmp esi, ebx
je 0x4a176b
mov eax, dword [esi]
mov ecx, dword [eax + 8]
push esi
call ecx
mov eax, dword [esp + 0x2c]
cmp eax, ebx
je 0x4a177f
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 0x4a1793
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 0x4a1532
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0xc], ebx
jmp 0x4a1532
lea eax, [esp + 0x10]
push 4
push eax
call fcn.00458f10
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.004c87c0
mov edx, dword [esi]
push eax
mov ecx, ebx
call edx
test eax, eax
je 0x4a1b8a
mov esi, 1
cmp eax, esi
jne 0x4a1cad
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx]
mov edx, dword [eax + 0x78]
call edx
cmp dword [edi + 0x6c], esi
je 0x4a1811
cmp eax, 3
je 0x4a1811
cmp eax, esi
jne 0x4a1c01
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.004c87c0
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.004c68b0
push 0
push 0
push 0
lea edx, [esp + 0x5c]
push edx
push 0
push 0x40
push 0x100b0384
lea ecx, [esp + 0x9c]
call fcn.00498160
mov ecx, eax
call fcn.004c87c0
push eax
mov eax, dword [ebp + 8]
push eax
lea ecx, [esp + 0xc8]
call fcn.00498110
mov ecx, eax
call fcn.004c87c0
push eax
mov ecx, edi
call fcn.0049f640
test eax, eax
je 0x4a1c0b
lea ecx, [esp + 0x4c]
push ecx
lea ecx, [esp + 0x54]
call fcn.00498020
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 0x4a18e8
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x4c], esi
test bl, bl
jne 0x4a1c91
lea ecx, [esp + 0x1c]
call fcn.004c68e0
mov eax, dword [esp + 0x30]
cmp eax, esi
je 0x4a190d
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 0x4a1921
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 0x4a1532
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0xc], 0
jmp 0x4a1532
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x14]
mov dword [eax], ebx
mov dword [ecx], 0xc0000034
jmp 0x4a1d3a
push ebx
call fcn.004c8b30
add esp, 4
test eax, eax
je 0x4a199d
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 0x14]
mov dword [edx], 0
mov dword [eax], 0xc000017c
lea ecx, [esp + 0x18]
call fcn.004c68e0
lea ecx, [esp + 0x24]
call fcn.0048e940
lea ecx, [esp + 0x14]
call fcn.0048e940
lea ecx, [esp + 0x28]
call fcn.004995c0
jmp 0x4a1d3a
cmp dword [0x100ccb64], 0
je 0x4a19d6
push 0x100bf6b8
push 0x100bf710
lea ecx, [esp + 0x88]
call fcn.00454470
mov ecx, eax
call fcn.004533c0
mov ecx, eax
call fcn.004533c0
lea ecx, [esp + 0x80]
call fcn.00453280
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0x14]
mov dword [ecx], 0
mov dword [edx], 0xc0000229
jmp 0x4a1974
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.00499250
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x14]
mov dword [eax], 0
mov dword [ecx], 0
jmp 0x4a1974
mov ecx, dword [esp + 0xc]
mov edx, dword [ecx]
mov eax, dword [edx + 0x78]
call eax
test eax, eax
jne 0x4a1a35
mov ecx, dword [ebp + 0x10]
mov dword [ecx], 1
jmp 0x4a1d3a
cmp eax, 1
jne 0x4a1a51
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 0x14]
mov dword [edx], 0
mov dword [eax], 0xc0000034
jmp 0x4a1d3a
cmp eax, 2
je 0x4a1a27
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.004c87c0
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 0x4a1aa6
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0x14]
mov dword [ecx], 0
mov dword [edx], eax
jmp 0x4a1d3a
lea ecx, [esp + 0x28]
call fcn.004995a0
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x18]
call fcn.00463e90
lea ecx, [esp + 0x34]
call fcn.004c89c0
lea ecx, [esp + 0x34]
push ecx
mov ecx, ebx
call fcn.004c8940
test eax, eax
je 0x4a1b28
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.00499320
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x18]
call fcn.00463f90
lea ecx, [esp + 0x1c]
call fcn.0048e940
lea edx, [esp + 0x34]
push edx
mov ecx, ebx
call fcn.004c8940
test eax, eax
jne 0x4a1ad6
mov edi, dword [edi + 0xc]
mov ebx, dword [edi]
lea ecx, [esp + 0x40]
call fcn.004c87c0
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.00499250
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x14]
mov dword [eax], 0
mov dword [ecx], 0
lea ecx, [esp + 0x18]
jmp 0x4a1981
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x20]
call eax
test eax, eax
je 0x4a1bb0
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0x14]
mov dword [ecx], 0
mov dword [edx], 0xc0000034
jmp 0x4a1d31
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 0x4a1be3
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 0x4a1d31
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 0x4a1d31
mov eax, dword [ebp + 0x10]
mov dword [eax], esi
jmp 0x4a1d31
mov ecx, dword [ebp + 8]
push ecx
call fcn.004c8b30
add esp, 4
test eax, eax
je 0x4a1c44
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 0x14]
mov dword [edx], 0
mov dword [eax], 0xc000017c
lea ecx, [esp + 0x1c]
call fcn.004c68e0
lea ecx, [esp + 0x30]
call fcn.0048e940
jmp 0x4a1d31
cmp dword [0x100ccb64], 0
je 0x4a1c7d
push 0x100bf6b8
push 0x100bf710
lea ecx, [esp + 0x88]
call fcn.00454470
mov ecx, eax
call fcn.004533c0
mov ecx, eax
call fcn.004533c0
lea ecx, [esp + 0x80]
call fcn.00453280
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0x14]
mov dword [ecx], 0
mov dword [edx], 0xc0000229
jmp 0x4a1c2d
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 0x4a1c2d
cmp dword [0x100ccb64], 0
je 0x4a1d13
push 0x100b0e60
push eax
lea ecx, [esp + 0xa0]
call fcn.00455840
push eax
push 0x100bf6e0
push 0x100bf710
lea ecx, [esp + 0x90]
call fcn.00454470
mov ecx, eax
call fcn.004533c0
mov ecx, eax
call fcn.004533c0
mov ecx, eax
call fcn.00454530
mov ecx, eax
call fcn.004533c0
lea ecx, [esp + 0x80]
call fcn.00453280
lea ecx, [esp + 0x98]
call fcn.0043f040
cmp dword [edi + 0x6c], esi
jne 0x4a1d2c
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x14]
mov dword [eax], 0
mov dword [ecx], 0xc0000229
jmp 0x4a1d31
mov edx, dword [ebp + 0x10]
mov dword [edx], esi
lea ecx, [esp + 0x10]
call fcn.0048e940
lea ecx, [esp + 0xc]
call fcn.0048e940
lea ecx, [esp + 0x50]
call fcn.004995f0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10