Function at 0x4302e0
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 0x48f788
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x60
push esi
push edi
mov eax, dword [0x4a8014]
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 [0x4ab3ac]
mov edx, dword [0x4ab3a4]
mov dword [ebp - 0x1c], eax
mov eax, dword [eax + 0x1c]
mov dword [ebp - 0x28], eax
cmp di, word [edx + 0x194]
jb 0x430343
xor esi, esi
jmp 0x430359
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 0x43037e
mov edx, dword [ebp - 0x1c]
sub eax, 0x20
imul ecx, eax, 0x92
mov eax, dword [edx + 0x1d4]
cmp dword [ecx + eax], 0
je 0x430b6c
mov edx, dword [0x4ab3a8]
mov ax, word [ebp - 0x16]
movzx ecx, ax
cmp ax, word [edx + 0x48]
jb 0x430395
xor eax, eax
jmp 0x4303a5
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 0x430b6c
movzx eax, word [esi + 2]
cmp eax, 0x20
jae 0x430402
mov eax, dword [eax*4 + 0x498110]
test eax, eax
je 0x430b6c
push dword [ebp - 0x20]
call eax
add esp, 4
jmp 0x43042e
mov ecx, dword [edx + 0x1d4]
imul eax, eax, 0x92
mov ecx, dword [eax + ecx - 0x1218]
test ecx, ecx
je 0x430b6c
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 0x430b6c
push 1
push eax
call fcn.0047122f
mov edx, eax
add esp, 8
mov dword [ebp - 0x24], edx
test edx, edx
je 0x430b6c
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 0x43047a
cmp dword [ecx], 0
je 0x43047d
nop
add ecx, 8
cmp dword [ecx], 0
jne 0x430470
jmp 0x43047d
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 0x4304a6
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 0x4304d6
mov eax, dword [ebp - 0x1c]
mov word [eax + 0x14c], cx
mov eax, ecx
jmp 0x4304d9
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 [0x4ab3ac]
mov dword [edx + 8], eax
mov edx, dword [0x4ab3ac]
mov esi, dword [edx + 0x58]
cmp word [esi], di
je 0x43051b
nop word [eax + eax]
add esi, 0x92
cmp word [esi], di
jne 0x430510
movzx eax, word [esi + 6]
mov edi, dword [ebp - 0x24]
test ax, ax
jns 0x43055f
mov ax, word [edi]
mov ecx, esi
mov word [esi + 6], ax
mov eax, dword [0x4ab3ac]
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 0x430588
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 [0x4ab3ac]
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 0x4305b8
mov ax, word [esi + 0x44]
mov word [edi + 0x10], ax
jmp 0x4305c3
cmp word [esi + 0x44], 0xffff
jne 0x4305c3
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 0x430842
mov esi, dword [ebp - 0x28]
mov esi, dword [esi + 0x47c]
test esi, esi
je 0x430842
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 0x430842
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 0x430653
cmp word [eax + 2], dx
je 0x430834
add eax, 4
cmp word [eax], 0
jge 0x430640
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 0x43079e
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 0x430725
nop dword [eax]
mov ax, word [eax + 2]
cmp ax, word [ecx]
jne 0x430712
movzx eax, word [ecx - 2]
mov dword [ebp - 0x40], eax
cmp edi, esi
je 0x4306cf
mov word [esi], ax
add esi, 2
mov dword [ebp - 0x4c], esi
jmp 0x4306e5
lea eax, [ebp - 0x40]
push eax
push esi
lea ecx, [ebp - 0x50]
call fcn.00431e90
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 0x4306fa
mov word [esi], ax
add esi, 2
mov dword [ebp - 0x4c], esi
jmp 0x430710
lea eax, [ebp - 0x40]
push eax
push esi
lea ecx, [ebp - 0x50]
call fcn.00431e90
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 0x4306b0
test dl, dl
jne 0x430784
mov eax, dword [ebp - 0x30]
cmp word [ecx], ax
jne 0x430784
movzx eax, word [ecx - 2]
mov dword [ebp - 0x40], eax
cmp edi, esi
je 0x430743
mov word [esi], ax
add esi, 2
mov dword [ebp - 0x4c], esi
jmp 0x430759
lea eax, [ebp - 0x40]
push eax
push esi
lea ecx, [ebp - 0x50]
call fcn.00431e90
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 0x43076e
mov word [esi], ax
add esi, 2
mov dword [ebp - 0x4c], esi
jmp 0x430784
lea eax, [ebp - 0x40]
push eax
push esi
lea ecx, [ebp - 0x50]
call fcn.00431e90
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 0x430690
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 0x4307cf
sar esi, 1
lea eax, [esi + esi]
push eax
push ecx
lea eax, [edx + 0x16]
push eax
call fcn.00470cb0
mov ecx, dword [ebp - 0x38]
add esp, 0xc
mov edx, dword [ebp - 0x40]
jmp 0x4307d1
sar esi, 1
mov dword [edx + esi*2 + 0x16], 0xffffffff
lea eax, [edx + esi*2]
mov dword [ebp - 4], 0xffffffff
test ecx, ecx
je 0x430829
sub edi, ecx
mov eax, ecx
and edi, 0xfffffffe
cmp edi, 0x1000
jb 0x43080a
mov ecx, dword [ecx - 4]
add edi, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x430bbb
push edi
push ecx
call fcn.0046da1c
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 0x430620
mov edi, dword [ebp - 0x24]
mov ecx, dword [edi + 0x78]
test ecx, 0x8000
jne 0x43088f
movzx edx, word [edi + 0x94]
and ecx, 0xffffbfff
mov dword [edi + 0x78], ecx
mov esi, ecx
test edx, 0x200
je 0x43087e
mov eax, dword [0x4ab3a8]
test byte [eax + 0xc], 0x20
je 0x43087e
or ecx, 0x4000
mov dword [edi + 0x78], ecx
test edx, 0x500
je 0x43088f
or ecx, 0x4000
mov dword [edi + 0x78], ecx
movzx eax, word [edi + 0x18]
cmp ax, 0x20
cwde
jge 0x4308aa
mov esi, dword [eax*4 + 0x498098]
mov eax, dword [eax*4 + 0x498070]
jmp 0x4308d8
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 0x4308d1
mov eax, fcn.0045f110
jmp 0x4308d8
mov eax, dword [eax + edx - 0x1234]
test cl, 2
mov dword [edi + 0x88], esi
push 0
mov ecx, 0x431130
cmovne eax, ecx
push 0
push edi
mov dword [edi + 0x90], eax
mov dword [edi + 0x8c], eax
call fcn.00430040
mov eax, dword [ebp - 0x1c]
test byte [eax + 0x28], 0x20
je 0x430918
movsx ecx, word [edi + 0x12]
call fcn.00439a60
mov ecx, eax
call fcn.0043a860
mov eax, dword [ebx + 8]
mov edx, dword [ebp - 0x20]
mov esi, dword [ebp - 0x34]
mov dword [edi + 0x44], edx
cmp eax, 0x80000000
jne 0x43092e
mov eax, dword [esi + 4]
mov dword [ebp - 0x64], eax
mov dword [edi + 0x4c], eax
mov eax, dword [ebx + 0xc]
cmp eax, 0x80000000
jne 0x430941
mov eax, dword [esi + 8]
mov dword [ebp - 0x60], eax
mov dword [edi + 0x54], eax
mov eax, dword [ebx + 0x18]
test esi, esi
je 0x430957
cmp eax, 0xffffffff
jne 0x430957
movzx eax, word [esi + 0x10]
mov dword [ebp - 0x58], eax
lea ecx, [eax + eax*2]
mov dword [edi + 0x84], eax
mov eax, dword [0x4ab3a8]
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 0x4309cd
mov esi, 0x130
mov dword [edi + 0xc0], fcn.0040e2f0
mov dword [edi + 0xc4], 0x437130
mov dword [edi + 0xe0], 0x3f800000
mov dword [edi + 0xe4], 0x3f800000
mov dword [edi + 0xcc], 0xffffffff
test al, 0x10
je 0x4309f1
add esi, 0x9e
test byte [ebp - 0x66], 1
jne 0x4309f1
lea eax, [ebp - 0x6c]
xor ecx, ecx
push eax
push edx
mov edx, edi
call fcn.004325f0
mov eax, dword [edi + 0x78]
add esp, 8
test al, 0x20
je 0x430ab8
mov dword [edi + 0xb8], esi
mov ecx, edi
add esi, 0x50
mov dword [edi + 0xc4], fcn.00437220
call fcn.00437180
mov edx, dword [edi + 0x44]
movzx edi, word [edx + 6]
cmp word [edx + edi + 0xa], 0
jl 0x430a65
mov edi, dword [ebp - 0x24]
mov eax, dword [edi + 0xb8]
mov dword [edi + 0xc4], 0x436da0
mov dword [edi + eax], 4
xor edx, edx
mov ecx, edi
call fcn.00437290
mov eax, dword [edi + 0xb8]
cmp dword [eax + edi + 0x3c], 0
jne 0x430a5a
mov dword [eax + edi + 0x3c], 1
push edi
call fcn.00437220
add esp, 4
jmp 0x430ab8
xor ecx, ecx
xor eax, eax
nop dword [eax]
lea eax, [edx + eax*2]
cmp word [eax + edi + 4], 0
jge 0x430a87
mov eax, dword [ecx*4 + 0x498654]
inc ecx
test eax, eax
jns 0x430a70
cmp dword [ecx*4 + 0x498650], 0
jge 0x430ab5
cmp word [edi + edx + 0xc], 0
mov edi, dword [ebp - 0x24]
jl 0x430ab8
mov eax, dword [edi + 0xb8]
mov dword [edi + 0xc4], 0x436f30
mov dword [edi + eax], 5
jmp 0x430a3c
mov edi, dword [ebp - 0x24]
mov eax, dword [edi + 0x78]
test eax, 0x200
je 0x430adc
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 0x430afb
mov dword [edi + 0x80], esi
test esi, esi
mov esi, dword [ebp - 0x20]
je 0x430afe
mov edx, esi
mov ecx, edi
call fcn.00402570
jmp 0x430afe
mov esi, dword [ebp - 0x20]
movzx eax, word [edi + 0x18]
cmp ax, 0x20
cwde
jge 0x430b29
mov eax, dword [eax*4 + 0x4980e8]
test eax, eax
je 0x430b83
lea ecx, [ebp - 0x6c]
push ecx
push esi
push edi
call eax
mov esi, dword [ebp - 0x1c]
add esp, 0xc
test ax, ax
jne 0x430b58
jmp 0x430b86
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 0x430b86
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 0x430b86
dec word [esi + 0x4bc]
mov edx, 1
movsx ecx, word [edi]
call fcn.00430bd0
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 0x430b96
inc dword [esi + 0x518]
mov eax, dword [edi + 0x78]
test eax, 0x200
je 0x430ba4
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.0047265d
int3