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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x490
test ecx, ecx
je 0x4198e6
mov ebx, edx
mov esi, ecx
mov ecx, dword [ecx]
mov eax, dword [esi + 4]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], eax
mov edi, 0xfffffffe
test edx, edx
je 0x4198e9
mov dword [esp + 4], ecx
mov dword [esp], eax
push ebx
call fcn.004490d0
add esp, 4
test eax, eax
je 0x4198e9
mov ecx, dword [esi + 0x5c]
test ecx, ecx
je 0x41980f
push ecx
mov edi, eax
call fcn.00448680
mov eax, edi
mov edi, 0xfffffffe
add esp, 4
mov dword [esi + 0x5c], 0
mov ecx, ebx
mov dword [esp + 0x1c], eax
mov edx, eax
call fcn.00419bd1
mov dword [esi + 0x5c], eax
test eax, eax
je 0x4198e9
mov ecx, dword [esi + 0x14]
cmp ecx, 1
jne 0x4198f3
xor ecx, ecx
cmp dword [ebp + 8], 0
setne cl
shl ecx, 8
push ecx
push 0
push eax
push esi
call fcn.00415236
add esp, 0x10
mov dword [esi + 0x58], eax
mov edi, 0xfffffffd
test eax, eax
js 0x419bb1
lea ecx, [esp + 0x30]
push ecx
push eax
push esi
call fcn.00415c39
add esp, 0xc
test eax, eax
je 0x419bb1
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x5c]
mov dword [esi + 0x6c], ecx
mov dword [esi + 0x68], eax
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x60]
mov dword [esi + 0x60], ecx
mov dword [esi + 0x64], eax
mov eax, dword [esp + 0x50]
mov dword [esi + 0x70], eax
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
mov dword [esi + 0x78], ecx
mov dword [esi + 0x7c], eax
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x74]
mov dword [esi + 0xa4], ecx
mov dword [esi + 0xa0], eax
movzx eax, word [esp + 0x46]
mov word [esi + 0xa8], ax
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x6c]
mov dword [esi + 0x4e008], ecx
mov ecx, dword [esp + 0x48]
mov dword [esi + 0x4e014], eax
mov dword [esi + 0x4e010], ecx
xor edi, edi
jmp 0x4198e9
xor edi, edi
dec edi
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [esp + 0xc], ecx
mov ecx, dword [esi + 0x50]
xor eax, eax
mov dword [esp + 8], ecx
and ecx, 0xf
mov dword [esp + 0x2c], ecx
setne al
mov ecx, dword [esi + 0x10]
mov dword [esi + 0x58], ecx
xor ebx, ebx
mov dword [esi + 0x60], ebx
mov dword [esi + 0x64], ebx
mov dword [esi + 0x68], ebx
mov dword [esi + 0x6c], ebx
mov dword [esi + 0x70], ebx
mov edx, dword [esi]
mov ecx, dword [esi + 4]
mov dword [esi + 0x7c], ecx
mov dword [esi + 0x78], edx
mov dword [esp + 0x14], ecx
mov dword [esi + 0xa4], ecx
mov dword [esp + 0x10], edx
mov dword [esi + 0xa0], edx
mov dword [esi + 0x80], ebx
mov dword [esi + 0x84], ebx
mov dword [esi + 0x88], ebx
mov dword [esi + 0x8c], ebx
mov dword [esi + 0x90], ebx
mov dword [esi + 0x94], ebx
mov dword [esi + 0x98], ebx
mov word [esi + 0x9c], 0
shl eax, 3
mov word [esi + 0xa8], ax
mov dword [esi + 0x4e008], ebx
mov ecx, esi
call fcn.00417d10
mov edi, 0xfffffffc
cmp dword [esi + 0x48], ebx
je 0x419bb1
cmp dword [esp + 0xc], 2
jne 0x419bb1
mov edi, 0xfffffffb
bt dword [esp + 8], 0xa
jb 0x419bb1
mov ecx, esi
mov edx, dword [esp + 0x10]
push eax
push dword [esp + 0x18]
mov ebx, eax
call fcn.00417d29
add esp, 8
mov edi, 0xfffffff9
test eax, eax
je 0x419bb1
lea eax, [esi + 0x80]
mov dword [esp + 8], eax
mov eax, ebx
xor ebx, ebx
mov ecx, dword [esp + 4]
mov dword [esp + 0xc], eax
add ecx, eax
mov dword [esp + 4], ecx
mov eax, dword [esp]
adc eax, ebx
mov dword [esp], eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], eax
push ebx
call fcn.00446d4f
add esp, 4
mov dword [esi + 0x4e014], edx
mov dword [esi + 0x4e010], eax
mov ecx, eax
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x1e]
push eax
call fcn.00417c99
add esp, 8
mov eax, 0xfffffffe
cmp eax, dword [esp + 4]
mov eax, 0
sbb eax, dword [esp]
jb 0x419a42
xor eax, eax
jmp 0x419a46
lea eax, [esp + 0x20]
lea ecx, [esp + 0x30]
xor edx, edx
push eax
push ebx
call fcn.00417dbf
add esp, 8
movzx ecx, word [esp + 0x18]
mov dword [esp + 4], ecx
movzx ecx, word [esp + 0x1a]
mov dword [esp + 0x14], ecx
movzx ecx, word [esi + 0xa8]
mov dword [esp], ecx
mov edx, 0xffff
mov dword [esp + 0x10], eax
and eax, edx
and edx, dword [esp + 0x1c]
mov ecx, dword [esp + 8]
push dword [esp + 4]
push dword [esp + 0x18]
push 0x808
push dword [esp + 0xc]
push ebx
push ebx
push ebx
push ebx
push ebx
push eax
call fcn.00417e23
add esp, 0x28
mov eax, dword [esi + 0x78]
add eax, dword [esp + 0xc]
adc ebx, dword [esi + 0x7c]
mov ecx, dword [esi + 0x44]
mov dword [esi + 0xa0], eax
mov dword [esi + 0xa4], ebx
push 0x1e
push dword [esp + 0xc]
push ebx
push eax
push ecx
call dword [esi + 0x3c]
add esp, 0x14
cmp eax, 0x1e
mov eax, dword [esp + 0xc]
jne 0x419bb1
mov ebx, dword [esp + 0x10]
add eax, 0x1e
mov ecx, eax
mov eax, dword [esi + 0x7c]
add ecx, dword [esi + 0x78]
adc eax, 0
mov dword [esi + 0x78], ecx
mov dword [esi + 0x7c], eax
mov edi, dword [esp + 0x1c]
push edi
push dword [esi + 0x5c]
push eax
push ecx
push dword [esi + 0x44]
call dword [esi + 0x3c]
mov edx, edi
add esp, 0x14
mov edi, 0xfffffff8
cmp eax, edx
jne 0x419bb1
mov eax, dword [esi + 0x44]
mov dword [esp], eax
mov ecx, dword [esi + 0x7c]
mov edi, edx
mov edx, dword [esi + 0x78]
add edx, edi
mov edi, 0xfffffff8
adc ecx, 0
mov dword [esi + 0x78], edx
mov dword [esi + 0x7c], ecx
push ebx
lea eax, [esp + 0x34]
push eax
push ecx
push edx
push dword [esp + 0x10]
call dword [esi + 0x3c]
add esp, 0x14
cmp eax, ebx
jne 0x419bb1
mov eax, dword [esi + 0x7c]
mov ecx, dword [esi + 0x78]
add ecx, ebx
adc eax, 0
mov dword [esi + 0x78], ecx
mov dword [esi + 0x7c], eax
mov edx, dword [esp + 0x2c]
test edx, edx
je 0x4198e2
lea ebx, [esi + 0xb0]
mov dword [esi + 0xb0], esi
mov dword [esi + 0xb8], ecx
mov dword [esi + 0xbc], eax
xor edi, edi
mov dword [esi + 0xc4], edi
mov dword [esi + 0xc0], edi
push edi
push 0xfffffffffffffff1
push edx
call fcn.00410ef5
add esp, 0xc
add esi, 0xc8
push eax
push ebx
push 0x4172ff
push esi
call fcn.00410f5f
add esp, 0x10
jmp 0x4198e9
mov eax, dword [esi + 0x5c]
test eax, eax
je 0x4198e9
push eax
call fcn.00448680
add esp, 4
mov dword [esi + 0x5c], 0
jmp 0x4198e9