Function at 0x430280
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 0x4997a8
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x60
push esi
push edi
mov eax, dword [0x4b2ca0]
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 [0x4b60ec]
mov edx, dword [0x4b60e4]
mov dword [ebp - 0x1c], eax
mov eax, dword [eax + 0x1c]
mov dword [ebp - 0x28], eax
cmp di, word [edx + 0x194]
jb 0x4302e3
xor esi, esi
jmp 0x4302f9
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 0x43031e
mov edx, dword [ebp - 0x1c]
sub eax, 0x20
imul ecx, eax, 0x92
mov eax, dword [edx + 0x1d4]
cmp dword [ecx + eax], 0
je 0x430b0c
mov edx, dword [0x4b60e8]
mov ax, word [ebp - 0x16]
movzx ecx, ax
cmp ax, word [edx + 0x48]
jb 0x430335
xor eax, eax
jmp 0x430345
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 0x430b0c
movzx eax, word [esi + 2]
cmp eax, 0x20
jae 0x4303a2
mov eax, dword [eax*4 + 0x4a2660]
test eax, eax
je 0x430b0c
push dword [ebp - 0x20]
call eax
add esp, 4
jmp 0x4303ce
mov ecx, dword [edx + 0x1d4]
imul eax, eax, 0x92
mov ecx, dword [eax + ecx - 0x1218]
test ecx, ecx
je 0x430b0c
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 0x430b0c
push 1
push eax
call fcn.0047aab9
mov edx, eax
add esp, 8
mov dword [ebp - 0x24], edx
test edx, edx
je 0x430b0c
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 0x43041a
cmp dword [ecx], 0
je 0x43041d
nop
add ecx, 8
cmp dword [ecx], 0
jne 0x430410
jmp 0x43041d
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 0x430446
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 0x430476
mov eax, dword [ebp - 0x1c]
mov word [eax + 0x14c], cx
mov eax, ecx
jmp 0x430479
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 [0x4b60ec]
mov dword [edx + 8], eax
mov edx, dword [0x4b60ec]
mov esi, dword [edx + 0x58]
cmp word [esi], di
je 0x4304bb
nop word [eax + eax]
add esi, 0x92
cmp word [esi], di
jne 0x4304b0
movzx eax, word [esi + 6]
mov edi, dword [ebp - 0x24]
test ax, ax
jns 0x4304ff
mov ax, word [edi]
mov ecx, esi
mov word [esi + 6], ax
mov eax, dword [0x4b60ec]
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 0x430528
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 [0x4b60ec]
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 0x430558
mov ax, word [esi + 0x44]
mov word [edi + 0x10], ax
jmp 0x430563
cmp word [esi + 0x44], 0xffff
jne 0x430563
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 0x4307e2
mov esi, dword [ebp - 0x28]
mov esi, dword [esi + 0x47c]
test esi, esi
je 0x4307e2
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 0x4307e2
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 0x4305f3
cmp word [eax + 2], dx
je 0x4307d4
add eax, 4
cmp word [eax], 0
jge 0x4305e0
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 0x43073e
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 0x4306c5
nop dword [eax]
mov ax, word [eax + 2]
cmp ax, word [ecx]
jne 0x4306b2
movzx eax, word [ecx - 2]
mov dword [ebp - 0x40], eax
cmp edi, esi
je 0x43066f
mov word [esi], ax
add esi, 2
mov dword [ebp - 0x4c], esi
jmp 0x430685
lea eax, [ebp - 0x40]
push eax
push esi
lea ecx, [ebp - 0x50]
call fcn.00431e30
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 0x43069a
mov word [esi], ax
add esi, 2
mov dword [ebp - 0x4c], esi
jmp 0x4306b0
lea eax, [ebp - 0x40]
push eax
push esi
lea ecx, [ebp - 0x50]
call fcn.00431e30
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 0x430650
test dl, dl
jne 0x430724
mov eax, dword [ebp - 0x30]
cmp word [ecx], ax
jne 0x430724
movzx eax, word [ecx - 2]
mov dword [ebp - 0x40], eax
cmp edi, esi
je 0x4306e3
mov word [esi], ax
add esi, 2
mov dword [ebp - 0x4c], esi
jmp 0x4306f9
lea eax, [ebp - 0x40]
push eax
push esi
lea ecx, [ebp - 0x50]
call fcn.00431e30
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 0x43070e
mov word [esi], ax
add esi, 2
mov dword [ebp - 0x4c], esi
jmp 0x430724
lea eax, [ebp - 0x40]
push eax
push esi
lea ecx, [ebp - 0x50]
call fcn.00431e30
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 0x430630
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 0x43076f
sar esi, 1
lea eax, [esi + esi]
push eax
push ecx
lea eax, [edx + 0x16]
push eax
call fcn.004787d0
mov ecx, dword [ebp - 0x38]
add esp, 0xc
mov edx, dword [ebp - 0x40]
jmp 0x430771
sar esi, 1
mov dword [edx + esi*2 + 0x16], 0xffffffff
lea eax, [edx + esi*2]
mov dword [ebp - 4], 0xffffffff
test ecx, ecx
je 0x4307c9
sub edi, ecx
mov eax, ecx
and edi, 0xfffffffe
cmp edi, 0x1000
jb 0x4307aa
mov ecx, dword [ecx - 4]
add edi, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x430b5b
push edi
push ecx
call fcn.004772ae
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 0x4305c0
mov edi, dword [ebp - 0x24]
mov ecx, dword [edi + 0x78]
test ecx, 0x8000
jne 0x43082f
movzx edx, word [edi + 0x94]
and ecx, 0xffffbfff
mov dword [edi + 0x78], ecx
mov esi, ecx
test edx, 0x200
je 0x43081e
mov eax, dword [0x4b60e8]
test byte [eax + 0xc], 0x20
je 0x43081e
or ecx, 0x4000
mov dword [edi + 0x78], ecx
test edx, 0x500
je 0x43082f
or ecx, 0x4000
mov dword [edi + 0x78], ecx
movzx eax, word [edi + 0x18]
cmp ax, 0x20
cwde
jge 0x43084a
mov esi, dword [eax*4 + 0x4a25e8]
mov eax, dword [eax*4 + 0x4a25c0]
jmp 0x430878
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 0x430871
mov eax, fcn.0045eec0
jmp 0x430878
mov eax, dword [eax + edx - 0x1234]
test cl, 2
mov dword [edi + 0x88], esi
push 0
mov ecx, 0x4310d0
cmovne eax, ecx
push 0
push edi
mov dword [edi + 0x90], eax
mov dword [edi + 0x8c], eax
call fcn.0042ffa0
mov eax, dword [ebp - 0x1c]
test byte [eax + 0x28], 0x20
je 0x4308b8
movsx ecx, word [edi + 0x12]
call fcn.00439860
mov ecx, eax
call fcn.0043a650
mov eax, dword [ebx + 8]
mov edx, dword [ebp - 0x20]
mov esi, dword [ebp - 0x34]
mov dword [edi + 0x44], edx
cmp eax, 0x80000000
jne 0x4308ce
mov eax, dword [esi + 4]
mov dword [ebp - 0x64], eax
mov dword [edi + 0x4c], eax
mov eax, dword [ebx + 0xc]
cmp eax, 0x80000000
jne 0x4308e1
mov eax, dword [esi + 8]
mov dword [ebp - 0x60], eax
mov dword [edi + 0x54], eax
mov eax, dword [ebx + 0x18]
test esi, esi
je 0x4308f7
cmp eax, 0xffffffff
jne 0x4308f7
movzx eax, word [esi + 0x10]
mov dword [ebp - 0x58], eax
lea ecx, [eax + eax*2]
mov dword [edi + 0x84], eax
mov eax, dword [0x4b60e8]
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 0x43096d
mov esi, 0x130
mov dword [edi + 0xc0], fcn.0040e4b0
mov dword [edi + 0xc4], 0x437040
mov dword [edi + 0xe0], 0x3f800000
mov dword [edi + 0xe4], 0x3f800000
mov dword [edi + 0xcc], 0xffffffff
test al, 0x10
je 0x430991
add esi, 0x9e
test byte [ebp - 0x66], 1
jne 0x430991
lea eax, [ebp - 0x6c]
xor ecx, ecx
push eax
push edx
mov edx, edi
call fcn.00432500
mov eax, dword [edi + 0x78]
add esp, 8
test al, 0x20
je 0x430a58
mov dword [edi + 0xb8], esi
mov ecx, edi
add esi, 0x50
mov dword [edi + 0xc4], fcn.00437130
call fcn.00437090
mov edx, dword [edi + 0x44]
movzx edi, word [edx + 6]
cmp word [edx + edi + 0xa], 0
jl 0x430a05
mov edi, dword [ebp - 0x24]
mov eax, dword [edi + 0xb8]
mov dword [edi + 0xc4], 0x436cb0
mov dword [edi + eax], 4
xor edx, edx
mov ecx, edi
call fcn.004371a0
mov eax, dword [edi + 0xb8]
cmp dword [eax + edi + 0x3c], 0
jne 0x4309fa
mov dword [eax + edi + 0x3c], 1
push edi
call fcn.00437130
add esp, 4
jmp 0x430a58
xor ecx, ecx
xor eax, eax
nop dword [eax]
lea eax, [edx + eax*2]
cmp word [eax + edi + 4], 0
jge 0x430a27
mov eax, dword [ecx*4 + 0x4a2a44]
inc ecx
test eax, eax
jns 0x430a10
cmp dword [ecx*4 + 0x4a2a40], 0
jge 0x430a55
cmp word [edi + edx + 0xc], 0
mov edi, dword [ebp - 0x24]
jl 0x430a58
mov eax, dword [edi + 0xb8]
mov dword [edi + 0xc4], 0x436e40
mov dword [edi + eax], 5
jmp 0x4309dc
mov edi, dword [ebp - 0x24]
mov eax, dword [edi + 0x78]
test eax, 0x200
je 0x430a7c
lea eax, [ebp - 0x6c]
mov dword [edi + 0xbc], esi
push eax
mov ecx, edi
add esi, 0x24
call fcn.00401950
mov eax, dword [edi + 0x78]
add esp, 4
test eax, 0x100
je 0x430a9b
mov dword [edi + 0x80], esi
test esi, esi
mov esi, dword [ebp - 0x20]
je 0x430a9e
mov edx, esi
mov ecx, edi
call fcn.00402570
jmp 0x430a9e
mov esi, dword [ebp - 0x20]
movzx eax, word [edi + 0x18]
cmp ax, 0x20
cwde
jge 0x430ac9
mov eax, dword [eax*4 + 0x4a2638]
test eax, eax
je 0x430b23
lea ecx, [ebp - 0x6c]
push ecx
push esi
push edi
call eax
mov esi, dword [ebp - 0x1c]
add esp, 0xc
test ax, ax
jne 0x430af8
jmp 0x430b26
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 0x430b26
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 0x430b26
dec word [esi + 0x4bc]
mov edx, 1
movsx ecx, word [edi]
call fcn.00430b70
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 0x430b36
inc dword [esi + 0x518]
mov eax, dword [edi + 0x78]
test eax, 0x200
je 0x430b44
mov ecx, edi
call fcn.00401ae0
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.0047beed
int3