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

Disassembly:
sub esp, 0x38
mov eax, dword [0x452594]
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 [0x452590]
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 0x42ffd6
and ecx, 0xffff
mov esi, ecx
mov cx, word [eax]
cmp cx, 0xffff
je 0x42ffc8
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 [0x452590]
cmp edi, ecx
jg 0x42ffc8
mov edi, ecx
add eax, 0x76
dec esi
jne 0x42ffa0
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], edx
movsx eax, dx
cmp edi, eax
jg 0x42ffe3
mov edi, eax
mov dword [esp + 0x34], edi
mov ax, word [ebp + 0x4a4]
cmp ax, bx
jle 0x430201
mov dword [esp + 0x30], ebx
mov ebx, dword [ebp + 0x4a0]
test ax, ax
jle 0x430086
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 0x430072
mov bp, word [ebx + 2]
cmp word [ecx + 4], bp
jne 0x430055
xor edx, edx
movsx eax, dx
mov ax, word [ecx + eax*2 + 0x4a]
cmp ax, 0xffff
je 0x430055
cmp si, ax
jne 0x43004e
inc edi
inc edx
cmp dx, 8
jl 0x43003a
add ecx, 0x76
cmp word [ecx], 0xffff
jne 0x430032
test di, di
je 0x430072
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 0x430019
mov ebp, dword [0x452590]
mov ecx, dword [0x452594]
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.0041d130
add esp, 8
test eax, eax
je 0x430e1b
mov eax, dword [0x452590]
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 0x4301dc
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 0x4301a3
mov edx, dword [esp + 0x2c]
mov ax, word [esi + 4]
cmp ax, word [edx + 2]
jne 0x43016c
xor edi, edi
movsx eax, di
mov ax, word [esi + eax*2 + 0x4a]
cmp ax, 0xffff
je 0x43016c
cmp bp, ax
jne 0x430165
mov dx, word [esi]
inc ebx
mov word [ecx], dx
mov eax, dword [0x452590]
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 0x430124
add esi, 0x76
cmp word [esi], 0xffff
jne 0x430114
test bx, bx
je 0x4301a3
mov dx, word [esp + 0x28]
mov word [ecx], 0xffff
add ecx, 2
mov word [ecx], 0xffff
mov eax, dword [0x452590]
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 [0x452590]
inc ecx
add esi, 6
cmp cx, word [eax + 0x4a4]
mov dword [esp + 0x40], ecx
mov dword [esp + 0x2c], esi
jl 0x4300ee
mov ecx, dword [esp + 0x28]
mov ebx, dword [eax + 0x488]
add eax, 0x488
sub ecx, ebx
push eax
push ecx
call fcn.0041d170
add esp, 8
test eax, eax
je 0x430e1b
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.0041d130
add esp, 8
test eax, eax
je 0x430e1b
mov eax, dword [0x452590]
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 0x43070f
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 0x430399
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 0x43028e
mov dx, word [edi + 6]
push eax
push edx
call fcn.004315b0
add esp, 8
mov word [edi + 8], ax
movsx ax, byte [edi + 0xc]
test ax, ax
jle 0x430385
mov ecx, dword [edi + 2]
lea ebx, [edi + 0x10]
test ecx, ecx
jl 0x4302a9
lea ebx, [edi + 0xe]
and eax, 0xffff
mov ebp, eax
movsx eax, word [ebx + 2]
dec eax
cmp eax, 0x3d
ja case.0x4302c6.6
xor ecx, ecx
mov cl, byte [eax + 0x431264]
jmp dword [ecx*4 + 0x43124c]
mov dword [ebx + 4], 0
jmp case.0x4302c6.6
test byte [edi + 7], 0x80
jne 0x43030c
call fcn.00423bb0
test eax, eax
je case.0x4302c6.2
mov dx, word [edi + 6]
cmp dx, word [eax + 2]
je 0x4302fd
call fcn.00423b30
test eax, eax
jne 0x4302e8
jmp case.0x4302c6.2
push eax
call fcn.00423c00
add esp, 4
mov word [ebx + 0x1a], ax
jmp case.0x4302c6.2
mov word [ebx + 0x1a], 0xffff
mov ax, word [ebx + 4]
cmp ax, 0xffff
je case.0x4302c6.6
mov cx, word [ebx + 0x14]
push ecx
push eax
call fcn.004315b0
add esp, 8
mov word [ebx + 0x16], ax
jmp case.0x4302c6.6
mov dx, word [ebx + 8]
mov ax, word [ebx + 6]
push edx
push eax
call fcn.004315b0
add esp, 8
mov word [ebx + 4], ax
jmp case.0x4302c6.6
mov eax, dword [ebx + 6]
lea esi, [ebx + 6]
test eax, eax
je case.0x4302c6.6
mov ax, word [esi]
test ax, ax
jle 0x43036c
mov cx, word [esi + 6]
push eax
push ecx
call fcn.004315b0
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 0x430352
movsx eax, word [ebx]
add ebx, eax
dec ebp
jne 0x4302b0
movsx ecx, word [edi]
mov eax, dword [esp + 0x30]
add edi, ecx
dec eax
mov dword [esp + 0x30], eax
jne 0x43026a
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 0x4306e8
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 0x430593
push eax
call fcn.00431830
add esp, 4
cmp eax, 0xfffc0000
jg 0x4304a6
je 0x43044e
cmp eax, 0xfff40000
jg 0x43042e
je 0x430439
cmp eax, 0xfff20000
je 0x43044e
cmp eax, 0xfff30000
jne 0x430618
mov dword [esp + 0x3c], 0x200
mov dword [esp + 0x14], 1
jmp 0x430618
cmp eax, 0xfff50000
jne 0x430618
mov dword [esp + 0x3c], 0x400
mov dword [esp + 0x14], 1
jmp 0x430618
mov ax, word [esi + 2]
push eax
call fcn.00431630
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 0x43047a
lea ebx, [esi + 0xe]
mov ax, word [ebx + 8]
push eax
call fcn.00431630
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 0x430618
cmp eax, 0x40000
je 0x4304ce
cmp eax, 0x90000
je 0x4304ce
cmp eax, 0x190000
jne 0x430618
mov eax, dword [esp + 0x30]
or al, 0x10
mov dword [esp + 0x30], eax
jmp 0x430618
mov edx, dword [esp + 0x30]
mov ax, word [esi + 6]
or dh, 8
test ah, ah
mov dword [esp + 0x30], edx
jns 0x430565
mov eax, dword [0x452590]
mov dx, word [esi + 8]
mov ecx, dword [eax + 0x488]
push ecx
push edx
call fcn.00431700
add esp, 8
cmp ax, 0xffff
je 0x430618
mov ebp, dword [esp + 0x10]
mov edi, dword [esp + 0x28]
mov ecx, dword [0x452590]
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.00431330
add esp, 0x14
mov edi, eax
call fcn.00431750
cmp ax, 0xffff
jne 0x430510
mov ebp, dword [esp + 0x2c]
mov dword [esp + 0x28], edi
jmp 0x430618
mov ecx, dword [0x452590]
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.00431330
add esp, 0x14
mov dword [esp + 0x28], eax
jmp 0x430618
cmp eax, 0xfffbffff
jg 0x4305eb
je 0x4305e2
cmp eax, 0xfff9fffa
je 0x4305ba
cmp eax, 0xfff9ffff
je 0x4305e2
cmp eax, 0xfffaffff
jne 0x430618
and ebp, 0xfffffffe
mov dword [esp + 0x2c], ebp
jmp 0x430618
test eax, eax
mov dword [esp + 0x40], 0x100
lea ecx, [esi + 0x10]
jl 0x4305d7
movsx ebx, word [esi + 0xe]
lea eax, [esi + 0xe]
lea ecx, [esi + 0xe]
add ebx, ecx
jmp 0x430614
movsx ebx, word [esi + 0x10]
lea eax, [esi + 0x10]
add ebx, ecx
jmp 0x430614
or ebp, 8
mov dword [esp + 0x2c], ebp
jmp 0x430618
cmp eax, 0xfffcfffa
je 0x430602
cmp eax, 0xfffcffff
jne 0x430618
or ebp, 6
mov dword [esp + 0x2c], ebp
jmp 0x430618
test eax, eax
mov dword [esp + 0x40], 0x100
lea ebx, [esi + 0x10]
jl 0x430614
lea ebx, [esi + 0xe]
mov dword [esp + 0x14], edx
test byte [esp + 0x14], 1
je 0x430676
mov eax, dword [0x452590]
mov dx, word [esi + 8]
mov ecx, dword [eax + 0x488]
push ecx
push edx
call fcn.00431680
add esp, 8
cmp ax, 0xffff
je 0x430676
mov edi, dword [esp + 0x3c]
and eax, 0xffff
lea ecx, [eax*8]
sub ecx, eax
lea edx, [eax + ecx*4]
mov ecx, dword [0x452590]
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.004316d0
cmp ax, 0xffff
jne 0x430642
test byte [esp + 0x14], 2
je 0x4306d4
mov eax, dword [0x452590]
mov dx, word [ebx + 4]
mov ecx, dword [eax + 0x488]
push ecx
push edx
call fcn.00431680
add esp, 8
cmp ax, 0xffff
je 0x4306d4
mov edi, dword [esp + 0x40]
and eax, 0xffff
lea ecx, [eax*8]
sub ecx, eax
lea edx, [eax + ecx*4]
mov ecx, dword [0x452590]
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.004316d0
cmp ax, 0xffff
jne 0x4306a0
movsx eax, word [esi]
add esi, eax
mov eax, dword [esp + 0x44]
dec eax
mov dword [esp + 0x44], eax
jne 0x4303cf
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 0x430245
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.0041d130
add esp, 8
test eax, eax
je 0x430e1b
mov ecx, dword [esp + 0x18]
xor eax, eax
mov edx, 0x4a6
mov esi, 7
mov dword [ecx], eax
mov edi, dword [0x452590]
add ecx, 4
movsx ebx, word [edx + edi]
add eax, ebx
add edx, 2
dec esi
jne 0x430749
mov ebx, dword [esp + 0x38]
mov esi, dword [edi + 0x480]
test bx, bx
jle 0x4307bd
add esi, 4
and ebx, 0xffff
mov dword [ecx], eax
mov dx, word [esi]
mov edi, dword [0x452590]
cmp dx, 0x20
movsx edx, dx
jge 0x430796
movsx edx, word [edi + edx*2 + 0x4b4]
jmp 0x4307b0
lea ebp, [edx + edx*8]
lea edx, [edx + ebp*8]
mov ebp, dword [0x45258c]
mov ebp, dword [ebp + 0xe0]
movsx edx, word [ebp + edx*2 - 0x11c4]
add esi, 0x76
add ecx, 4
dec ebx
lea eax, [eax + edx + 0x51]
jne 0x430778
add edi, 0x498
lea ebx, [eax*4]
push edi
push ebx
mov dword [esp + 0x48], ebx
call fcn.0041d130
add esp, 8
test eax, eax
je 0x430e1b
mov ecx, dword [0x452590]
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.0041d130
add esp, 8
test eax, eax
je 0x430e1b
mov ecx, dword [0x452590]
mov eax, dword [ecx + 0x80]
mov dword [esp + 0x10], eax
cmp word [eax], 0
je 0x430a31
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 0x430a16
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 0x4309aa
mov eax, edx
test byte [eax + 0xa], 0x20
je 0x430878
inc dword [esp + 0x2c]
test cx, cx
jge 0x4308a4
mov eax, dword [esp + 0x18]
movsx edx, cx
mov ecx, dword [eax + edx*4 + 0x1c]
mov edx, dword [0x452590]
mov eax, dword [edx + 0x498]
lea eax, [eax + ecx*4]
movsx ecx, bp
lea eax, [eax + ecx*4]
inc dword [eax]
jmp 0x4309aa
mov edx, dword [0x452590]
mov esi, dword [esp + 0x24]
mov ecx, dword [edx + 0x488]
mov dx, word [eax + 8]
push ecx
push edx
call fcn.00431680
add esp, 8
cmp ax, 0xffff
je 0x430906
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 [0x452590]
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.004316d0
cmp ax, 0xffff
jne 0x4308ce
push ebx
mov word [esi], 0xffff
call fcn.00431830
add esp, 4
cmp eax, 0xfff20000
jne 0x4309aa
mov eax, dword [esp + 0x30]
mov ecx, dword [eax + 2]
test ecx, ecx
jge 0x43092f
add eax, 0x10
jmp 0x430932
add eax, 0xe
mov ecx, dword [0x452590]
mov ax, word [eax + 4]
mov edx, dword [ecx + 0x488]
push edx
push eax
call fcn.00431680
add esp, 8
cmp ax, 0xffff
je 0x4309aa
mov edx, dword [esp + 0x24]
mov cx, word [edx]
cmp cx, ax
je 0x430971
cmp cx, 0xffff
je 0x430978
mov cx, word [edx + 2]
add edx, 2
cmp cx, ax
jne 0x43095e
cmp word [edx], 0xffff
jne 0x43099f
mov ecx, dword [esp + 0x18]
and eax, 0xffff
mov edx, dword [ecx + eax*4 + 0x1c]
mov eax, dword [0x452590]
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.004316d0
cmp ax, 0xffff
jne 0x430952
mov esi, dword [esp + 0x30]
xor eax, eax
mov ecx, dword [esi + 2]
cmp ecx, 0xffe8ffff
je 0x4309c3
cmp ecx, 0xffe7ffff
jne 0x4309f2
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x44]
mov eax, 1
or byte [ecx + 5], 4
test edx, edx
jne 0x4309e1
mov edx, dword [esi + 2]
mov dword [esp + 0x44], edx
jmp 0x4309e4
mov dword [esi + 2], edx
cmp edx, 0xffe7ffff
jne 0x4309f6
or byte [ecx + 5], 0x10
jmp 0x4309f6
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 0x430852
mov eax, dword [esp + 0x10]
movsx ecx, word [eax]
sub eax, ecx
mov dword [esp + 0x10], eax
cmp word [eax], 0
jne 0x430829
mov ebx, dword [esp + 0x40]
mov edx, dword [esp + 0x2c]
mov eax, dword [0x452590]
and edx, 0xffff
mov ecx, ebx
mov eax, dword [eax + 0x498]
shr ecx, 2
lea esi, [edx*8 + 4]
je 0x430a66
mov edx, dword [eax]
test edx, edx
je 0x430a60
mov dword [eax], esi
lea esi, [esi + edx*8 + 4]
add eax, 4
dec ecx
jne 0x430a54
mov ecx, dword [0x452590]
add ecx, 0x49c
push ecx
push esi
call fcn.0041d0f0
add esp, 8
test eax, eax
je 0x430e1b
mov edx, dword [0x452590]
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.0041d0f0
add esp, 8
test eax, eax
je 0x430e1b
mov ecx, dword [0x452590]
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 [0x452590]
add esp, 0xc
mov dword [esp + 0x44], 0
mov ecx, dword [eax + 0x80]
mov dword [esp + 0x10], ecx
cmp word [ecx], 0
je 0x430dc6
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 0x430daf
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 0x430d75
test byte [ebx + 0xa], 0x20
je 0x430b8b
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.00431840
mov dword [esi], eax
mov eax, dword [0x452590]
mov ecx, dword [eax + 0x80]
push ecx
push ebx
call fcn.00431840
add esp, 0x10
add edi, 8
mov dword [esi + 4], eax
mov eax, dword [0x452590]
mov dword [esp + 0x44], edi
test bp, bp
jge 0x430beb
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.00431840
mov dword [esi], eax
mov ecx, dword [0x452590]
mov edx, dword [ecx + 0x80]
push edx
push ebx
call fcn.00431840
mov dword [esi + 4], eax
mov eax, dword [edi]
add esp, 0x10
add eax, 8
mov dword [edi], eax
jmp 0x430d70
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.00431680
mov edi, eax
add esp, 8
cmp di, 0xffff
je 0x430c8d
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 [0x452590]
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.00431840
mov dword [esi], eax
mov edx, dword [0x452590]
mov eax, dword [edx + 0x80]
push eax
push ebx
call fcn.00431840
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.004316d0
mov edi, eax
cmp di, 0xffff
jne 0x430c10
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x30]
push edx
mov word [ecx], 0xffff
call fcn.00431830
add esp, 4
cmp eax, 0xfff20000
jne 0x430d70
mov eax, dword [ebx + 2]
test eax, eax
lea eax, [ebx + 0x10]
jl 0x430cbb
lea eax, [ebx + 0xe]
mov ecx, dword [0x452590]
mov ax, word [eax + 4]
mov edx, dword [ecx + 0x488]
push edx
push eax
call fcn.00431680
add esp, 8
cmp ax, 0xffff
je 0x430d70
mov ebp, dword [esp + 0x10]
mov edx, dword [esp + 0x24]
mov cx, word [edx]
cmp cx, ax
je 0x430d02
cmp cx, 0xffff
je 0x430d09
mov cx, word [edx + 2]
add edx, 2
cmp cx, ax
jne 0x430cef
cmp word [edx], 0xffff
jne 0x430d61
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 [0x452590]
mov edx, dword [eax + 0x80]
mov esi, dword [eax + 0x49c]
mov ecx, dword [edi]
push edx
push ebp
add esi, ecx
call fcn.00431840
mov dword [esi], eax
mov eax, dword [0x452590]
mov ecx, dword [eax + 0x80]
push ecx
push ebx
call fcn.00431840
mov dword [esi + 4], eax
mov eax, dword [edi]
add esp, 0x10
add eax, 8
mov dword [edi], eax
call fcn.004316d0
cmp ax, 0xffff
jne 0x430ce3
mov eax, dword [0x452590]
mov ecx, dword [ebx + 2]
xor esi, esi
cmp ecx, 0xffe8ffff
je 0x430d8a
cmp ecx, 0xffe7ffff
jne 0x430d8f
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 0x430b15
mov ecx, dword [esp + 0x10]
movsx edx, word [ecx]
sub ecx, edx
mov dword [esp + 0x10], ecx
cmp word [ecx], 0
jne 0x430af6
lea eax, [esp + 0x24]
push eax
call fcn.0041d1c0
lea ecx, [esp + 0x24]
push ecx
call fcn.0041d1c0
mov edx, dword [esp + 0x20]
mov eax, dword [0x452590]
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.0041d0f0
add esp, 0x10
test eax, eax
jne 0x430e6d
lea ecx, [esp + 0x1c]
push ecx
call fcn.0041d1c0
lea edx, [esp + 0x24]
push edx
call fcn.0041d1c0
lea eax, [esp + 0x20]
push eax
call fcn.0041d1c0
add esp, 0xc
call fcn.004312b0
mov ecx, dword [0x452590]
pop edi
pop esi
pop ebp
mov dword [ecx + 0x8fc], 0
mov edx, dword [0x452594]
or ax, 0xffff
pop ebx
mov dword [edx + 0x1a8], 1
add esp, 0x38
ret
mov eax, dword [0x452590]
cmp word [esp + 0x38], 0
mov ecx, dword [eax + 0x494]
mov ebx, dword [eax + 0x480]
mov dword [esp + 0x3c], ecx
jle 0x43101d
mov ecx, dword [esp + 0x38]
mov ebp, dword [esp + 0x3c]
and ecx, 0xffff
mov dword [esp + 0x34], 0x1c
mov dword [esp + 0x44], ecx
jmp 0x430eaf
mov eax, dword [0x452590]
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 0x431000
mov ecx, dword [ecx + 0x30]
mov dword [esp + 0x40], 0
test ecx, ecx
je 0x430f8f
mov eax, dword [0x452590]
mov edi, dword [eax + 0x49c]
mov eax, dword [edi + ecx]
add edi, ecx
cmp eax, 0xffffffff
je 0x430f8f
mov ecx, dword [0x452590]
push eax
mov edx, dword [ecx + 0x80]
push edx
call fcn.00431850
mov ecx, dword [0x452590]
mov esi, eax
mov eax, dword [edi + 4]
mov edx, dword [ecx + 0x80]
push eax
push edx
call fcn.00431850
mov ecx, dword [eax + 2]
add esp, 0x10
test ecx, ecx
jge 0x430f3b
add eax, 0x10
jmp 0x430f3e
add eax, 0xe
mov bp, word [eax + 4]
push 0
push esi
call fcn.00431860
movzx cx, byte [esi + 3]
add esp, 8
test cx, cx
jle 0x430f7c
xor edx, edx
mov dx, word [ebx + 4]
or edx, 0x80000
and ecx, 0xffff
mov esi, ecx
cmp dword [eax + 2], edx
jne 0x430f74
or dword [esp + 0x40], ebp
movsx ecx, word [eax]
add eax, ecx
dec esi
jne 0x430f6b
mov eax, dword [edi + 8]
add edi, 8
cmp eax, 0xffffffff
jne 0x430f01
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 0x431000
cmp word [esi], di
jne 0x430fd6
mov dx, word [esi + 2]
test dh, dh
jns 0x430fba
or word [ebx + 0x34], dx
jmp 0x430fd6
cmp ebp, ecx
mov eax, ebp
jae 0x430fcc
cmp word [eax], dx
je 0x430fcc
add eax, 2
cmp eax, ecx
jb 0x430fc0
cmp eax, ecx
jne 0x430fd6
mov word [ecx], dx
add ecx, 2
add esi, 4
cmp word [esi], 0xffff
jne 0x430fa7
cmp ecx, ebp
jbe 0x431000
mov eax, dword [0x452590]
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 0x430eaa
lea ecx, [esp + 0x1c]
push ecx
call fcn.0041d1c0
mov edx, dword [0x452590]
mov ecx, dword [0x452594]
add esp, 4
mov esi, 7
mov eax, dword [edx + 0x488]
mov dword [ecx + 0x90], eax
mov edx, dword [0x452590]
mov ecx, dword [0x452594]
mov eax, dword [edx + 0x494]
mov dword [ecx + 0x8c], eax
mov edx, dword [0x452590]
mov ecx, dword [0x452594]
mov eax, dword [edx + 0x498]
mov dword [ecx + 0x5c], eax
mov edx, dword [0x452590]
mov ecx, dword [0x452594]
mov eax, dword [edx + 0x49c]
mov dword [ecx + 0x7c], eax
mov edx, dword [0x452590]
mov ecx, dword [0x452594]
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 [0x452594]
sub ecx, 4
dec esi
mov ebx, dword [edx + 0x5c]
lea edi, [ebx + edi*4]
mov dword [eax + edx - 4], edi
jne 0x4310ab
lea eax, [esp + 0x18]
push eax
call fcn.0041d1c0
mov ecx, dword [0x452590]
mov eax, dword [esp + 0x3c]
xor ebp, ebp
add esp, 4
mov edi, dword [ecx + 0x480]
cmp ax, bp
jle 0x4311ed
and eax, 0xffff
mov dword [esp + 0x44], eax
mov si, word [edi + 6]
xor ebx, ebx
test esi, 0x8000
jne 0x4311d5
mov edx, dword [0x452594]
push esi
push edx
inc ebx
call fcn.0043a120
mov edx, dword [edi + 8]
mov esi, eax
mov eax, dword [0x452594]
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 0x431150
movsx ecx, byte [edi + 0xc]
mov dword [esi + 0x16e], ecx
test ah, 2
je 0x43117e
mov dx, word [esi + 0x94]
and edx, 0x100
test dx, dx
jne 0x43117e
mov eax, dword [esi + 0xd4]
cmp eax, ebp
je 0x43117e
push ebp
push eax
mov eax, dword [0x452564]
push eax
call sub.MMFS2.dll_Ordinal_69
mov eax, dword [esi + 0x78]
test ah, ah
js 0x4311c5
mov cx, word [esi + 0x94]
and ah, 0xbf
mov edx, ecx
mov dword [esi + 0x78], eax
and edx, 0x200
test dx, dx
je 0x4311b1
mov edx, dword [0x452590]
test byte [edx + 0xc], 0x20
je 0x4311b1
or ah, 0x40
mov dword [esi + 0x78], eax
and ecx, 0x500
test cx, cx
je 0x4311c5
mov eax, dword [esi + 0x78]
or ah, 0x40
mov dword [esi + 0x78], eax
mov si, word [esi + 0x16]
test esi, 0x8000
je 0x43110e
movsx eax, bx
mov dword [edi + 0x10], eax
mov eax, dword [esp + 0x44]
add edi, 0x76
dec eax
mov dword [esp + 0x44], eax
jne 0x4310fc
cmp word [esp + 0x2c], bp
je 0x431204
mov eax, dword [0x452594]
mov ecx, dword [eax + 0x7c]
mov dword [eax + 0x84], ecx
jmp 0x431210
mov edx, dword [0x452594]
mov dword [edx + 0x84], ebp
mov ecx, dword [esp + 0x30]
mov eax, dword [0x452594]
cmp ecx, ebp
je 0x43122a
mov edx, dword [eax + 0x7c]
add edx, ecx
mov dword [eax + 0x480], edx
jmp 0x431230
mov dword [eax + 0x480], ebp
mov ecx, dword [0x452590]
pop edi
pop esi
pop ebp
mov dword [ecx + 0x8fc], 1
xor ax, ax
pop ebx
add esp, 0x38
ret