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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x499db8
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x60
push esi
push edi
mov eax, dword [0x4b3ca0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov di, dx
mov word [ebp - 0x16], cx
mov eax, dword [0x4b70ec]
mov edx, dword [0x4b70e4]
mov dword [ebp - 0x1c], eax
mov eax, dword [eax + 0x1c]
mov dword [ebp - 0x28], eax
cmp di, word [edx + 0x194]
jb 0x4305e3
xor esi, esi
jmp 0x4305f9
mov eax, dword [edx + 0x198]
movzx ecx, di
movzx eax, word [eax + ecx*2]
imul esi, eax, 0x2c
add esi, dword [edx + 0x400]
movzx eax, word [esi + 2]
cmp eax, 0x20
jb 0x43061e
mov edx, dword [ebp - 0x1c]
sub eax, 0x20
imul ecx, eax, 0x92
mov eax, dword [edx + 0x1d4]
cmp dword [ecx + eax], 0
je 0x430e0c
mov edx, dword [0x4b70e8]
mov ax, word [ebp - 0x16]
movzx ecx, ax
cmp ax, word [edx + 0x48]
jb 0x430635
xor eax, eax
jmp 0x430645
mov eax, dword [edx + 0x4c]
movzx eax, word [eax + ecx*2]
lea ecx, [eax + eax*8]
mov eax, dword [edx + 0x50]
lea eax, [eax + ecx*4]
mov ecx, dword [ebx + 0x14]
mov dword [ebp - 0x34], eax
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x20], eax
mov al, byte [eax + 0x2a]
and al, 8
mov byte [ebp - 0x11], al
mov eax, ecx
or eax, 2
cmp byte [ebp - 0x11], 0
movzx edx, ax
movzx eax, cx
cmovne edx, eax
movzx eax, dx
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x44], eax
mov eax, dword [edx + 0x3c]
cmp eax, dword [edx + 0x40]
jge 0x430e0c
movzx eax, word [esi + 2]
cmp eax, 0x20
jae 0x4306a2
mov eax, dword [eax*4 + 0x4a36b0]
test eax, eax
je 0x430e0c
push dword [ebp - 0x20]
call eax
add esp, 4
jmp 0x4306ce
mov ecx, dword [edx + 0x1d4]
imul eax, eax, 0x92
mov ecx, dword [eax + ecx - 0x1218]
test ecx, ecx
je 0x430e0c
mov eax, dword [ebp - 0x20]
movzx eax, word [eax + 0x24]
add eax, dword [ebp - 0x20]
push eax
push edx
call ecx
movzx eax, ax
mov dword [ebp - 0x30], eax
test eax, eax
je 0x430e0c
push 1
push eax
call fcn.0047b099
mov edx, eax
add esp, 8
mov dword [ebp - 0x24], edx
test edx, edx
je 0x430e0c
mov eax, dword [ebp - 0x30]
mov dword [edx + 4], eax
mov eax, dword [ebp - 0x1c]
inc dword [eax + 0x3c]
mov ecx, dword [eax + 0x1278]
mov eax, dword [ebx + 0x1c]
test eax, eax
jns 0x43071a
cmp dword [ecx], 0
je 0x43071d
nop
add ecx, 8
cmp dword [ecx], 0
jne 0x430710
jmp 0x43071d
lea ecx, [ecx + eax*8]
mov eax, dword [ebp - 0x20]
mov dword [ecx], edx
mov eax, dword [eax + 0x2e]
mov dword [edx + 0xb4], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x10]
mov dword [edx + 0x78], eax
mov eax, dword [ebp - 0x1c]
cmp ecx, dword [eax + 0x4b8]
jbe 0x430746
inc word [eax + 0x4bc]
sub ecx, dword [eax + 0x1278]
sar ecx, 3
mov word [edx], cx
mov ecx, 1
add word [eax + 0x14c], 1
mov ax, word [eax + 0x14c]
jne 0x430776
mov eax, dword [ebp - 0x1c]
mov word [eax + 0x14c], cx
mov eax, ecx
jmp 0x430779
movzx eax, ax
mov cx, word [ebp - 0x16]
mov word [edx + 0x1a], ax
mov word [edx + 0x12], di
mov word [edx + 0x10], cx
mov ax, word [esi + 2]
mov word [edx + 0x18], ax
mov eax, dword [0x4b70ec]
mov dword [edx + 8], eax
mov edx, dword [0x4b70ec]
mov esi, dword [edx + 0x58]
cmp word [esi], di
je 0x4307bb
nop word [eax + eax]
add esi, 0x92
cmp word [esi], di
jne 0x4307b0
movzx eax, word [esi + 6]
mov edi, dword [ebp - 0x24]
test ax, ax
jns 0x4307ff
mov ax, word [edi]
mov ecx, esi
mov word [esi + 6], ax
mov eax, dword [0x4b70ec]
sub ecx, dword [eax + 0x58]
mov eax, 0xe070381d
imul ecx
add edx, ecx
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
or eax, 0xffff8000
mov word [edi + 0x14], ax
mov eax, 0xffff8000
mov word [edi + 0x16], ax
jmp 0x430828
movsx ecx, ax
mov eax, dword [edx + 0x1278]
mov ecx, dword [eax + ecx*8]
movzx eax, word [ecx + 0x14]
mov word [edi + 0x14], ax
movzx eax, word [edi]
mov word [ecx + 0x14], ax
movzx eax, word [ecx]
mov word [edi + 0x16], ax
movzx eax, word [edi]
mov word [esi + 6], ax
mov eax, dword [0x4b70ec]
mov ecx, dword [esi + 8]
add ecx, dword [eax + 0x5c]
mov dword [edi + 0x20], ecx
mov dword [edi + 0x1c], esi
mov ax, word [esi + 0x34]
mov word [edi + 0x94], ax
movzx eax, word [edi + 0x10]
cmp ax, 0xffff
jne 0x430858
mov ax, word [esi + 0x44]
mov word [edi + 0x10], ax
jmp 0x430863
cmp word [esi + 0x44], 0xffff
jne 0x430863
mov word [esi + 0x44], ax
inc dword [esi + 0x10]
mov eax, 0xffff
mov ecx, dword [edi + 0x1c]
mov dword [edi + 0xc], edi
movzx edi, word [ecx + 0xe]
cmp di, ax
je 0x430ae2
mov esi, dword [ebp - 0x28]
mov esi, dword [esi + 0x47c]
test esi, esi
je 0x430ae2
mov eax, dword [ebp - 0x1c]
add edi, esi
mov esi, 0xffff
sub ecx, dword [eax + 0x58]
mov eax, 0xc0e07039
mul ecx
movzx eax, word [edi]
sub ecx, edx
shr ecx, 1
add ecx, edx
shr ecx, 7
movzx edx, cx
mov dword [ebp - 0x30], edx
cmp ax, si
je 0x430ae2
mov ecx, eax
mov eax, dword [ebp - 0x28]
add edi, 2
movzx ecx, cx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x3c], edi
mov eax, dword [eax + 0x484]
add eax, 0x16
add eax, ecx
cmp word [eax], 0
jl 0x4308f3
cmp word [eax + 2], dx
je 0x430ad4
add eax, 4
cmp word [eax], 0
jge 0x4308e0
xor ecx, ecx
xor esi, esi
xor edi, edi
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x48], edi
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 4], edi
mov eax, dword [eax + 0x488]
cmp word [eax + edx + 0x16], di
jl 0x430a3e
lea ecx, [edx + 0x18]
add ecx, eax
mov dword [ebp - 0x18], ecx
nop word [eax + eax]
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 0x484]
add eax, edx
xor dl, dl
add eax, 0x16
mov dword [ebp - 0x38], eax
cmp word [eax], 0
jl 0x4309c5
nop dword [eax]
mov ax, word [eax + 2]
cmp ax, word [ecx]
jne 0x4309b2
movzx eax, word [ecx - 2]
mov dword [ebp - 0x40], eax
cmp edi, esi
je 0x43096f
mov word [esi], ax
add esi, 2
mov dword [ebp - 0x4c], esi
jmp 0x430985
lea eax, [ebp - 0x40]
push eax
push esi
lea ecx, [ebp - 0x50]
call fcn.00432130
mov edi, dword [ebp - 0x48]
mov esi, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x18]
movzx eax, word [ecx]
mov dword [ebp - 0x40], eax
cmp edi, esi
je 0x43099a
mov word [esi], ax
add esi, 2
mov dword [ebp - 0x4c], esi
jmp 0x4309b0
lea eax, [ebp - 0x40]
push eax
push esi
lea ecx, [ebp - 0x50]
call fcn.00432130
mov edi, dword [ebp - 0x48]
mov esi, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x18]
mov dl, 1
mov eax, dword [ebp - 0x38]
add eax, 4
mov dword [ebp - 0x38], eax
cmp word [eax], 0
jge 0x430950
test dl, dl
jne 0x430a24
mov eax, dword [ebp - 0x30]
cmp word [ecx], ax
jne 0x430a24
movzx eax, word [ecx - 2]
mov dword [ebp - 0x40], eax
cmp edi, esi
je 0x4309e3
mov word [esi], ax
add esi, 2
mov dword [ebp - 0x4c], esi
jmp 0x4309f9
lea eax, [ebp - 0x40]
push eax
push esi
lea ecx, [ebp - 0x50]
call fcn.00432130
mov edi, dword [ebp - 0x48]
mov esi, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x18]
movzx eax, word [ecx]
mov dword [ebp - 0x40], eax
cmp edi, esi
je 0x430a0e
mov word [esi], ax
add esi, 2
mov dword [ebp - 0x4c], esi
jmp 0x430a24
lea eax, [ebp - 0x40]
push eax
push esi
lea ecx, [ebp - 0x50]
call fcn.00432130
mov edi, dword [ebp - 0x48]
mov esi, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x2c]
add ecx, 4
mov dword [ebp - 0x18], ecx
cmp word [ecx - 2], 0
jge 0x430930
mov ecx, dword [ebp - 0x50]
mov dword [ebp - 0x38], ecx
mov eax, dword [ebp - 0x28]
sub esi, ecx
mov edx, dword [eax + 0x484]
add edx, dword [ebp - 0x2c]
mov dword [ebp - 0x40], edx
cmp esi, 2
jb 0x430a6f
sar esi, 1
lea eax, [esi + esi]
push eax
push ecx
lea eax, [edx + 0x16]
push eax
call fcn.00478db0
mov ecx, dword [ebp - 0x38]
add esp, 0xc
mov edx, dword [ebp - 0x40]
jmp 0x430a71
sar esi, 1
mov dword [edx + esi*2 + 0x16], 0xffffffff
lea eax, [edx + esi*2]
mov dword [ebp - 4], 0xffffffff
test ecx, ecx
je 0x430ac9
sub edi, ecx
mov eax, ecx
and edi, 0xfffffffe
cmp edi, 0x1000
jb 0x430aaa
mov ecx, dword [ecx - 4]
add edi, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x430e5b
push edi
push ecx
call fcn.0047787e
add esp, 8
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
mov edi, dword [ebp - 0x3c]
mov esi, 0xffff
mov edx, dword [ebp - 0x30]
movzx eax, word [edi]
mov ecx, eax
cmp ax, si
jne 0x4308c0
mov edi, dword [ebp - 0x24]
mov ecx, dword [edi + 0x78]
test ecx, 0x8000
jne 0x430b2f
movzx edx, word [edi + 0x94]
and ecx, 0xffffbfff
mov dword [edi + 0x78], ecx
mov esi, ecx
test edx, 0x200
je 0x430b1e
mov eax, dword [0x4b70e8]
test byte [eax + 0xc], 0x20
je 0x430b1e
or ecx, 0x4000
mov dword [edi + 0x78], ecx
test edx, 0x500
je 0x430b2f
or ecx, 0x4000
mov dword [edi + 0x78], ecx
movzx eax, word [edi + 0x18]
cmp ax, 0x20
cwde
jge 0x430b4a
mov esi, dword [eax*4 + 0x4a3638]
mov eax, dword [eax*4 + 0x4a3610]
jmp 0x430b78
mov edx, dword [ebp - 0x1c]
imul eax, eax, 0x92
mov edx, dword [edx + 0x1d4]
cmp dword [eax + edx - 0x1230], 0
mov esi, dword [eax + edx - 0x1238]
je 0x430b71
mov eax, fcn.0045f490
jmp 0x430b78
mov eax, dword [eax + edx - 0x1234]
test cl, 2
mov dword [edi + 0x88], esi
push 0
mov ecx, 0x4313d0
cmovne eax, ecx
push 0
push edi
mov dword [edi + 0x90], eax
mov dword [edi + 0x8c], eax
call fcn.004302e0
mov eax, dword [ebp - 0x1c]
test byte [eax + 0x28], 0x20
je 0x430bb8
movsx ecx, word [edi + 0x12]
call fcn.00439b70
mov ecx, eax
call fcn.0043a970
mov eax, dword [ebx + 8]
mov edx, dword [ebp - 0x20]
mov esi, dword [ebp - 0x34]
mov dword [edi + 0x44], edx
cmp eax, 0x80000000
jne 0x430bce
mov eax, dword [esi + 4]
mov dword [ebp - 0x64], eax
mov dword [edi + 0x4c], eax
mov eax, dword [ebx + 0xc]
cmp eax, 0x80000000
jne 0x430be1
mov eax, dword [esi + 8]
mov dword [ebp - 0x60], eax
mov dword [edi + 0x54], eax
mov eax, dword [ebx + 0x18]
test esi, esi
je 0x430bf7
cmp eax, 0xffffffff
jne 0x430bf7
movzx eax, word [esi + 0x10]
mov dword [ebp - 0x58], eax
lea ecx, [eax + eax*2]
mov dword [edi + 0x84], eax
mov eax, dword [0x4b70e8]
shl ecx, 5
add ecx, dword [eax + 0x30]
inc dword [ecx + 0x28]
mov eax, dword [ecx + 0x28]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x44]
mov word [ebp - 0x66], ax
mov eax, dword [ebx + 0x10]
mov dword [ebp - 0x6c], esi
mov esi, 0xb8
mov dword [ebp - 0x5c], eax
mov eax, dword [edi + 0x78]
test eax, 0x230
je 0x430c6d
mov esi, 0x130
mov dword [edi + 0xc0], fcn.0040e480
mov dword [edi + 0xc4], 0x437350
mov dword [edi + 0xe0], 0x3f800000
mov dword [edi + 0xe4], 0x3f800000
mov dword [edi + 0xcc], 0xffffffff
test al, 0x10
je 0x430c91
add esi, 0x9e
test byte [ebp - 0x66], 1
jne 0x430c91
lea eax, [ebp - 0x6c]
xor ecx, ecx
push eax
push edx
mov edx, edi
call fcn.00432810
mov eax, dword [edi + 0x78]
add esp, 8
test al, 0x20
je 0x430d58
mov dword [edi + 0xb8], esi
mov ecx, edi
add esi, 0x50
mov dword [edi + 0xc4], fcn.00437440
call fcn.004373a0
mov edx, dword [edi + 0x44]
movzx edi, word [edx + 6]
cmp word [edx + edi + 0xa], 0
jl 0x430d05
mov edi, dword [ebp - 0x24]
mov eax, dword [edi + 0xb8]
mov dword [edi + 0xc4], 0x436fc0
mov dword [edi + eax], 4
xor edx, edx
mov ecx, edi
call fcn.004374b0
mov eax, dword [edi + 0xb8]
cmp dword [eax + edi + 0x3c], 0
jne 0x430cfa
mov dword [eax + edi + 0x3c], 1
push edi
call fcn.00437440
add esp, 4
jmp 0x430d58
xor ecx, ecx
xor eax, eax
nop dword [eax]
lea eax, [edx + eax*2]
cmp word [eax + edi + 4], 0
jge 0x430d27
mov eax, dword [ecx*4 + 0x4a3bf4]
inc ecx
test eax, eax
jns 0x430d10
cmp dword [ecx*4 + 0x4a3bf0], 0
jge 0x430d55
cmp word [edi + edx + 0xc], 0
mov edi, dword [ebp - 0x24]
jl 0x430d58
mov eax, dword [edi + 0xb8]
mov dword [edi + 0xc4], 0x437150
mov dword [edi + eax], 5
jmp 0x430cdc
mov edi, dword [ebp - 0x24]
mov eax, dword [edi + 0x78]
test eax, 0x200
je 0x430d7c
lea eax, [ebp - 0x6c]
mov dword [edi + 0xbc], esi
push eax
mov ecx, edi
add esi, 0x24
call fcn.00401970
mov eax, dword [edi + 0x78]
add esp, 4
test eax, 0x100
je 0x430d9b
mov dword [edi + 0x80], esi
test esi, esi
mov esi, dword [ebp - 0x20]
je 0x430d9e
mov edx, esi
mov ecx, edi
call fcn.00402590
jmp 0x430d9e
mov esi, dword [ebp - 0x20]
movzx eax, word [edi + 0x18]
cmp ax, 0x20
cwde
jge 0x430dc9
mov eax, dword [eax*4 + 0x4a3688]
test eax, eax
je 0x430e23
lea ecx, [ebp - 0x6c]
push ecx
push esi
push edi
call eax
mov esi, dword [ebp - 0x1c]
add esp, 0xc
test ax, ax
jne 0x430df8
jmp 0x430e26
mov esi, dword [ebp - 0x1c]
sub eax, 0x20
imul ecx, eax, 0x92
mov eax, dword [esi + 0x1d4]
mov ecx, dword [ecx + eax]
test ecx, ecx
je 0x430e26
mov edx, dword [ebp - 0x20]
movzx eax, word [edx + 0x24]
add eax, edx
lea edx, [ebp - 0x6c]
push edx
push eax
push edi
call ecx
test ax, ax
je 0x430e26
dec word [esi + 0x4bc]
mov edx, 1
movsx ecx, word [edi]
call fcn.00430e70
or eax, 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
mov esi, dword [ebp - 0x1c]
mov eax, dword [edi + 0x78]
test al, 0x40
je 0x430e36
inc dword [esi + 0x518]
mov eax, dword [edi + 0x78]
test eax, 0x200
je 0x430e44
mov ecx, edi
call fcn.00401b00
movsx eax, word [edi]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.0047c4cd
int3