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

Disassembly:
sub esp, 0x38
mov eax, dword [0x45157c]
push ebx
xor ebx, ebx
push ebp
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [eax + 0x140], ebx
mov ebp, dword [0x451578]
push esi
push edi
mov cx, word [ebp + 0x8f2]
mov eax, dword [ebp + 0x480]
xor edi, edi
xor edx, edx
cmp cx, bx
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], edx
jle 0x42f926
and ecx, 0xffff
mov esi, ecx
mov cx, word [eax]
cmp cx, 0xffff
je 0x42f918
movsx ecx, cx
or ebp, 0xffffffff
inc edx
inc ecx
mov dword [eax + 0x14], ebp
mov word [eax + 0x34], bx
mov word [eax + 0x36], bp
mov ebp, dword [0x451578]
cmp edi, ecx
jg 0x42f918
mov edi, ecx
add eax, 0x76
dec esi
jne 0x42f8f0
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], edx
movsx eax, dx
cmp edi, eax
jg 0x42f933
mov edi, eax
mov dword [esp + 0x34], edi
mov ax, word [ebp + 0x4a4]
cmp ax, bx
jle 0x42fb51
mov dword [esp + 0x30], ebx
mov ebx, dword [ebp + 0x4a0]
test ax, ax
jle 0x42f9d6
mov ecx, dword [ebp + 0x480]
and eax, 0xffff
mov dword [esp + 0x44], ecx
mov dword [esp + 0x40], eax
mov si, word [ebx]
mov ecx, dword [esp + 0x44]
and esi, 0x7fff
xor edi, edi
cmp word [ecx], 0xffff
je 0x42f9c2
mov bp, word [ebx + 2]
cmp word [ecx + 4], bp
jne 0x42f9a5
xor edx, edx
movsx eax, dx
mov ax, word [ecx + eax*2 + 0x4a]
cmp ax, 0xffff
je 0x42f9a5
cmp si, ax
jne 0x42f99e
inc edi
inc edx
cmp dx, 8
jl 0x42f98a
add ecx, 0x76
cmp word [ecx], 0xffff
jne 0x42f982
test di, di
je 0x42f9c2
mov edx, dword [esp + 0x30]
movsx ecx, di
lea eax, [edx + ecx + 1]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x40]
add ebx, 6
dec eax
mov dword [esp + 0x40], eax
jne 0x42f969
mov ebp, dword [0x451578]
mov ecx, dword [0x45157c]
mov eax, dword [esp + 0x30]
add ebp, 0x488
mov edx, dword [ecx + 0x54]
push ebp
movsx ecx, word [ebp + 0x1c]
lea eax, [edx + eax + 1]
imul eax, ecx
lea edx, [eax + eax*2]
lea eax, [eax + edx*4]
shl eax, 3
push eax
call fcn.0041ccc0
add esp, 8
test eax, eax
je 0x43076d
mov eax, dword [0x451578]
mov dword [esp + 0x40], 0
mov ecx, dword [eax + 0x488]
mov edx, dword [eax + 0x4a0]
cmp word [eax + 0x4a4], 0
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], edx
jle 0x42fb2c
mov ecx, dword [esp + 0x2c]
mov esi, dword [eax + 0x480]
mov edx, dword [esp + 0x28]
xor ebx, ebx
mov bp, word [ecx]
and ebp, 0x7fff
cmp word [esi], 0xffff
lea ecx, [edx + 0x16]
je 0x42faf3
mov edx, dword [esp + 0x2c]
mov ax, word [esi + 4]
cmp ax, word [edx + 2]
jne 0x42fabc
xor edi, edi
movsx eax, di
mov ax, word [esi + eax*2 + 0x4a]
cmp ax, 0xffff
je 0x42fabc
cmp bp, ax
jne 0x42fab5
mov dx, word [esi]
inc ebx
mov word [ecx], dx
mov eax, dword [0x451578]
mov edx, esi
add ecx, 2
sub edx, dword [eax + 0x480]
mov eax, 0x22b63cbf
imul edx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
mov word [ecx], dx
add ecx, 2
inc edi
cmp di, 8
jl 0x42fa74
add esi, 0x76
cmp word [esi], 0xffff
jne 0x42fa64
test bx, bx
je 0x42faf3
mov dx, word [esp + 0x28]
mov word [ecx], 0xffff
add ecx, 2
mov word [ecx], 0xffff
mov eax, dword [0x451578]
add ecx, 2
sub dx, word [eax + 0x488]
mov eax, dword [esp + 0x2c]
mov word [eax + 4], dx
mov edx, dword [esp + 0x28]
mov esi, dword [esp + 0x2c]
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], 0xffffffff
mov eax, dword [0x451578]
inc ecx
add esi, 6
cmp cx, word [eax + 0x4a4]
mov dword [esp + 0x40], ecx
mov dword [esp + 0x2c], esi
jl 0x42fa3e
mov ecx, dword [esp + 0x28]
mov ebx, dword [eax + 0x488]
add eax, 0x488
sub ecx, ebx
push eax
push ecx
call fcn.0041cd00
add esp, 8
test eax, eax
je 0x43076d
mov edi, dword [esp + 0x34]
xor ebx, ebx
lea eax, [esp + 0x1c]
push eax
lea eax, [edi + edi*4 + 5]
lea ecx, [eax + eax*4]
shl ecx, 4
push ecx
call fcn.0041ccc0
add esp, 8
test eax, eax
je 0x43076d
mov eax, dword [0x451578]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x28], edx
mov eax, dword [eax + 0x80]
mov dword [esp + 0x10], eax
cmp word [eax], bx
je 0x43005f
mov ebx, dword [esp + 0x44]
mov ecx, dword [esp + 0x10]
movzx ax, byte [ecx + 3]
lea edi, [ecx + 0xe]
movzx cx, byte [ecx + 2]
add eax, ecx
test ax, ax
jle 0x42fce9
and eax, 0xffff
mov dword [esp + 0x30], eax
mov dl, byte [edi + 0xa]
mov ax, word [edi + 2]
and dl, 0x7f
test ax, ax
mov byte [edi + 0xa], dl
jl 0x42fbde
mov dx, word [edi + 6]
push eax
push edx
call fcn.00430f00
add esp, 8
mov word [edi + 8], ax
movsx ax, byte [edi + 0xc]
test ax, ax
jle 0x42fcd5
mov ecx, dword [edi + 2]
lea ebx, [edi + 0x10]
test ecx, ecx
jl 0x42fbf9
lea ebx, [edi + 0xe]
and eax, 0xffff
mov ebp, eax
movsx eax, word [ebx + 2]
dec eax
cmp eax, 0x3d
ja case.0x42fc16.6
xor ecx, ecx
mov cl, byte [eax + 0x430bb8]
jmp dword [ecx*4 + 0x430ba0]
mov dword [ebx + 4], 0
jmp case.0x42fc16.6
test byte [edi + 7], 0x80
jne 0x42fc5c
call fcn.00423510
test eax, eax
je case.0x42fc16.2
mov dx, word [edi + 6]
cmp dx, word [eax + 2]
je 0x42fc4d
call fcn.00423490
test eax, eax
jne 0x42fc38
jmp case.0x42fc16.2
push eax
call fcn.00423560
add esp, 4
mov word [ebx + 0x1a], ax
jmp case.0x42fc16.2
mov word [ebx + 0x1a], 0xffff
mov ax, word [ebx + 4]
cmp ax, 0xffff
je case.0x42fc16.6
mov cx, word [ebx + 0x14]
push ecx
push eax
call fcn.00430f00
add esp, 8
mov word [ebx + 0x16], ax
jmp case.0x42fc16.6
mov dx, word [ebx + 8]
mov ax, word [ebx + 6]
push edx
push eax
call fcn.00430f00
add esp, 8
mov word [ebx + 4], ax
jmp case.0x42fc16.6
mov eax, dword [ebx + 6]
lea esi, [ebx + 6]
test eax, eax
je case.0x42fc16.6
mov ax, word [esi]
test ax, ax
jle 0x42fcbc
mov cx, word [esi + 6]
push eax
push ecx
call fcn.00430f00
add esp, 8
mov word [esi + 8], ax
movsx edx, word [esi + 4]
mov eax, dword [esi + edx]
add esi, edx
test eax, eax
jne 0x42fca2
movsx eax, word [ebx]
add ebx, eax
dec ebp
jne 0x42fc00
movsx ecx, word [edi]
mov eax, dword [esp + 0x30]
add edi, ecx
dec eax
mov dword [esp + 0x30], eax
jne 0x42fbba
mov ecx, dword [esp + 0x10]
mov ebp, 0x81f
mov dword [esp + 0x30], 0
mov dword [esp + 0x2c], ebp
movzx ax, byte [ecx + 3]
movzx dx, byte [ecx + 2]
add eax, edx
lea esi, [ecx + 0xe]
test ax, ax
jle 0x430038
and eax, 0xffff
mov dword [esp + 0x44], eax
mov eax, dword [esi + 2]
mov edx, 2
cmp ax, dx
mov dword [esp + 0x14], 0
jl 0x42fee3
push eax
call fcn.00431180
add esp, 4
cmp eax, 0xfffc0000
jg 0x42fdf6
je 0x42fd9e
cmp eax, 0xfff40000
jg 0x42fd7e
je 0x42fd89
cmp eax, 0xfff20000
je 0x42fd9e
cmp eax, 0xfff30000
jne 0x42ff68
mov dword [esp + 0x3c], 0x200
mov dword [esp + 0x14], 1
jmp 0x42ff68
cmp eax, 0xfff50000
jne 0x42ff68
mov dword [esp + 0x3c], 0x400
mov dword [esp + 0x14], 1
jmp 0x42ff68
mov ax, word [esi + 2]
push eax
call fcn.00430f80
add esp, 4
lea ebx, [esi + 0x10]
neg eax
sbb eax, eax
and eax, 0xfffff000
add eax, 0x1100
mov dword [esp + 0x40], eax
mov eax, dword [esi + 2]
test eax, eax
jl 0x42fdca
lea ebx, [esi + 0xe]
mov ax, word [ebx + 8]
push eax
call fcn.00430f80
add esp, 4
mov dword [esp + 0x14], 3
neg eax
sbb eax, eax
and eax, 0xfffff000
add eax, 0x1100
mov dword [esp + 0x3c], eax
jmp 0x42ff68
cmp eax, 0x40000
je 0x42fe1e
cmp eax, 0x90000
je 0x42fe1e
cmp eax, 0x190000
jne 0x42ff68
mov eax, dword [esp + 0x30]
or al, 0x10
mov dword [esp + 0x30], eax
jmp 0x42ff68
mov edx, dword [esp + 0x30]
mov ax, word [esi + 6]
or dh, 8
test ah, ah
mov dword [esp + 0x30], edx
jns 0x42feb5
mov eax, dword [0x451578]
mov dx, word [esi + 8]
mov ecx, dword [eax + 0x488]
push ecx
push edx
call fcn.00431050
add esp, 8
cmp ax, 0xffff
je 0x42ff68
mov ebp, dword [esp + 0x10]
mov edi, dword [esp + 0x28]
mov ecx, dword [0x451578]
and eax, 0xffff
mov edx, dword [ecx + 0x488]
mov ecx, dword [ecx + 0x480]
push edx
lea edx, [eax*8]
sub edx, eax
lea edx, [eax + edx*4]
lea eax, [eax + edx*2]
mov dx, word [ecx + eax*2]
mov eax, dword [esp + 0x20]
push edx
push eax
push edi
push ebp
call fcn.00430c80
add esp, 0x14
mov edi, eax
call fcn.004310a0
cmp ax, 0xffff
jne 0x42fe60
mov ebp, dword [esp + 0x2c]
mov dword [esp + 0x28], edi
jmp 0x42ff68
mov ecx, dword [0x451578]
mov edx, dword [ecx + 0x488]
mov ecx, dword [esp + 0x28]
push edx
mov edx, dword [esp + 0x14]
push eax
mov eax, dword [esp + 0x24]
push eax
push ecx
push edx
call fcn.00430c80
add esp, 0x14
mov dword [esp + 0x28], eax
jmp 0x42ff68
cmp eax, 0xfffbffff
jg 0x42ff3b
je 0x42ff32
cmp eax, 0xfff9fffa
je 0x42ff0a
cmp eax, 0xfff9ffff
je 0x42ff32
cmp eax, 0xfffaffff
jne 0x42ff68
and ebp, 0xfffffffe
mov dword [esp + 0x2c], ebp
jmp 0x42ff68
test eax, eax
mov dword [esp + 0x40], 0x100
lea ecx, [esi + 0x10]
jl 0x42ff27
movsx ebx, word [esi + 0xe]
lea eax, [esi + 0xe]
lea ecx, [esi + 0xe]
add ebx, ecx
jmp 0x42ff64
movsx ebx, word [esi + 0x10]
lea eax, [esi + 0x10]
add ebx, ecx
jmp 0x42ff64
or ebp, 8
mov dword [esp + 0x2c], ebp
jmp 0x42ff68
cmp eax, 0xfffcfffa
je 0x42ff52
cmp eax, 0xfffcffff
jne 0x42ff68
or ebp, 6
mov dword [esp + 0x2c], ebp
jmp 0x42ff68
test eax, eax
mov dword [esp + 0x40], 0x100
lea ebx, [esi + 0x10]
jl 0x42ff64
lea ebx, [esi + 0xe]
mov dword [esp + 0x14], edx
test byte [esp + 0x14], 1
je 0x42ffc6
mov eax, dword [0x451578]
mov dx, word [esi + 8]
mov ecx, dword [eax + 0x488]
push ecx
push edx
call fcn.00430fd0
add esp, 8
cmp ax, 0xffff
je 0x42ffc6
mov edi, dword [esp + 0x3c]
and eax, 0xffff
lea ecx, [eax*8]
sub ecx, eax
lea edx, [eax + ecx*4]
mov ecx, dword [0x451578]
lea eax, [eax + edx*2]
mov edx, dword [ecx + 0x480]
or word [edx + eax*2 + 0x34], di
lea eax, [edx + eax*2 + 0x34]
call fcn.00431020
cmp ax, 0xffff
jne 0x42ff92
test byte [esp + 0x14], 2
je 0x430024
mov eax, dword [0x451578]
mov dx, word [ebx + 4]
mov ecx, dword [eax + 0x488]
push ecx
push edx
call fcn.00430fd0
add esp, 8
cmp ax, 0xffff
je 0x430024
mov edi, dword [esp + 0x40]
and eax, 0xffff
lea ecx, [eax*8]
sub ecx, eax
lea edx, [eax + ecx*4]
mov ecx, dword [0x451578]
lea eax, [eax + edx*2]
mov edx, dword [ecx + 0x480]
or word [edx + eax*2 + 0x34], di
lea eax, [edx + eax*2 + 0x34]
call fcn.00431020
cmp ax, 0xffff
jne 0x42fff0
movsx eax, word [esi]
add esi, eax
mov eax, dword [esp + 0x44]
dec eax
mov dword [esp + 0x44], eax
jne 0x42fd1f
mov eax, dword [esp + 0x10]
mov esi, dword [esp + 0x30]
not ebp
and bp, word [eax + 4]
movsx ecx, word [eax]
or ebp, esi
mov word [eax + 4], bp
sub eax, ecx
mov dword [esp + 0x10], eax
cmp word [eax], 0
jne 0x42fb95
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x34]
lea eax, [esp + 0x18]
mov word [edx], 0xffff
lea edx, [ecx*4 + 0x20]
push eax
push edx
call fcn.0041ccc0
add esp, 8
test eax, eax
je 0x43076d
mov ecx, dword [esp + 0x18]
xor eax, eax
mov edx, 0x4a6
mov esi, 7
mov dword [ecx], eax
mov edi, dword [0x451578]
add ecx, 4
movsx ebx, word [edx + edi]
add eax, ebx
add edx, 2
dec esi
jne 0x430099
mov ebx, dword [esp + 0x38]
mov esi, dword [edi + 0x480]
test bx, bx
jle 0x43010f
add esi, 4
and ebx, 0xffff
mov dword [ecx], eax
mov dx, word [esi]
mov edi, dword [0x451578]
cmp dx, 0x20
movsx edx, dx
jge 0x4300e6
movsx edx, word [edi + edx*2 + 0x4b4]
jmp 0x430102
lea ebp, [edx + edx*8]
shl ebp, 3
sub ebp, edx
mov edx, dword [0x451574]
mov edx, dword [edx + 0xe0]
movsx edx, word [edx + ebp*2 - 0x1148]
add esi, 0x76
add ecx, 4
dec ebx
lea eax, [eax + edx + 0x51]
jne 0x4300c8
add edi, 0x498
lea ebx, [eax*4]
push edi
push ebx
mov dword [esp + 0x48], ebx
call fcn.0041ccc0
add esp, 8
test eax, eax
je 0x43076d
mov ecx, dword [0x451578]
lea eax, [esp + 0x24]
push eax
mov dword [esp + 0x30], 0
movsx edx, word [ecx + 0x8f0]
lea eax, [edx + edx + 2]
push eax
call fcn.0041ccc0
add esp, 8
test eax, eax
je 0x43076d
mov ecx, dword [0x451578]
mov eax, dword [ecx + 0x80]
mov dword [esp + 0x10], eax
cmp word [eax], 0
je 0x430383
mov ecx, dword [esp + 0x10]
xor edx, edx
mov dword [esp + 0x44], edx
mov dword [esp + 0x14], edx
mov dl, byte [ecx + 2]
and byte [ecx + 5], 0xfb
lea esi, [ecx + 0xe]
mov eax, 1
test dl, dl
mov dword [esp + 0x30], esi
jbe 0x430368
mov edx, dword [esp + 0x30]
mov ebx, dword [edx + 2]
mov cx, word [edx + 2]
mov ebp, ebx
sar ebp, 0x10
neg ebp
test eax, eax
je 0x4302fc
mov eax, edx
test byte [eax + 0xa], 0x20
je 0x4301ca
inc dword [esp + 0x2c]
test cx, cx
jge 0x4301f6
mov eax, dword [esp + 0x18]
movsx edx, cx
mov ecx, dword [eax + edx*4 + 0x1c]
mov edx, dword [0x451578]
mov eax, dword [edx + 0x498]
lea eax, [eax + ecx*4]
movsx ecx, bp
lea eax, [eax + ecx*4]
inc dword [eax]
jmp 0x4302fc
mov edx, dword [0x451578]
mov esi, dword [esp + 0x24]
mov ecx, dword [edx + 0x488]
mov dx, word [eax + 8]
push ecx
push edx
call fcn.00430fd0
add esp, 8
cmp ax, 0xffff
je 0x430258
movsx edi, bp
shl edi, 2
mov edx, dword [esp + 0x18]
mov ecx, eax
and ecx, 0xffff
add esi, 2
mov ecx, dword [edx + ecx*4 + 0x1c]
mov edx, dword [0x451578]
mov edx, dword [edx + 0x498]
lea ecx, [edx + ecx*4]
mov edx, dword [edi + ecx]
inc edx
mov dword [edi + ecx], edx
mov word [esi - 2], ax
call fcn.00431020
cmp ax, 0xffff
jne 0x430220
push ebx
mov word [esi], 0xffff
call fcn.00431180
add esp, 4
cmp eax, 0xfff20000
jne 0x4302fc
mov eax, dword [esp + 0x30]
mov ecx, dword [eax + 2]
test ecx, ecx
jge 0x430281
add eax, 0x10
jmp 0x430284
add eax, 0xe
mov ecx, dword [0x451578]
mov ax, word [eax + 4]
mov edx, dword [ecx + 0x488]
push edx
push eax
call fcn.00430fd0
add esp, 8
cmp ax, 0xffff
je 0x4302fc
mov edx, dword [esp + 0x24]
mov cx, word [edx]
cmp cx, ax
je 0x4302c3
cmp cx, 0xffff
je 0x4302ca
mov cx, word [edx + 2]
add edx, 2
cmp cx, ax
jne 0x4302b0
cmp word [edx], 0xffff
jne 0x4302f1
mov ecx, dword [esp + 0x18]
and eax, 0xffff
mov edx, dword [ecx + eax*4 + 0x1c]
mov eax, dword [0x451578]
mov ecx, dword [eax + 0x498]
lea eax, [ecx + edx*4]
movsx edx, bp
mov ecx, dword [eax + edx*4]
lea eax, [eax + edx*4]
inc ecx
mov dword [eax], ecx
call fcn.00431020
cmp ax, 0xffff
jne 0x4302a4
mov esi, dword [esp + 0x30]
xor eax, eax
mov ecx, dword [esi + 2]
cmp ecx, 0xffe8ffff
je 0x430315
cmp ecx, 0xffe7ffff
jne 0x430344
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x44]
mov eax, 1
or byte [ecx + 5], 4
test edx, edx
jne 0x430333
mov edx, dword [esi + 2]
mov dword [esp + 0x44], edx
jmp 0x430336
mov dword [esi + 2], edx
cmp edx, 0xffe7ffff
jne 0x430348
or byte [ecx + 5], 0x10
jmp 0x430348
mov ecx, dword [esp + 0x10]
movsx edx, word [esi]
add esi, edx
xor edx, edx
mov dl, byte [ecx + 2]
mov dword [esp + 0x30], esi
mov esi, dword [esp + 0x14]
inc esi
cmp si, dx
mov dword [esp + 0x14], esi
jl 0x4301a4
mov eax, dword [esp + 0x10]
movsx ecx, word [eax]
sub eax, ecx
mov dword [esp + 0x10], eax
cmp word [eax], 0
jne 0x43017b
mov ebx, dword [esp + 0x40]
mov edx, dword [esp + 0x2c]
mov eax, dword [0x451578]
and edx, 0xffff
mov ecx, ebx
mov eax, dword [eax + 0x498]
shr ecx, 2
lea esi, [edx*8 + 4]
je 0x4303b8
mov edx, dword [eax]
test edx, edx
je 0x4303b2
mov dword [eax], esi
lea esi, [esi + edx*8 + 4]
add eax, 4
dec ecx
jne 0x4303a6
mov ecx, dword [0x451578]
add ecx, 0x49c
push ecx
push esi
call fcn.0041cc80
add esp, 8
test eax, eax
je 0x43076d
mov edx, dword [0x451578]
mov ecx, esi
or eax, 0xffffffff
mov edi, dword [edx + 0x49c]
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
lea eax, [esp + 0x20]
push eax
push ebx
call fcn.0041cc80
add esp, 8
test eax, eax
je 0x43076d
mov ecx, dword [0x451578]
mov eax, dword [esp + 0x20]
push ebx
mov edx, dword [ecx + 0x498]
push edx
push eax
call dword [sym.imp.MSVCRT.dll_memmove]
mov eax, dword [0x451578]
add esp, 0xc
mov dword [esp + 0x44], 0
mov ecx, dword [eax + 0x80]
mov dword [esp + 0x10], ecx
cmp word [ecx], 0
je 0x430718
mov ecx, dword [esp + 0x10]
mov esi, 1
mov dword [esp + 0x14], 0
mov dl, byte [ecx + 2]
lea ebx, [ecx + 0xe]
test dl, dl
jbe 0x430701
mov ecx, dword [ebx + 2]
mov bp, word [ebx + 2]
mov dword [esp + 0x30], ecx
sar ecx, 0x10
neg ecx
test esi, esi
mov dword [esp + 0x3c], ecx
je 0x4306c7
test byte [ebx + 0xa], 0x20
je 0x4304dd
mov esi, dword [esp + 0x2c]
mov edi, dword [esp + 0x44]
mov ecx, dword [eax + 0x49c]
inc esi
mov edx, dword [esp + 0x10]
mov dword [esp + 0x2c], esi
mov esi, edi
and esi, 0xffff
add esi, ecx
mov ecx, dword [eax + 0x80]
push ecx
push edx
call fcn.00431190
mov dword [esi], eax
mov eax, dword [0x451578]
mov ecx, dword [eax + 0x80]
push ecx
push ebx
call fcn.00431190
add esp, 0x10
add edi, 8
mov dword [esi + 4], eax
mov eax, dword [0x451578]
mov dword [esp + 0x44], edi
test bp, bp
jge 0x43053d
mov esi, dword [esp + 0x18]
movsx ecx, word [esp + 0x3c]
movsx edx, bp
mov edx, dword [esi + edx*4 + 0x1c]
mov esi, dword [eax + 0x49c]
add edx, ecx
mov ecx, dword [esp + 0x20]
lea edi, [ecx + edx*4]
mov edx, dword [eax + 0x80]
mov eax, dword [esp + 0x10]
push edx
mov ecx, dword [edi]
push eax
add esi, ecx
call fcn.00431190
mov dword [esi], eax
mov ecx, dword [0x451578]
mov edx, dword [ecx + 0x80]
push edx
push ebx
call fcn.00431190
mov dword [esi + 4], eax
mov eax, dword [edi]
add esp, 0x10
add eax, 8
mov dword [edi], eax
jmp 0x4306c2
mov edx, dword [eax + 0x488]
mov ax, word [ebx + 8]
mov ecx, dword [esp + 0x24]
push edx
push eax
mov dword [esp + 0x48], ecx
call fcn.00430fd0
mov edi, eax
add esp, 8
cmp di, 0xffff
je 0x4305df
mov edx, dword [esp + 0x18]
mov ecx, edi
movsx eax, word [esp + 0x3c]
and ecx, 0xffff
mov ecx, dword [edx + ecx*4 + 0x1c]
mov edx, dword [esp + 0x20]
add ecx, eax
mov eax, dword [0x451578]
mov esi, dword [eax + 0x49c]
mov eax, dword [eax + 0x80]
lea ebp, [edx + ecx*4]
mov ecx, dword [esp + 0x10]
push eax
push ecx
add esi, dword [ebp]
call fcn.00431190
mov dword [esi], eax
mov edx, dword [0x451578]
mov eax, dword [edx + 0x80]
push eax
push ebx
call fcn.00431190
mov dword [esi + 4], eax
mov edx, dword [ebp]
mov eax, dword [esp + 0x50]
add edx, 8
mov dword [ebp], edx
add esp, 0x10
mov word [eax], di
add eax, 2
mov dword [esp + 0x40], eax
call fcn.00431020
mov edi, eax
cmp di, 0xffff
jne 0x430562
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x30]
push edx
mov word [ecx], 0xffff
call fcn.00431180
add esp, 4
cmp eax, 0xfff20000
jne 0x4306c2
mov eax, dword [ebx + 2]
test eax, eax
lea eax, [ebx + 0x10]
jl 0x43060d
lea eax, [ebx + 0xe]
mov ecx, dword [0x451578]
mov ax, word [eax + 4]
mov edx, dword [ecx + 0x488]
push edx
push eax
call fcn.00430fd0
add esp, 8
cmp ax, 0xffff
je 0x4306c2
mov ebp, dword [esp + 0x10]
mov edx, dword [esp + 0x24]
mov cx, word [edx]
cmp cx, ax
je 0x430654
cmp cx, 0xffff
je 0x43065b
mov cx, word [edx + 2]
add edx, 2
cmp cx, ax
jne 0x430641
cmp word [edx], 0xffff
jne 0x4306b3
mov edx, dword [esp + 0x18]
and eax, 0xffff
movsx ecx, word [esp + 0x3c]
mov eax, dword [edx + eax*4 + 0x1c]
add eax, ecx
mov ecx, dword [esp + 0x20]
lea edi, [ecx + eax*4]
mov eax, dword [0x451578]
mov edx, dword [eax + 0x80]
mov esi, dword [eax + 0x49c]
mov ecx, dword [edi]
push edx
push ebp
add esi, ecx
call fcn.00431190
mov dword [esi], eax
mov eax, dword [0x451578]
mov ecx, dword [eax + 0x80]
push ecx
push ebx
call fcn.00431190
mov dword [esi + 4], eax
mov eax, dword [edi]
add esp, 0x10
add eax, 8
mov dword [edi], eax
call fcn.00431020
cmp ax, 0xffff
jne 0x430635
mov eax, dword [0x451578]
mov ecx, dword [ebx + 2]
xor esi, esi
cmp ecx, 0xffe8ffff
je 0x4306dc
cmp ecx, 0xffe7ffff
jne 0x4306e1
mov esi, 1
movsx edx, word [ebx]
mov edi, dword [esp + 0x14]
add ebx, edx
mov edx, dword [esp + 0x10]
xor ecx, ecx
inc edi
mov cl, byte [edx + 2]
mov dword [esp + 0x14], edi
cmp di, cx
jl 0x430467
mov ecx, dword [esp + 0x10]
movsx edx, word [ecx]
sub ecx, edx
mov dword [esp + 0x10], ecx
cmp word [ecx], 0
jne 0x430448
lea eax, [esp + 0x24]
push eax
call fcn.0041cd50
lea ecx, [esp + 0x24]
push ecx
call fcn.0041cd50
mov edx, dword [esp + 0x20]
mov eax, dword [0x451578]
mov ebp, dword [esp + 0x24]
add eax, 0x494
mov ecx, dword [edx + 0xc]
mov edx, dword [eax + 4]
push eax
mov eax, dword [esp + 0x34]
mov ecx, dword [edx + ecx*4 + 0xc]
sub eax, ebp
cdq
sub eax, edx
mov edx, dword [esp + 0x40]
sar eax, 1
mov dword [esp + 0x3c], ecx
lea eax, [eax + edx*2 + 2]
push eax
call fcn.0041cc80
add esp, 0x10
test eax, eax
jne 0x4307bf
lea ecx, [esp + 0x1c]
push ecx
call fcn.0041cd50
lea edx, [esp + 0x24]
push edx
call fcn.0041cd50
lea eax, [esp + 0x20]
push eax
call fcn.0041cd50
add esp, 0xc
call fcn.00430c00
mov ecx, dword [0x451578]
pop edi
pop esi
pop ebp
mov dword [ecx + 0x8fc], 0
mov edx, dword [0x45157c]
or ax, 0xffff
pop ebx
mov dword [edx + 0x1a8], 1
add esp, 0x38
ret
mov eax, dword [0x451578]
cmp word [esp + 0x38], 0
mov ecx, dword [eax + 0x494]
mov ebx, dword [eax + 0x480]
mov dword [esp + 0x3c], ecx
jle 0x43096f
mov ecx, dword [esp + 0x38]
mov ebp, dword [esp + 0x3c]
and ecx, 0xffff
mov dword [esp + 0x34], 0x1c
mov dword [esp + 0x44], ecx
jmp 0x430801
mov eax, dword [0x451578]
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x34]
mov eax, dword [eax + 0x498]
mov edx, dword [ecx + edx]
lea ecx, [eax + edx*4]
mov edx, ecx
sub edx, eax
mov al, byte [ebx + 0x30]
test al, 0x10
mov dword [ebx + 8], edx
je 0x430952
mov ecx, dword [ecx + 0x30]
mov dword [esp + 0x40], 0
test ecx, ecx
je 0x4308e1
mov eax, dword [0x451578]
mov edi, dword [eax + 0x49c]
mov eax, dword [edi + ecx]
add edi, ecx
cmp eax, 0xffffffff
je 0x4308e1
mov ecx, dword [0x451578]
push eax
mov edx, dword [ecx + 0x80]
push edx
call fcn.004311a0
mov ecx, dword [0x451578]
mov esi, eax
mov eax, dword [edi + 4]
mov edx, dword [ecx + 0x80]
push eax
push edx
call fcn.004311a0
mov ecx, dword [eax + 2]
add esp, 0x10
test ecx, ecx
jge 0x43088d
add eax, 0x10
jmp 0x430890
add eax, 0xe
mov bp, word [eax + 4]
push 0
push esi
call fcn.004311b0
movzx cx, byte [esi + 3]
add esp, 8
test cx, cx
jle 0x4308ce
xor edx, edx
mov dx, word [ebx + 4]
or edx, 0x80000
and ecx, 0xffff
mov esi, ecx
cmp dword [eax + 2], edx
jne 0x4308c6
or dword [esp + 0x40], ebp
movsx ecx, word [eax]
add eax, ecx
dec esi
jne 0x4308bd
mov eax, dword [edi + 8]
add edi, 8
cmp eax, 0xffffffff
jne 0x430853
mov ebp, dword [esp + 0x3c]
mov dl, byte [esp + 0x40]
mov di, word [ebx]
mov byte [ebx + 0xc], dl
mov eax, dword [esp + 0x1c]
mov esi, eax
mov ecx, ebp
cmp word [eax], 0xffff
je 0x430952
cmp word [esi], di
jne 0x430928
mov dx, word [esi + 2]
test dh, dh
jns 0x43090c
or word [ebx + 0x34], dx
jmp 0x430928
cmp ebp, ecx
mov eax, ebp
jae 0x43091e
cmp word [eax], dx
je 0x43091e
add eax, 2
cmp eax, ecx
jb 0x430912
cmp eax, ecx
jne 0x430928
mov word [ecx], dx
add ecx, 2
add esi, 4
cmp word [esi], 0xffff
jne 0x4308f9
cmp ecx, ebp
jbe 0x430952
mov eax, dword [0x451578]
sub ebp, dword [eax + 0x494]
sar ebp, 1
mov word [ebx + 0x36], bp
lea ebp, [ecx + 2]
mov word [ecx], 0xffff
mov dword [esp + 0x3c], ebp
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x44]
add ebx, 0x76
add ecx, 4
dec eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x44], eax
jne 0x4307fc
lea ecx, [esp + 0x1c]
push ecx
call fcn.0041cd50
mov edx, dword [0x451578]
mov ecx, dword [0x45157c]
add esp, 4
mov esi, 7
mov eax, dword [edx + 0x488]
mov dword [ecx + 0x90], eax
mov edx, dword [0x451578]
mov ecx, dword [0x45157c]
mov eax, dword [edx + 0x494]
mov dword [ecx + 0x8c], eax
mov edx, dword [0x451578]
mov ecx, dword [0x45157c]
mov eax, dword [edx + 0x498]
mov dword [ecx + 0x5c], eax
mov edx, dword [0x451578]
mov ecx, dword [0x45157c]
mov eax, dword [edx + 0x49c]
mov dword [ecx + 0x7c], eax
mov edx, dword [0x451578]
mov ecx, dword [0x45157c]
mov eax, dword [edx + 0x80]
mov dword [ecx + 0x88], eax
mov eax, 0x60
mov ecx, 0x18
mov edx, dword [esp + 0x18]
add eax, 4
mov edi, dword [ecx + edx]
mov edx, dword [0x45157c]
sub ecx, 4
dec esi
mov ebx, dword [edx + 0x5c]
lea edi, [ebx + edi*4]
mov dword [eax + edx - 4], edi
jne 0x4309fd
lea eax, [esp + 0x18]
push eax
call fcn.0041cd50
mov ecx, dword [0x451578]
mov eax, dword [esp + 0x3c]
xor ebp, ebp
add esp, 4
mov edi, dword [ecx + 0x480]
cmp ax, bp
jle 0x430b3f
and eax, 0xffff
mov dword [esp + 0x44], eax
mov si, word [edi + 6]
xor ebx, ebx
test esi, 0x8000
jne 0x430b27
mov edx, dword [0x45157c]
push esi
push edx
inc ebx
call fcn.004396d0
mov edx, dword [edi + 8]
mov esi, eax
mov eax, dword [0x45157c]
add esp, 8
mov ecx, dword [eax + 0x5c]
mov eax, dword [esi + 0x78]
add ecx, edx
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], ecx
mov dx, word [edi + 0x34]
test al, 0x10
mov word [esi + 0x94], dx
je 0x430aa2
movsx ecx, byte [edi + 0xc]
mov dword [esi + 0x16e], ecx
test ah, 2
je 0x430ad0
mov dx, word [esi + 0x94]
and edx, 0x100
test dx, dx
jne 0x430ad0
mov eax, dword [esi + 0xd4]
cmp eax, ebp
je 0x430ad0
push ebp
push eax
mov eax, dword [0x45154c]
push eax
call sub.MMFS2.dll_Ordinal_69
mov eax, dword [esi + 0x78]
test ah, ah
js 0x430b17
mov cx, word [esi + 0x94]
and ah, 0xbf
mov edx, ecx
mov dword [esi + 0x78], eax
and edx, 0x200
test dx, dx
je 0x430b03
mov edx, dword [0x451578]
test byte [edx + 0xc], 0x20
je 0x430b03
or ah, 0x40
mov dword [esi + 0x78], eax
and ecx, 0x500
test cx, cx
je 0x430b17
mov eax, dword [esi + 0x78]
or ah, 0x40
mov dword [esi + 0x78], eax
mov si, word [esi + 0x16]
test esi, 0x8000
je 0x430a60
movsx eax, bx
mov dword [edi + 0x10], eax
mov eax, dword [esp + 0x44]
add edi, 0x76
dec eax
mov dword [esp + 0x44], eax
jne 0x430a4e
cmp word [esp + 0x2c], bp
je 0x430b56
mov eax, dword [0x45157c]
mov ecx, dword [eax + 0x7c]
mov dword [eax + 0x84], ecx
jmp 0x430b62
mov edx, dword [0x45157c]
mov dword [edx + 0x84], ebp
mov ecx, dword [esp + 0x30]
mov eax, dword [0x45157c]
cmp ecx, ebp
je 0x430b7c
mov edx, dword [eax + 0x7c]
add edx, ecx
mov dword [eax + 0x480], edx
jmp 0x430b82
mov dword [eax + 0x480], ebp
mov ecx, dword [0x451578]
pop edi
pop esi
pop ebp
mov dword [ecx + 0x8fc], 1
xor ax, ax
pop ebx
add esp, 0x38
ret