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

Disassembly:
sub esp, 0x38
xor eax, eax
push ebp
mov ebp, dword [esp + 0x44]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 8], eax
mov dword [esp + 0x20], eax
mov eax, dword [ebp]
mov dword [esp + 4], eax
mov eax, dword [eax]
cmp byte [eax + 0x1e], 0
mov dword [esp + 0x44], eax
jne 0x43121d
mov eax, dword [esp + 0x48]
lea eax, [eax + eax*4]
push ebx
add eax, eax
push esi
mov esi, dword [ebp + 4]
push edi
mov edi, dword [ebp + 0x1c]
add eax, eax
add eax, eax
mov ebx, dword [edi + eax]
add edi, eax
mov dword [esp + 0x20], eax
mov eax, dword [ebx + 8]
push eax
push esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x20], ebx
call fcn.0040c1d0
mov dword [esp + 0x48], eax
movzx eax, byte [ebx]
add esp, 8
cmp eax, 0x48
mov dword [esp + 0x44], edx
mov dword [esp + 0x24], eax
jne 0x430e4f
test word [ebx + 2], 0x800
je 0x430e43
mov eax, dword [ebx + 0x10]
push esi
call fcn.004087e0
add esp, 4
jmp 0x430e68
mov ecx, dword [ebx + 0x10]
push ecx
push esi
call fcn.0040ef00
jmp 0x430e65
cmp eax, 0x49
jne 0x430e5b
xor eax, eax
mov dword [edi + 0x1c], eax
jmp 0x430e6b
mov edx, dword [ebx + 0xc]
push edx
push esi
call fcn.0040c1d0
add esp, 8
mov dword [edi + 0x1c], edx
push ebx
push esi
mov dword [edi + 0x18], eax
call fcn.0040c1d0
add esp, 8
test byte [ebx + 2], 1
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], edx
je 0x430ea9
movsx esi, word [ebx + 0x20]
mov edx, dword [esp + 0x1c]
call fcn.00408860
or dword [esp + 0x30], eax
or dword [esp + 0x34], edx
add eax, 0xffffffff
adc edx, 0xffffffff
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], edx
mov eax, dword [esp + 0x30]
mov esi, dword [esp + 0x24]
mov ecx, dword [esp + 0x34]
mov dword [edi + 0x20], eax
or eax, 0xffffffff
mov dword [edi + 8], eax
mov dword [edi + 4], eax
mov eax, esi
mov dword [edi + 0x24], ecx
mov word [edi + 0x10], 0
call fcn.004087c0
test eax, eax
je 0x430fe9
mov eax, dword [edi + 0x18]
mov ecx, dword [edi + 0x1c]
and eax, dword [esp + 0x40]
and ecx, dword [esp + 0x44]
or eax, ecx
jne 0x430fe9
mov eax, dword [ebx + 8]
cmp byte [eax], 0x98
mov edx, dword [ebx + 0xc]
jne 0x430f12
mov ecx, dword [eax + 0x18]
mov dword [edi + 8], ecx
movsx eax, word [eax + 0x1c]
mov dword [edi + 0xc], eax
mov eax, esi
call fcn.00408790
mov word [edi + 0x10], ax
test edx, edx
je 0x430fe9
cmp byte [edx], 0x98
jne 0x430fe9
cmp dword [edi + 8], 0
jl 0x430f92
mov ecx, dword [esp + 0x50]
push 0
push ebx
push ecx
call fcn.00417340
mov esi, eax
mov eax, dword [esp + 0x5c]
add esp, 0xc
cmp byte [eax + 0x1e], 0
je 0x430f57
push esi
push eax
call fcn.00410b10
add esp, 8
pop edi
pop esi
pop ebx
pop ebp
add esp, 0x38
ret
push 3
mov ebx, esi
mov edi, ebp
call fcn.00412c60
add esp, 4
test eax, eax
je 0x43121a
mov ecx, dword [esp + 0x54]
lea edx, [eax + eax*4]
mov eax, dword [ebp + 0x1c]
lea eax, [eax + edx*8]
mov dword [eax + 4], ecx
mov edi, dword [ebp + 0x1c]
add edi, dword [esp + 0x20]
mov dword [esp + 0x24], eax
or byte [edi + 0x12], 8
mov byte [edi + 0x13], 1
jmp 0x430f98
mov esi, ebx
mov dword [esp + 0x24], edi
mov ebx, dword [esp + 0x10]
call fcn.0041e8b0
mov eax, dword [esi + 8]
mov ecx, dword [eax + 0x18]
mov edx, dword [esp + 0x24]
mov dword [edx + 8], ecx
movsx eax, word [eax + 0x1c]
mov ecx, dword [esp + 0x44]
or ecx, dword [esp + 0x3c]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x40]
or eax, dword [esp + 0x38]
mov dword [edx + 0x1c], ecx
mov ecx, dword [esp + 0x30]
mov dword [edx + 0x18], eax
mov eax, dword [esp + 0x34]
mov dword [edx + 0x20], ecx
mov dword [edx + 0x24], eax
movzx eax, byte [esi]
call fcn.00408790
mov ebx, dword [esp + 0x18]
mov word [edx + 0x10], ax
cmp byte [ebp + 0x10], 0x45
jne 0x43114c
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x2c]
push edx
push eax
lea ecx, [esp + 0x38]
mov eax, ebx
call fcn.00430880
add esp, 0xc
test eax, eax
je 0x43114c
mov ecx, dword [ebx + 0x10]
mov edx, dword [ecx + 0xc]
mov edi, dword [esp + 0x28]
mov ebx, dword [edx + 0x14]
mov esi, dword [esp + 0x50]
push 0
push edi
push esi
mov dword [esp + 0x30], ebx
call fcn.00417340
mov edx, dword [esp + 0x38]
add esp, 0xc
cmp byte [esi + 0x1e], 0
mov dword [esp + 0x28], eax
jne 0x431072
mov ecx, dword [eax + 4]
call fcn.0040b840
test edx, edx
lea ecx, [eax + ecx - 1]
mov al, byte [ecx]
je 0x43106e
cmp al, 0x40
jne 0x431065
mov dword [esp + 0x14], 0
movzx eax, al
mov al, byte [eax + 0x45eac8]
add al, 1
mov byte [ecx], al
test edx, edx
mov edx, 0x467090
jne 0x431080
mov edx, 0x4663e8
push 1
xor ecx, ecx
mov eax, esi
call fcn.00415b30
mov ecx, dword [esp + 0x54]
push 0
push ebx
push ecx
mov esi, eax
call fcn.00417340
mov ecx, esi
call fcn.004094e0
mov edx, dword [esp + 0x20]
push eax
xor eax, eax
push edx
lea ecx, [eax + 0x50]
call fcn.0041fe70
push 3
mov ebx, eax
mov edi, ebp
call fcn.00412c60
push eax
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x6c]
push ebp
push eax
call fcn.00430db0
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x78]
push 0
push ecx
push edx
call fcn.00417340
mov ecx, esi
call fcn.004094e0
mov edi, dword [esp + 0x5c]
push eax
mov eax, dword [esp + 0x48]
push eax
xor eax, eax
lea ecx, [eax + 0x4f]
call fcn.0041fe70
push 3
mov ebx, eax
mov edi, ebp
call fcn.00412c60
mov ecx, dword [esp + 0x8c]
add esp, 0x40
mov esi, eax
push esi
push ebp
push ecx
call fcn.00430db0
mov edi, dword [ebp + 0x1c]
add edi, dword [esp + 0x2c]
mov ebx, dword [esp + 0x24]
add esp, 0xc
cmp dword [esp + 0x14], 0
je 0x43114c
mov eax, dword [esp + 0x2c]
mov ecx, dword [ebp + 0x1c]
lea edx, [eax + eax*4]
mov eax, dword [esp + 0x54]
mov dword [ecx + edx*8 + 4], eax
mov ecx, dword [ebp + 0x1c]
lea edx, [esi + esi*4]
mov dword [ecx + edx*8 + 4], eax
mov byte [edi + 0x13], 2
mov esi, ebx
call fcn.0040c1a0
test eax, eax
je 0x43120c
mov edx, dword [ebx + 0x10]
mov eax, dword [edx + 0xc]
mov ebx, dword [eax]
mov esi, dword [eax + 0x14]
mov eax, dword [esp + 0x1c]
push ebx
push eax
call fcn.0040c1d0
mov ecx, dword [esp + 0x24]
push esi
push ecx
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], edx
call fcn.0040c1d0
and eax, dword [esp + 0x50]
and edx, dword [esp + 0x54]
add esp, 0x10
or eax, edx
jne 0x43120c
mov edx, dword [esp + 0x50]
push eax
push ebx
push edx
call fcn.00417340
mov edi, eax
mov eax, dword [esp + 0x1c]
push 0
push eax
xor eax, eax
lea ecx, [eax + 0x32]
call fcn.0041fe70
push 3
mov ebx, eax
mov edi, ebp
call fcn.00412c60
mov edx, dword [ebp + 0x1c]
lea ecx, [eax + eax*4]
lea eax, [edx + ecx*8]
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x5c]
mov dword [eax + 0x18], ecx
mov dword [eax + 0x1c], edx
mov ecx, dword [esi + 0x18]
mov dword [eax + 8], ecx
movsx edx, word [esi + 0x1c]
mov ecx, dword [esp + 0x6c]
mov dword [eax + 0xc], edx
mov word [eax + 0x10], 0x40
mov dword [eax + 4], ecx
mov edi, dword [ebp + 0x1c]
add edi, dword [esp + 0x38]
add esp, 0x18
mov edx, dword [edi + 0x20]
or byte [edi + 0x12], 8
mov byte [edi + 0x13], 1
mov dword [eax + 0x20], edx
mov ecx, dword [edi + 0x24]
mov dword [eax + 0x24], ecx
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x3c]
or dword [edi + 0x18], edx
or dword [edi + 0x1c], eax
pop edi
pop esi
pop ebx
pop ebp
add esp, 0x38
ret