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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x6f6f00
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x7e6410]
xor eax, esp
mov dword [esp + 0x40], eax
push ebx
push esi
push edi
mov eax, dword [0x7e6410]
xor eax, esp
push eax
lea eax, [esp + 0x58]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [esp + 0x14], ebx
mov eax, dword [ebp + 0x20]
lea ecx, [ebx + 0x24]
mov edx, dword [ebp + 0xc]
mov edi, dword [ebp + 0x1c]
mov esi, dword [ebp + 0x10]
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x2c], edi
mov dword [ebx + 8], eax
cmp ecx, edx
je 0x4301e8
push 0xffffffffffffffff
push 0
push edx
call fcn.00424900
lea ecx, [ebx + 0xc]
cmp ecx, esi
je 0x4301f9
push 0xffffffffffffffff
push 0
push esi
call fcn.00424900
mov eax, dword [ebp + 0x14]
mov ecx, eax
mov edx, dword [ebp + 0x18]
and eax, 0xf00
and ecx, 0xf
mov dword [ebx + 0x7c], eax
mov eax, dword [ebp + 0x24]
mov dword [ebx + 0x54], ecx
mov dword [ebx + 0x58], edx
mov dword [ebx + 0x84], eax
test dl, 1
je 0x430223
mov dword [ebx + 0x78], edi
test ecx, ecx
jne 0x430273
mov ecx, 1
call fcn.0042f1c0
mov edx, eax
cmp word [edx], 0
jne 0x43024d
xor ecx, ecx
push ecx
push edx
lea ecx, [ebx + 0xa4]
call fcn.00424cc0
jmp 0x430372
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x430252
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebx + 0xa4]
call fcn.00424cc0
jmp 0x430372
cmp ecx, 1
jne 0x4302fe
call fcn.0042f1c0
mov edx, eax
cmp word [edx], 0
jne 0x43028d
xor ecx, ecx
jmp 0x4302a1
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x430292
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebx + 0xa4]
call fcn.00424cc0
mov ecx, 2
call fcn.0042f1c0
mov edx, eax
cmp word [edx], 0
jne 0x4302d4
xor ecx, ecx
push ecx
push edx
lea ecx, [ebx + 0xbc]
call fcn.00424cc0
jmp 0x430372
mov ecx, edx
lea esi, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4302e0
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebx + 0xbc]
call fcn.00424cc0
jmp 0x430372
cmp ecx, 4
jne 0x43032b
mov ecx, 6
call fcn.0042f1c0
push eax
lea ecx, [ebx + 0xa4]
call fcn.00431800
mov ecx, 7
call fcn.0042f1c0
lea ecx, [ebx + 0xbc]
jmp 0x43036c
cmp ecx, 3
jne 0x430372
mov ecx, 6
call fcn.0042f1c0
push eax
lea ecx, [ebx + 0xa4]
call fcn.00431800
mov ecx, 7
call fcn.0042f1c0
push eax
lea ecx, [ebx + 0xbc]
call fcn.00431800
mov ecx, 2
call fcn.0042f1c0
lea ecx, [ebx + 0xd4]
push eax
call fcn.00431800
mov ecx, dword [ebp + 0x18]
test cl, 4
je 0x430612
xor ebx, ebx
xor esi, esi
xor edi, edi
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], edi
mov dword [esp + 0x60], edi
push dword [esp + 0x18]
call fcn.006b9cb4
add esp, 4
mov dword [esp + 0x34], eax
lea ecx, [esp + 0x30]
mov dword [esp + 0x18], 0x2c
mov dword [esp + 0x30], edi
push ecx
lea ecx, [esp + 0x1c]
push ecx
push eax
call fcn.006be9a4
mov edx, eax
add esp, 0xc
test edx, edx
je 0x430530
lea ecx, [ecx]
xor eax, eax
mov dword [esp + 0x4c], 7
mov dword [esp + 0x48], 0
mov word [esp + 0x38], ax
cmp word [edx], ax
jne 0x4303f0
xor ecx, ecx
jmp 0x430408
mov ecx, edx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4303f5
sub ecx, edi
mov edi, dword [esp + 0x24]
sar ecx, 1
push ecx
push edx
lea ecx, [esp + 0x40]
call fcn.00424cc0
lea eax, [esp + 0x38]
mov byte [esp + 0x60], 1
cmp eax, esi
jae 0x43046d
cmp ebx, eax
ja 0x43046d
mov ecx, eax
mov eax, 0x2aaaaaab
sub ecx, ebx
imul ecx
sar edx, 2
mov edi, edx
shr edi, 0x1f
add edi, edx
cmp esi, dword [esp + 0x24]
jne 0x430452
push 1
lea ecx, [esp + 0x20]
call fcn.00431bd0
mov esi, dword [esp + 0x20]
mov ebx, dword [esp + 0x1c]
lea eax, [edi + edi*2]
lea eax, [ebx + eax*8]
test esi, esi
je 0x4304ef
push eax
mov ecx, esi
call fcn.00424660
jmp 0x4304ef
cmp esi, edi
jne 0x430484
push 1
lea ecx, [esp + 0x20]
call fcn.00431bd0
mov esi, dword [esp + 0x20]
mov ebx, dword [esp + 0x1c]
test esi, esi
je 0x4304ef
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
cmp dword [esp + 0x4c], 8
jae 0x4304bc
mov eax, dword [esp + 0x48]
inc eax
je 0x4304ca
add eax, eax
push eax
lea eax, [esp + 0x3c]
push eax
push esi
call fcn.006b3d50
add esp, 0xc
jmp 0x4304ca
mov eax, dword [esp + 0x38]
mov dword [esi], eax
mov dword [esp + 0x38], 0
mov eax, dword [esp + 0x48]
mov dword [esi + 0x10], eax
mov eax, dword [esp + 0x4c]
mov dword [esi + 0x14], eax
xor eax, eax
mov dword [esp + 0x4c], 7
mov dword [esp + 0x48], 0
mov word [esp + 0x38], ax
add esi, 0x18
mov byte [esp + 0x60], 0
cmp dword [esp + 0x4c], 8
mov dword [esp + 0x20], esi
jb 0x43050e
push dword [esp + 0x38]
call fcn.006b31f8
add esp, 4
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x1c]
push eax
push 0
call fcn.006be9a4
mov edi, dword [esp + 0x30]
mov edx, eax
add esp, 0xc
test edx, edx
jne 0x4303d0
push dword [esp + 0x34]
call fcn.006b31f8
mov ecx, esi
mov eax, 0x2aaaaaab
sub ecx, ebx
add esp, 4
imul ecx
sar edx, 2
mov edi, edx
shr edi, 0x1f
add edi, edx
cmp edi, 1
jl 0x430570
mov eax, dword [esp + 0x14]
lea ecx, [eax + 0xa4]
cmp ecx, ebx
je 0x43058a
push 0xffffffffffffffff
push 0
push ebx
call fcn.00424900
jmp 0x430586
mov ecx, dword [esp + 0x14]
push 0
push 0x790eb0
add ecx, 0xa4
call fcn.00424cc0
mov eax, dword [esp + 0x14]
lea ecx, [eax + 0xbc]
cmp edi, 2
jl 0x4305a8
lea edx, [ebx + 0x18]
cmp ecx, edx
je 0x4305b8
push 0xffffffffffffffff
push 0
push edx
call fcn.00424900
jmp 0x4305b4
push 0
push 0x790eb0
call fcn.00424cc0
mov eax, dword [esp + 0x14]
lea ecx, [eax + 0xd4]
cmp edi, 3
jl 0x4305d6
lea edx, [ebx + 0x30]
cmp ecx, edx
je 0x4305e2
push 0xffffffffffffffff
push 0
push edx
call fcn.00424900
jmp 0x4305e2
push 0
push 0x790eb0
call fcn.00424cc0
mov dword [esp + 0x60], 0xffffffff
test ebx, ebx
je 0x430607
push dword [esp + 0x34]
lea eax, [esp + 0x2f]
push eax
push esi
push ebx
call fcn.004326c0
push ebx
call fcn.006b31f8
add esp, 0x14
mov edi, dword [esp + 0x2c]
mov ecx, dword [ebp + 0x18]
mov ebx, dword [esp + 0x14]
mov esi, ecx
and esi, 8
jne 0x43061e
test cl, 0x10
je 0x43064f
cmp word [edi], 0
jne 0x430628
xor ecx, ecx
jmp 0x43063f
mov ecx, edi
lea edx, [ecx + 2]
lea ecx, [ecx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x430630
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [ebx + 0xf0]
call fcn.00424cc0
mov ecx, dword [ebp + 0x18]
test esi, esi
je 0x430663
mov eax, dword [ebx + 0x84]
test eax, eax
je 0x430663
mov dword [eax], 0
test cl, 0x10
je 0x430678
mov eax, dword [ebx + 0x84]
test eax, eax
je 0x430678
mov dword [eax], 1
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.006b3266
mov esp, ebp
pop ebp
ret 0x20