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

Disassembly:
sub esp, 0x308
mov eax, dword [0x1008e168]
xor eax, esp
mov dword [esp + 0x304], eax
push ebx
push ebp
mov ebp, dword [esp + 0x318]
lea eax, [esp + 0x84]
push esi
push edi
mov edi, dword [esp + 0x31c]
push eax
push ebp
push edi
mov dword [esp + 0x20], 0xffffffff
mov dword [esp + 0x24], 0xffffffff
mov dword [esp + 0x28], 0xffffffff
call fcn.1004f5a0
push 0x80400000
push 0x10002c88
lea eax, [esp + 0x20]
push eax
mov eax, dword [0x10092868]
push ebp
push edi
mov eax, dword [eax + 0x60]
call eax
mov esi, eax
cmp esi, 0xfffffae7
je 0x1004d068
test esi, esi
js 0x1004d070
push 0x80400000
push 0x10002bd8
lea eax, [esp + 0x24]
push eax
mov eax, dword [0x10092868]
push ebp
push edi
mov eax, dword [eax + 0x60]
call eax
mov esi, eax
test esi, esi
js 0x1004d046
push 0
push 0x18
lea eax, [esp + 0x7c]
push eax
mov eax, dword [0x10092868]
push 0x1000379c
push dword [esp + 0x2c]
mov eax, dword [eax + 0xbc]
push edi
call eax
mov esi, eax
test esi, esi
js 0x1004d070
mov ebx, dword [esp + 0x78]
lea eax, [esp + 0x74]
push 0
push 0x18
push eax
mov eax, dword [0x10092868]
push 0x100037d8
push dword [esp + 0x2c]
mov dword [esp + 0x24], ebx
mov eax, dword [eax + 0xbc]
push edi
call eax
mov esi, eax
test esi, esi
js 0x1004d070
mov eax, dword [esp + 0x78]
push 0
mov dword [esp + 0x44], eax
mov eax, dword [0x10092868]
push Ordinal_4
push dword [esp + 0x24]
mov eax, dword [eax + 0x84]
push edi
call eax
mov esi, eax
test esi, esi
js 0x1004d016
lea ebx, [ebx]
push 0
push 0
lea eax, [esp + 0x28]
push eax
push 0x82
lea eax, [esp + 0x198]
push eax
mov eax, dword [0x10092868]
push ebx
push dword [esp + 0x34]
mov eax, dword [eax + 0x88]
push edi
call eax
mov esi, eax
test esi, esi
js 0x1004d070
mov eax, dword [esp + 0x20]
and eax, 0xfffffffe
cmp eax, 0x82
jae 0x1004d0cc
xor ecx, ecx
mov word [esp + eax + 0x188], cx
lea eax, [esp + 0x188]
push 0x80400002
push eax
lea eax, [esp + 0x1c]
push eax
mov eax, dword [0x10092868]
push ebp
push edi
mov eax, dword [eax + 0x60]
call eax
mov esi, eax
cmp esi, 0xfffffae7
jne 0x1004c6e4
mov dword [esp + 0x14], 0xffffffff
jmp 0x1004cff6
mov dword [esp + 0x24], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x30], 1
mov dword [esp + 0xd0], 0xffffffff
test esi, esi
js 0x1004d070
lea eax, [esp + 0x34]
push eax
mov eax, dword [0x10092868]
push dword [esp + 0x20]
mov eax, dword [eax + 0x1b4]
call eax
mov eax, dword [esp + 0x34]
or eax, 0x10
push eax
mov eax, dword [0x10092868]
push dword [esp + 0x20]
mov eax, dword [eax + 0x1b8]
call eax
push 0
push 0
lea eax, [esp + 0x28]
push eax
push 0x10
lea eax, [esp + 0xcc]
push eax
push dword [esp + 0x54]
mov eax, dword [0x10092868]
push dword [esp + 0x34]
push edi
mov eax, dword [eax + 0x88]
call eax
mov esi, eax
test esi, esi
js 0x1004cfac
push 0
push 0x18
lea eax, [esp + 0x7c]
push eax
mov eax, dword [0x10092868]
push 0x10002e38
push dword [esp + 0x24]
mov eax, dword [eax + 0xbc]
push edi
call eax
mov esi, eax
test esi, esi
js 0x1004d070
mov eax, dword [0x10092868]
mov ebx, dword [esp + 0x78]
push 0
push Ordinal_4
push dword [esp + 0x1c]
mov dword [esp + 0x50], 0
mov eax, dword [eax + 0x84]
push edi
call eax
mov esi, eax
test esi, esi
js 0x1004c85a
mov eax, dword [0x10092868]
push 2
push dword [esp + 0x18]
mov eax, dword [eax + 0x90]
push edi
call eax
mov esi, eax
test esi, esi
js 0x1004d070
push 0
push 0
push 4
lea eax, [esp + 0x50]
push eax
mov eax, dword [0x10092868]
push ebx
push dword [esp + 0x28]
mov eax, dword [eax + 0x8c]
push edi
call eax
mov esi, eax
test esi, esi
js 0x1004d070
mov eax, dword [0x10092868]
push 0
push 0
push 0
push dword [esp + 0x20]
mov eax, dword [eax + 0x94]
push edi
call eax
mov esi, eax
test esi, esi
js 0x1004d070
mov eax, dword [0x10092868]
push 0
push 1
push dword [esp + 0x1c]
mov eax, dword [eax + 0x84]
push edi
call eax
mov esi, eax
test esi, esi
jns 0x1004c7d2
cmp esi, 0xfffff9bd
je 0x1004c86a
test esi, esi
js 0x1004d070
mov eax, dword [0x10092868]
push dword [esp + 0x34]
push dword [esp + 0x18]
mov eax, dword [eax + 0x1b8]
call eax
lea eax, [esp + 0x28]
push eax
mov eax, dword [0x10092868]
push dword [esp + 0x18]
mov eax, dword [eax + 0x1b4]
call eax
mov eax, dword [esp + 0x28]
or eax, 0x10
push eax
mov eax, dword [0x10092868]
push dword [esp + 0x18]
mov eax, dword [eax + 0x1b8]
call eax
lea eax, [esp + 0x20]
push eax
push 0x80
lea eax, [esp + 0x214]
push eax
lea eax, [esp + 0xc8]
push eax
push ebp
push edi
call fcn.1003aff0
mov esi, eax
test esi, esi
js 0x1004d070
mov eax, dword [esp + 0x20]
xor ecx, ecx
push ecx
push ecx
mov word [esp + eax + 0x214], cx
lea eax, [esp + 0x74]
push eax
lea eax, [esp + 0x2c]
push eax
push 0x82
lea eax, [esp + 0x2a4]
push eax
push 0x10002980
push ecx
lea eax, [esp + 0x22c]
push eax
mov eax, dword [0x10092868]
push 0x10001078
push ebp
push edi
mov eax, dword [eax + 0x140]
call eax
mov esi, eax
test esi, esi
js 0x1004d070
mov eax, dword [esp + 0x20]
and eax, 0xfffffffe
cmp eax, 0x82
jae 0x1004d0cc
push 1
xor ecx, ecx
mov word [esp + eax + 0x294], cx
lea eax, [esp + 0xd0]
push 0x38
push eax
mov eax, dword [0x10092868]
push ecx
push dword [esp + 0x24]
mov eax, dword [eax + 0xbc]
push edi
call eax
mov esi, eax
test esi, esi
js 0x1004d070
mov eax, dword [0x10092868]
push 0
push Ordinal_4
push dword [esp + 0xd8]
mov eax, dword [eax + 0x84]
push edi
call eax
test eax, eax
js 0x1004ca93
push 0
push 0
lea eax, [esp + 0x28]
push eax
push 4
lea eax, [esp + 0x3c]
push eax
push dword [esp + 0x104]
mov eax, dword [0x10092868]
push dword [esp + 0xe8]
push edi
mov eax, dword [eax + 0x88]
call eax
mov esi, eax
cmp esi, 0x3ec
jne 0x1004c9d5
mov dword [esp + 0x2c], 0
jmp 0x1004c9dd
test esi, esi
js 0x1004d070
push 0
push 0
lea eax, [esp + 0x28]
push eax
push 0x81
lea eax, [esp + 0x114]
push eax
push dword [esp + 0xf0]
mov eax, dword [0x10092868]
push dword [esp + 0xe8]
push edi
mov eax, dword [eax + 0x88]
call eax
mov esi, eax
test esi, esi
js 0x1004d070
mov eax, dword [esp + 0x20]
xor ecx, ecx
test dword [esp + 0x2c], 0x2000
mov word [esp + eax + 0x104], cx
jne 0x1004ca4a
lea eax, [esp + 0x290]
push eax
lea eax, [esp + 0x108]
push eax
call fcn.1001f560
test eax, eax
jne 0x1004ca72
push 4
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0x10c]
push eax
mov eax, dword [0x10092868]
push dword [esp + 0x20]
push edi
mov eax, dword [eax + 0x44]
call eax
mov esi, eax
test esi, esi
js 0x1004d070
mov eax, dword [0x10092868]
push 0
push 1
push dword [esp + 0xd8]
mov eax, dword [eax + 0x84]
push edi
call eax
test eax, eax
jns 0x1004c995
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x50]
push eax
push 0xffffb126
push edi
call fcn.1003bb40
mov esi, eax
test esi, esi
js 0x1004d070
push 0
push 0x18
lea eax, [esp + 0x7c]
push eax
mov eax, dword [0x10092868]
push 0x10002e68
push dword [esp + 0x24]
mov eax, dword [eax + 0xbc]
push edi
call eax
mov esi, eax
test esi, esi
js 0x1004cfa8
mov eax, dword [esp + 0x78]
push 0
mov dword [esp + 0x58], eax
lea eax, [esp + 0x78]
push 0x18
push eax
mov eax, dword [0x10092868]
push 0x10003104
push dword [esp + 0x24]
mov eax, dword [eax + 0xbc]
push edi
call eax
mov esi, eax
test esi, esi
js 0x1004cfa8
mov eax, dword [esp + 0x78]
push 0
mov dword [esp + 0x6c], eax
lea eax, [esp + 0x78]
push 0x18
push eax
mov eax, dword [0x10092868]
push 0x10002e68
push dword [esp + 0x28]
mov eax, dword [eax + 0xbc]
push edi
call eax
mov esi, eax
test esi, esi
js 0x1004cfa8
mov eax, dword [esp + 0x78]
push 0
mov dword [esp + 0x68], eax
lea eax, [esp + 0x78]
push 0x18
push eax
mov eax, dword [0x10092868]
push 0x10002fac
push dword [esp + 0x28]
mov eax, dword [eax + 0xbc]
push edi
call eax
mov esi, eax
test esi, esi
js 0x1004cfa8
mov eax, dword [esp + 0x78]
push 0
mov dword [esp + 0x50], eax
lea eax, [esp + 0x78]
push 0x18
push eax
mov eax, dword [0x10092868]
push 0x10002fcc
push dword [esp + 0x28]
mov eax, dword [eax + 0xbc]
push edi
call eax
mov esi, eax
test esi, esi
js 0x1004cfa8
mov eax, dword [esp + 0x78]
push 0
mov dword [esp + 0x60], eax
lea eax, [esp + 0x78]
push 0x18
push eax
mov eax, dword [0x10092868]
push 0x10002fe8
push dword [esp + 0x28]
mov eax, dword [eax + 0xbc]
push edi
call eax
mov esi, eax
test esi, esi
js 0x1004cfa8
mov eax, dword [esp + 0x78]
push 0
mov dword [esp + 0x40], eax
lea eax, [esp + 0x78]
push 0x18
push eax
mov eax, dword [0x10092868]
push 0x10003018
push dword [esp + 0x28]
mov eax, dword [eax + 0xbc]
push edi
call eax
mov esi, eax
test esi, esi
js 0x1004cfa8
mov eax, dword [esp + 0x78]
push 0
mov dword [esp + 0x54], eax
lea eax, [esp + 0x78]
push 0x18
push eax
mov eax, dword [0x10092868]
push 0x10002f40
push dword [esp + 0x28]
mov eax, dword [eax + 0xbc]
push edi
call eax
mov esi, eax
test esi, esi
js 0x1004cfa8
mov eax, dword [esp + 0x78]
push 0
mov dword [esp + 0x5c], eax
lea eax, [esp + 0x78]
push 0x18
push eax
mov eax, dword [0x10092868]
push 0x1000309c
push dword [esp + 0x28]
mov eax, dword [eax + 0xbc]
push edi
call eax
mov esi, eax
test esi, esi
js 0x1004cfa8
mov eax, dword [esp + 0x78]
push 0
mov dword [esp + 0x64], eax
lea eax, [esp + 0x78]
push 0x18
push eax
mov eax, dword [0x10092868]
push 0x100030bc
push dword [esp + 0x28]
mov eax, dword [eax + 0xbc]
push edi
call eax
mov esi, eax
test esi, esi
js 0x1004cfa8
mov ebp, dword [esp + 0x78]
lea eax, [esp + 0x74]
push 0
push 0x18
push eax
mov eax, dword [0x10092868]
push 0x1000305c
push dword [esp + 0x28]
mov eax, dword [eax + 0xbc]
push edi
call eax
mov esi, eax
test esi, esi
js 0x1004cfa1
mov eax, dword [0x10092868]
mov ebx, dword [esp + 0x78]
push 0
push Ordinal_4
push dword [esp + 0x1c]
mov eax, dword [eax + 0x84]
push edi
call eax
mov esi, eax
test esi, esi
js 0x1004cf96
jmp 0x1004cd00
mov eax, dword [0x10092868]
push 0
push dword [esp + 0x1c]
mov eax, dword [eax + 0x90]
push edi
call eax
mov esi, eax
test esi, esi
js 0x1004cfa1
push 0
push 1
lea eax, [esp + 0x28]
push eax
push 0x10
lea eax, [esp + 0xac]
push eax
push dword [esp + 0x78]
mov eax, dword [0x10092868]
push dword [esp + 0x30]
push edi
mov eax, dword [eax + 0x88]
call eax
mov esi, eax
test esi, esi
js 0x1004cfa1
push 0
push 0
push 0x10
lea eax, [esp + 0xa8]
push eax
push dword [esp + 0x5c]
mov eax, dword [0x10092868]
push dword [esp + 0x2c]
push edi
mov eax, dword [eax + 0x8c]
call eax
mov esi, eax
test esi, esi
js 0x1004cfa1
push 0
push 0
push 0x10
lea eax, [esp + 0xc8]
push eax
push dword [esp + 0x6c]
mov eax, dword [0x10092868]
push dword [esp + 0x2c]
push edi
mov eax, dword [eax + 0x8c]
call eax
mov esi, eax
test esi, esi
js 0x1004cfa1
push 0
push 0
lea eax, [esp + 0x28]
push eax
push 0x10
lea eax, [esp + 0xbc]
push eax
push dword [esp + 0x68]
mov eax, dword [0x10092868]
push dword [esp + 0x2c]
push edi
mov eax, dword [eax + 0x88]
call eax
mov esi, eax
test esi, esi
js 0x1004cfa1
push 0
push 0
push 0x10
lea eax, [esp + 0xb8]
push eax
push dword [esp + 0x4c]
mov eax, dword [0x10092868]
push dword [esp + 0x2c]
push edi
mov eax, dword [eax + 0x8c]
call eax
mov esi, eax
test esi, esi
js 0x1004cfa1
push 0
push 0
push 0x10
lea eax, [esp + 0xb8]
push eax
mov eax, dword [0x10092868]
push ebx
push dword [esp + 0x2c]
mov eax, dword [eax + 0x8c]
push edi
call eax
mov esi, eax
test esi, esi
js 0x1004cfa1
push 0
push 0
push 4
lea eax, [esp + 0x54]
push eax
push dword [esp + 0x60]
mov eax, dword [0x10092868]
push dword [esp + 0x2c]
push edi
mov eax, dword [eax + 0x8c]
call eax
mov esi, eax
test esi, esi
js 0x1004cfa1
mov eax, dword [esp + 0x38]
push 0
push 0
add eax, eax
push eax
push dword [esp + 0x30]
mov eax, dword [0x10092868]
push dword [esp + 0x68]
push dword [esp + 0x2c]
mov eax, dword [eax + 0x8c]
push edi
call eax
mov esi, eax
test esi, esi
js 0x1004cfa1
push 0
push 0
push 0x10
lea eax, [esp + 0x98]
push eax
push dword [esp + 0x70]
mov eax, dword [0x10092868]
push dword [esp + 0x2c]
push edi
mov eax, dword [eax + 0x8c]
call eax
mov esi, eax
test esi, esi
js 0x1004cfa1
push 0
push 0
push 0x10
lea eax, [esp + 0x98]
push eax
mov eax, dword [0x10092868]
push ebp
push dword [esp + 0x2c]
mov eax, dword [eax + 0x8c]
push edi
call eax
mov esi, eax
test esi, esi
js 0x1004cfa1
lea eax, [esp + 0x20]
push eax
push 4
lea eax, [esp + 0x78]
push eax
mov eax, dword [0x10092868]
push dword [esp + 0x24]
push edi
mov eax, dword [eax + 0x94]
call eax
mov esi, eax
test esi, esi
js 0x1004cfa1
mov eax, dword [0x10092868]
push 2
push dword [esp + 0x18]
mov eax, dword [eax + 0x90]
push edi
call eax
mov esi, eax
test esi, esi
js 0x1004cfa1
push 0
push 0
push 0x10
lea eax, [esp + 0xa8]
push eax
push dword [esp + 0x78]
mov eax, dword [0x10092868]
push dword [esp + 0x28]
push edi
mov eax, dword [eax + 0x8c]
call eax
mov esi, eax
test esi, esi
js 0x1004cfa1
mov eax, dword [0x10092868]
push 0
push 0
push 0
push dword [esp + 0x20]
mov eax, dword [eax + 0x94]
push edi
call eax
mov esi, eax
test esi, esi
js 0x1004cfa1
mov eax, dword [0x10092868]
push 0
push 1
push dword [esp + 0x1c]
mov eax, dword [eax + 0x84]
push edi
call eax
mov esi, eax
test esi, esi
jns 0x1004cd00
xor eax, eax
cmp esi, 0xfffff9bd
cmove esi, eax
mov ebp, dword [esp + 0x320]
mov ebx, dword [esp + 0x10]
mov eax, dword [esp + 0x24]
test eax, eax
je 0x1004cfc2
push eax
mov eax, dword [0x10092868]
mov eax, dword [eax + 0x208]
call eax
mov eax, dword [0x10092868]
push dword [esp + 0x28]
push dword [esp + 0x18]
mov eax, dword [eax + 0x1b8]
call eax
mov eax, dword [0x10092868]
push dword [esp + 0x14]
push edi
mov eax, dword [eax + 0x68]
call eax
mov dword [esp + 0x14], 0xffffffff
test esi, esi
js 0x1004d085
mov eax, dword [0x10092868]
push 0
push 1
push dword [esp + 0x24]
mov eax, dword [eax + 0x84]
push edi
call eax
mov esi, eax
test esi, esi
jns 0x1004c660
cmp esi, 0xfffff9bd
jne 0x1004d031
mov eax, dword [0x10092868]
xor esi, esi
push dword [esp + 0x1c]
push edi
mov eax, dword [eax + 0x68]
call eax
jmp 0x1004d051
test esi, esi
js 0x1004d070
mov eax, dword [0x10092868]
push dword [esp + 0x1c]
push edi
mov eax, dword [eax + 0x68]
call eax
jmp 0x1004d051
xor eax, eax
cmp esi, 0xfffffae7
cmove esi, eax
mov eax, dword [0x10092868]
push dword [esp + 0x18]
mov dword [esp + 0x20], 0xffffffff
push edi
mov eax, dword [eax + 0x68]
call eax
mov dword [esp + 0x18], 0xffffffff
mov eax, dword [esp + 0x14]
cmp eax, 0xffffffff
je 0x1004d085
push eax
mov eax, dword [0x10092868]
push edi
mov eax, dword [eax + 0x68]
call eax
mov eax, dword [esp + 0x1c]
cmp eax, 0xffffffff
je 0x1004d09a
push eax
mov eax, dword [0x10092868]
push edi
mov eax, dword [eax + 0x68]
call eax
mov eax, dword [esp + 0x18]
cmp eax, 0xffffffff
je 0x1004d0af
push eax
mov eax, dword [0x10092868]
push edi
mov eax, dword [eax + 0x68]
call eax
mov ecx, dword [esp + 0x314]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1007d8c1
add esp, 0x308
ret 8
call fcn.1007e6f3
int3