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

Disassembly:
sub esp, 0x68
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x7c]
mov esi, dword [edi + 0xc]
mov ecx, dword [edi]
mov dword [esp + 0x34], 0xffffffff
movzx eax, byte [esi + 0x10]
mov edx, dword [ecx + 4]
lea eax, [eax + eax*8]
mov ebp, dword [edx + eax*8 + 0x4c]
test ebp, ebp
lea ebx, [edx + eax*8 + 8]
mov eax, dword [ebx + 0x10]
mov edx, dword [edi + 4]
mov dword [esp + 0x10], 0
mov dword [esp + 0x24], 1
mov dword [esp + 0x28], ecx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], edx
jne 0x430521
test byte [eax + 0x26], 0x20
je 0x4304af
mov ebp, dword [eax + 8]
jmp 0x430521
push 0x38
lea eax, [esp + 0x44]
push 0
push eax
call sub.msvcrt.dll_memset
mov eax, 1
mov word [esp + 0x7a], ax
mov word [esp + 0x7c], ax
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x40]
lea edx, [esp + 0x38]
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], edx
mov byte [esp + 0x7e], 5
mov dword [esp + 0x58], eax
mov cx, word [eax + 0x24]
mov word [esp + 0x78], cx
mov dx, word [eax + 0x22]
add esp, 0xc
mov word [esp + 0x2c], dx
mov word [esp + 0x2e], 0
test byte [ebx + 0x28], 1
jne 0x430515
mov eax, dword [ebx + 0x10]
mov ecx, dword [eax + 8]
mov dword [esp + 0x54], ecx
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x28]
lea ebp, [esp + 0x40]
movzx edx, word [eax + 0x22]
cmp dx, 0xa
mov dword [esp + 0x20], ebp
mov dword [esp + 0x38], edx
jg 0x43053d
mov dword [esp + 0x30], 0
jmp 0x43055e
movsx eax, dx
cdq
push edx
push eax
call fcn.00405b20
mov ecx, dword [esp + 0x30]
add esp, 8
sub ax, 0x21
movzx edx, ax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x30], edx
cmp dword [edi + 0x10], 0
jne 0x4306a5
test byte [ecx + 0x22], 0x80
jne 0x4306a5
mov ecx, dword [ecx]
mov edx, dword [ecx]
test dword [edx + 0x18], 0x100000
je 0x4306a5
cmp dword [ebx + 0x44], 0
jne 0x4306a5
mov ecx, dword [ebx + 0x28]
test cl, 1
jne 0x4306a5
test byte [eax + 0x26], 0x20
jne 0x4306a5
test cl, 0xa
jne 0x4306a5
mov eax, dword [esp + 0x1c]
mov edi, dword [eax + 0x14]
mov eax, dword [eax + 0xc]
lea ebx, [eax + eax*2]
shl ebx, 4
add ebx, edi
mov dword [esp + 0x3c], ebx
cmp edi, ebx
jae 0x430696
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0xc]
and eax, dword [edi + 0x20]
and ecx, dword [edi + 0x24]
or eax, ecx
jne 0x43067c
push eax
push eax
mov eax, dword [esp + 0x20]
mov ecx, edi
call fcn.0040df40
add esp, 8
test eax, eax
je 0x43067c
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x30]
mov eax, 1
mov word [esi + 0x18], ax
mov word [esi + 0x28], ax
mov eax, dword [esi + 0x30]
xor ebx, ebx
mov word [esi + 0x2a], bx
mov dword [esi + 0x1c], ebx
mov dword [eax], edi
lea eax, [ecx + edx + 4]
mov edx, dword [esp + 0x14]
mov word [esi + 0x12], ax
cmp dword [edx + 0xc], ebx
jne 0x430637
test byte [edx + 0x26], 2
jne 0x430637
add eax, 0x18
mov word [esi + 0x12], ax
mov eax, 0x2b
mov word [esi + 0x16], ax
call fcn.00405bc0
mov word [esi + 0x14], ax
mov dword [esi + 0x24], 0x4000
mov eax, dword [edi + 0x20]
mov ecx, dword [edi + 0x24]
or eax, dword [esp + 0x80]
or ecx, dword [esp + 0x84]
mov dword [esi], eax
mov dword [esi + 4], ecx
mov ecx, dword [esp + 0x7c]
mov eax, esi
call fcn.00414170
mov ebx, dword [esp + 0x3c]
mov dword [esp + 0x10], eax
add edi, 0x30
cmp dword [esp + 0x10], 0
je 0x4305c2
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x68
ret
cmp dword [esp + 0x10], 0
jne 0x4308f0
mov ebx, dword [esp + 0x18]
test ebp, ebp
je 0x4308f0
mov eax, dword [ebp + 0x24]
test eax, eax
je 0x4306cd
mov edx, dword [ebx + 0x2c]
mov ebx, dword [esp + 0x1c]
push eax
push edx
call fcn.0040aa00
add esp, 8
test eax, eax
je 0x4308d9
mov eax, dword [ebp + 8]
movzx edi, word [eax]
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 0x84]
mov ebx, dword [esp + 0x7c]
xor eax, eax
mov word [esi + 0x18], ax
mov word [esi + 0x2a], ax
mov word [esi + 0x28], ax
mov byte [esi + 0x11], al
mov word [esi + 0x12], ax
mov eax, dword [esp + 0x18]
mov dword [esi], ecx
mov dword [esi + 4], edx
mov word [esi + 0x16], di
mov dword [esi + 0x1c], ebp
mov ecx, dword [eax + 0x2c]
push ecx
push ebp
mov ecx, ebx
call fcn.00406e10
add esp, 8
cmp dword [ebp + 0x28], 0
mov dword [esp + 0x30], eax
jg 0x430765
neg eax
sbb al, al
push edi
lea edx, [edi + 0x10]
push esi
mov dword [esi + 0x24], 0x100
mov word [esi + 0x14], dx
and eax, dword [esp + 0x2c]
mov byte [esi + 0x11], al
mov eax, dword [esp + 0x24]
push eax
call fcn.00406ec0
add esp, 0xc
mov eax, esi
mov ecx, ebx
call fcn.00414170
test eax, eax
mov word [esi + 0x16], di
jne 0x4308f4
jmp 0x4308ba
test byte [ebp + 0x34], 0x20
je 0x430778
xor ecx, ecx
mov dword [esi + 0x24], 0x240
xor ebx, ebx
jmp 0x4307a4
mov eax, ebp
call fcn.004022d0
mov ecx, eax
mov eax, dword [esp + 0x18]
mov ebx, edx
not ecx
and ecx, dword [eax + 0x38]
not ebx
and ebx, dword [eax + 0x3c]
mov edx, ecx
or edx, ebx
mov eax, 0x240
je 0x4307a1
mov eax, 0x200
mov dword [esi + 0x24], eax
cmp dword [esp + 0x30], 0
jne 0x4307f2
mov eax, dword [esp + 0x14]
test byte [eax + 0x26], 0x20
jne 0x4307f2
mov edx, ecx
or edx, ebx
jne 0x4308ba
test byte [ebp + 0x34], 4
jne 0x4308ba
mov dx, word [ebp + 0x2c]
cmp dx, word [eax + 0x24]
jge 0x4308ba
mov eax, dword [esp + 0x28]
test byte [eax + 0x22], 4
jne 0x4308ba
cmp dword [0x47a018], 0
je 0x4308ba
mov edx, dword [esp + 0x30]
neg edx
sbb dl, dl
and edx, dword [esp + 0x24]
mov byte [esi + 0x11], dl
movsx edx, word [ebp + 0x2c]
mov eax, edx
shl eax, 4
sub eax, edx
mov edx, dword [esp + 0x14]
movsx ebp, word [edx + 0x24]
cdq
idiv ebp
or ecx, ebx
lea eax, [eax + edi + 1]
mov word [esi + 0x14], ax
je 0x430891
lea ecx, [edi + 0x10]
movzx ecx, cx
movzx eax, ax
cmp ax, cx
jl 0x43085c
movsx edx, cx
movsx ecx, ax
lea ebx, [edx + 0x31]
cmp ecx, ebx
jg 0x43088a
lea ebx, [edx + 0x1f]
cmp ecx, ebx
jle 0x43084a
add eax, 1
jmp 0x43088a
sub ecx, edx
movzx dx, byte [ecx + str._n_n_t_t_b_b_a_a_a]
add dx, ax
movzx eax, dx
jmp 0x43088d
movsx edx, ax
movsx eax, cx
lea ebx, [edx + 0x31]
cmp eax, ebx
jle 0x43086e
movzx eax, cx
jmp 0x43088d
lea ebx, [edx + 0x1f]
cmp eax, ebx
jle 0x43087d
add ecx, 1
movzx eax, cx
jmp 0x43088d
sub eax, edx
movzx ax, byte [eax + str._n_n_t_t_b_b_a_a_a]
add ax, cx
movzx eax, ax
mov word [esi + 0x14], ax
mov ecx, dword [esp + 0x1c]
push edi
push esi
push ecx
call fcn.00406ec0
mov ecx, dword [esp + 0x88]
add esp, 0xc
mov eax, esi
call fcn.00414170
test eax, eax
mov word [esi + 0x16], di
jne 0x4308f4
mov ebp, dword [esp + 0x20]
mov edi, dword [esp + 0x18]
mov edx, dword [esp + 0x7c]
push 0
push ebp
push edi
push edx
call fcn.0042d350
add esp, 0x10
cmp dword [edi + 0x44], 0
mov dword [esp + 0x10], eax
jne 0x4308f0
mov ebp, dword [ebp + 0x14]
add dword [esp + 0x24], 1
cmp dword [esp + 0x10], 0
mov dword [esp + 0x20], ebp
je 0x4306a1
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x68
ret