Function at 0x401177
Capabilities:
Encode data using xor
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x268
mov eax, dword [ebp + 0x18]
mov dword [esp + 0x2c], eax
mov ecx, dword [ebp + 0x14]
mov edi, dword [ebp + 0x10]
mov dword [esp + 0x48], 0
mov ebx, edi
jmp 0x40103a
mov ecx, ebx
mov ebx, dword [esp + 0x24]
mov byte [edi], al
inc edi
inc ecx
mov dword [esp + 0x24], ebx
mov ebx, ecx
test cl, 3
je 0x401050
movzx eax, byte [ecx]
jmp 0x40106e
mov eax, dword [ecx]
mov edx, eax
not edx
and edx, 0x80808080
mov ecx, eax
xor ecx, 0x25252525
add ecx, 0xfefefeff
test ecx, edx
je 0x4010d9
cmp al, 0x25
je 0x40113c
mov edx, dword [ebp + 8]
test al, al
je 0x403697
test edx, edx
je 0x401030
mov ecx, edi
mov esi, dword [esp + 0x24]
sub ecx, esi
cmp ecx, 0x1ff
jl 0x4010d0
mov eax, ecx
mov edi, edx
mov edx, dword [esp + 0x48]
and eax, edx
xor edx, ecx
lea edx, [edx + eax*2]
mov dword [esp + 0x48], edx
push ecx
push dword [ebp + 0xc]
push esi
call edi
add esp, 0xc
test eax, eax
je 0x4036bb
mov edi, eax
mov ecx, ebx
movzx eax, byte [ebx]
mov ebx, edi
jmp 0x401036
mov ecx, ebx
mov ebx, esi
jmp 0x401036
mov ecx, dword [esp + 0x24]
sub ecx, edi
add ecx, 0x200
jmp 0x40111e
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx + 4]
add ebx, 4
mov edx, eax
not edx
and edx, 0x80808080
mov esi, eax
xor esi, 0x25252525
add esi, 0xfefefeff
add ecx, 0xfffffffc
test esi, edx
jne 0x40106e
lea esi, [eax - 0x1010101]
test edx, esi
jne 0x401076
cmp dword [ebp + 8], 0
je 0x4010f0
cmp ecx, 4
jge 0x4010f0
jmp 0x40106e
add ebx, 2
mov dword [esp + 4], 0
mov ecx, ebx
mov ebx, dword [esp + 0x24]
jmp 0x401160
or dword [esp + 4], 1
inc ecx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx eax, byte [ecx - 1]
lea edx, [eax - 0x20]
cmp edx, 0x3f
ja case.0x401170.33
jmp dword [edx*4 + 0x445564]
mov edx, dword [esp + 4]
mov eax, edx
not eax
or eax, 0xfffffffb
add edx, eax
add edx, 5
mov dword [esp + 4], edx
inc ecx
jmp 0x401160
or dword [esp + 4], 8
inc ecx
jmp 0x401160
or dword [esp + 4], 0x400
inc ecx
jmp 0x401160
or dword [esp + 4], 0x40
inc ecx
jmp 0x401160
mov eax, dword [esp + 4]
test eax, 0x100
jne 0x4011c3
or eax, 0x100
jmp 0x4011d6
or dword [esp + 4], 2
inc ecx
jmp 0x401160
test eax, 0x800
jne 0x4011d1
or eax, 0x800
jmp 0x4011d6
or eax, 0x1000
mov dword [esp + 4], eax
inc ecx
jmp 0x401160
or dword [esp + 4], 0x10
movzx eax, byte [ecx]
cmp al, 0x2a
jne 0x401206
mov eax, dword [esp + 0x2c]
mov edx, dword [eax]
mov dword [esp + 0x50], edx
add eax, 4
mov dword [esp + 0x2c], eax
movzx eax, byte [ecx + 1]
inc ecx
jmp 0x401257
dec ecx
cmp al, 0x2a
je 0x4011e9
mov edx, eax
add dl, 0xd0
mov dword [esp + 0x50], 0
cmp dl, 9
ja 0x401257
xor ebx, ebx
nop
nop
nop
nop
nop
nop
mov edx, ebx
and edx, 0xfffffff5
mov esi, ebx
and esi, 0xa
or ebx, 0xa
imul ebx, esi
xor esi, 0xa
imul esi, edx
add ebx, esi
movzx eax, al
add ebx, eax
add ebx, 0xffffffd0
movzx eax, byte [ecx + 1]
inc ecx
mov edx, eax
add dl, 0xd0
cmp dl, 0xa
jb 0x401220
mov dword [esp + 0x50], ebx
mov ebx, dword [esp + 0x24]
mov dword [esp + 0x20], 0xffffffff
cmp al, 0x2e
jne 0x4012bf
movzx eax, byte [ecx + 1]
cmp al, 0x2a
jne 0x401285
mov eax, dword [esp + 0x2c]
mov edx, dword [eax]
mov dword [esp + 0x20], edx
add eax, 4
mov dword [esp + 0x2c], eax
movzx eax, byte [ecx + 2]
add ecx, 2
jmp 0x4012bf
inc ecx
mov edx, eax
add dl, 0xd0
mov dword [esp + 0x20], 0
cmp dl, 9
ja 0x4012bf
xor esi, esi
nop
nop
nop
nop
nop
nop
lea edx, [esi + esi*4]
movzx eax, al
lea esi, [eax + edx*2]
add esi, 0xffffffd0
movzx eax, byte [ecx + 1]
inc ecx
mov edx, eax
add dl, 0xd0
cmp dl, 0xa
jb 0x4012a0
mov dword [esp + 0x20], esi
movzx edx, al
add edx, 0xffffffb7
cmp edx, 0x31
ja case.0x4012ca.74
jmp dword [edx*4 + 0x445664]
inc ecx
mov edx, dword [esp + 4]
jmp 0x40133c
movzx eax, byte [ecx + 1]
cmp al, 0x6c
jne 0x401324
mov edx, dword [esp + 4]
or edx, 0x20
add ecx, 2
jmp 0x40133c
lea eax, [ecx + 1]
mov dword [esp + 0x4c], eax
movzx eax, byte [ecx + 1]
cmp eax, 0x33
je 0x401c48
cmp eax, 0x36
mov edx, dword [esp + 4]
jne 0x401343
cmp byte [ecx + 2], 0x34
jne 0x401dd0
or edx, 0x20
add ecx, 3
jmp 0x40133c
cmp byte [ecx + 1], 0x68
je 0x40132f
inc ecx
jmp 0x401332
inc ecx
mov dword [esp + 0x4c], ecx
mov edx, dword [esp + 4]
jmp 0x401343
add ecx, 2
mov edx, dword [esp + 4]
or edx, 0x200
mov dword [esp + 0x4c], ecx
movzx eax, byte [ecx]
movzx ecx, al
add ecx, 0xffffffbf
cmp ecx, 0x37
ja case.0x401356.67
mov dword [esp + 0x44], edi
jmp dword [ecx*4 + 0x44572c]
test dl, 0x20
jne 0x40176c
mov ecx, dword [esp + 0x2c]
mov esi, dword [ecx]
add ecx, 4
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x1c], 0
cmp al, 0x75
je 0x40200b
test esi, esi
jns 0x40200b
neg esi
mov dword [esp + 0x10], esi
mov eax, edx
not eax
or eax, 0xffffff7f
add edx, eax
add edx, 0x81
jmp 0x40200f
mov ecx, str.0123456789ABCDEFXP
cmp al, 0x45
je 0x4013b5
mov ecx, str.0123456789abcdefxp
mov dword [esp + 0x1c], ecx
mov ebx, edx
mov eax, dword [esp + 0x2c]
fld qword [eax]
mov eax, 6
mov ecx, dword [esp + 0x20]
cmp ecx, 0xffffffff
je 0x4013d1
mov eax, ecx
mov dword [esp + 0x10], eax
or eax, 0x80000000
sub esp, 0x18
mov dword [esp + 0x10], eax
fstp qword [esp + 8]
lea eax, [esp + 0x50]
mov dword [esp + 4], eax
lea eax, [esp + 0x7c]
mov dword [esp], eax
lea ecx, [esp + 0x30]
lea edx, [esp + 0x40]
call fcn.004036e0
add esp, 0x18
mov edx, ebx
test eax, eax
je 0x401410
or edx, 0x80
add dword [esp + 0x2c], 8
mov byte [esp + 0x30], 0
mov byte [esp + 0x3c], 0
mov al, 0x2d
test dl, dl
js 0x401433
mov al, 0x20
test dl, 4
jne 0x401433
mov al, 0x2b
test dl, 2
je 0x40143c
mov byte [esp + 0x3c], 1
mov byte [esp + 0x3d], al
mov ebx, dword [esp + 0x38]
mov dword [esp + 0x14], 0
mov ecx, dword [esp + 0x18]
cmp ebx, 0x7000
mov dword [esp + 8], ecx
je 0x40240c
mov edi, edx
movzx ecx, byte [ecx]
mov byte [esp + 0xa4], cl
lea ecx, [esp + 0xa5]
mov esi, dword [esp + 0x10]
test esi, esi
je 0x40148f
movzx ecx, byte [section..data]
xor cl, 0xa
mov byte [esp + 0xa5], cl
lea ecx, [esp + 0xa6]
mov dword [esp + 0xc], ecx
mov eax, dword [esp + 0x28]
lea edx, [eax - 1]
cmp edx, esi
jbe 0x4014a5
lea eax, [esi + 1]
mov dword [esp + 0x28], eax
cmp eax, 2
mov dword [esp + 4], edi
mov dword [esp + 0x14], eax
jb 0x401564
mov ecx, esi
cmp esi, edx
jb 0x4014be
mov ecx, edx
lea esi, [ecx - 1]
mov edx, 1
cmp esi, 7
jb 0x401539
mov dword [esp + 0x20], ebx
mov esi, ecx
and esi, 0xfffffff8
xor edx, edx
mov edi, dword [esp + 8]
mov eax, dword [esp + 0xc]
nop
nop
movzx ebx, byte [edi + edx + 1]
mov byte [eax + edx], bl
movzx ebx, byte [edi + edx + 2]
mov byte [eax + edx + 1], bl
movzx ebx, byte [edi + edx + 3]
mov byte [eax + edx + 2], bl
movzx ebx, byte [edi + edx + 4]
mov byte [eax + edx + 3], bl
movzx ebx, byte [edi + edx + 5]
mov byte [eax + edx + 4], bl
movzx ebx, byte [edi + edx + 6]
mov byte [eax + edx + 5], bl
movzx ebx, byte [edi + edx + 7]
mov byte [eax + edx + 6], bl
movzx ebx, byte [edi + edx + 8]
mov byte [eax + edx + 7], bl
add edx, 8
cmp esi, edx
jne 0x4014e0
add eax, edx
mov dword [esp + 0xc], eax
inc edx
mov ebx, dword [esp + 0x20]
and ecx, 7
je 0x401564
mov edi, ebx
mov esi, dword [esp + 8]
add esi, edx
xor edx, edx
mov eax, dword [esp + 0xc]
nop
nop
nop
nop
movzx ebx, byte [esi + edx]
mov byte [eax + edx], bl
inc edx
cmp ecx, edx
jne 0x401550
add eax, edx
mov dword [esp + 0xc], eax
mov ebx, edi
mov eax, dword [esp + 0x1c]
movzx ecx, byte [eax + 0xe]
mov byte [esp + 0x31], cl
test ebx, ebx
jle 0x401c97
dec ebx
mov byte [esp + 0x32], 0x2b
mov esi, ebx
jmp 0x401ca3
mov dword [esp + 0xc], str.0123456789ABCDEFXP
cmp al, 0x41
je 0x401599
mov dword [esp + 0xc], str.0123456789abcdefxp
mov dword [esp + 0x54], eax
mov eax, 6
mov ecx, dword [esp + 0x20]
cmp ecx, 0xffffffff
je 0x4015ad
mov eax, ecx
mov dword [esp + 0x1c], eax
mov ecx, dword [esp + 0x2c]
mov ecx, dword [ecx + 4]
mov eax, ecx
test ecx, ecx
jns 0x4015c4
or edx, 0x80
mov ecx, dword [esp + 0x2c]
mov edi, dword [ecx]
mov cl, 0x2d
test dl, dl
js 0x40171c
mov cl, 0x20
test dl, 4
jne 0x40171c
mov cl, 0x2b
test dl, 2
jne 0x40171c
mov dword [esp + 8], 0
jmp 0x401726
mov dword [esp + 0x1c], str.0123456789ABCDEFXP
cmp al, 0x42
je 0x40160b
mov dword [esp + 0x1c], str.0123456789abcdefxp
mov byte [esp + 0x3c], 0
test dl, 8
je 0x40162a
cmp al, 0x42
setne al
mov word [esp + 0x3c], 0x3002
shl al, 5
or al, 0x42
mov byte [esp + 0x3e], al
mov dword [esp + 0x28], 0x180
mov ebx, 0x180
test dl, 0x20
je 0x401947
mov ecx, dword [esp + 0x2c]
mov eax, dword [ecx]
mov esi, dword [ecx + 4]
add ecx, 8
mov dword [esp + 0x2c], ecx
jmp 0x401956
mov ecx, str.0123456789ABCDEFXP
cmp al, 0x47
je 0x401663
mov ecx, str.0123456789abcdefxp
mov dword [esp + 0x1c], ecx
mov esi, edx
mov eax, dword [esp + 0x2c]
fld qword [eax]
mov ecx, dword [esp + 0x20]
cmp ecx, 1
mov eax, ecx
adc eax, 0
mov edx, 6
cmp ecx, 0xffffffff
je 0x401687
mov edx, eax
mov dword [esp + 8], edx
lea eax, [edx - 1]
or eax, 0x80000000
sub esp, 0x18
fstp qword [esp + 8]
lea ecx, [esp + 0x50]
mov dword [esp + 4], ecx
lea ecx, [esp + 0x7c]
mov dword [esp], ecx
mov dword [esp + 0x10], eax
lea ecx, [esp + 0x30]
lea edx, [esp + 0x40]
call fcn.004036e0
add esp, 0x18
test eax, eax
je 0x4016c7
or esi, 0x80
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 8]
cmp eax, edx
jb 0x4016d5
mov eax, edx
mov ebx, esi
mov ecx, eax
mov dword [esp + 0x10], eax
cmp eax, 2
jb 0x4018ec
mov ecx, edx
mov edx, dword [esp + 0x18]
nop
nop
nop
nop
mov esi, dword [esp + 0x10]
cmp byte [edx + esi - 1], 0x30
jne 0x401d65
lea eax, [ecx - 1]
dec esi
mov dword [esp + 0x10], esi
cmp esi, 2
jb 0x401d67
cmp ecx, 1
mov ecx, eax
jne 0x4016f0
jmp 0x401d67
mov byte [esp + 0x3d], cl
mov cl, 1
mov dword [esp + 8], ecx
mov esi, eax
and esi, 0xfffff
shr eax, 0x14
mov ecx, eax
not ecx
and ecx, 0x3ff
and eax, 0x400
sub eax, ecx
mov dword [esp + 0x20], eax
cmp eax, 0xfffffc01
mov dword [esp + 4], edx
jne 0x4017b4
xor eax, eax
mov ecx, edi
or ecx, esi
je 0x40175e
mov eax, 0xfffffc02
mov dword [esp + 0x14], edi
mov dword [esp + 0x20], eax
mov dword [esp + 0x38], eax
jmp 0x4017cc
mov ebx, edx
mov edx, dword [esp + 0x2c]
lea ecx, [edx + 8]
mov dword [esp + 8], ecx
mov esi, dword [edx]
mov ecx, dword [edx + 4]
cmp al, 0x75
je 0x401ffd
test ecx, ecx
mov edx, ebx
jns 0x401fef
neg esi
mov dword [esp + 0x10], esi
mov eax, 0
sbb eax, ecx
or edx, 0x80
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 8]
mov dword [esp + 0x2c], eax
jmp 0x40200f
mov ecx, 0xffffffff
add edi, ecx
mov ecx, 0xfffff
adc esi, ecx
add edi, 1
mov dword [esp + 0x14], edi
adc esi, 0
mov eax, dword [esp + 0x1c]
lea ecx, [eax*4]
xor ebx, ebx
mov edx, 0x8000000
shrd ebx, edx, cl
mov edi, 0x8000000
shr edi, cl
test cl, 0x20
mov ecx, dword [esp + 0xc]
je 0x4017f5
mov ebx, edi
xor edi, edi
mov dword [esp + 0xc], ecx
cmp eax, 0xf
jl 0x401802
xor ebx, ebx
xor edi, edi
mov eax, dword [esp + 0x14]
shld esi, eax, 8
shl eax, 8
add eax, ebx
mov dword [esp + 0x14], eax
adc esi, edi
mov eax, dword [esp + 8]
movzx ecx, al
lea edx, [esp + 0x3c]
mov word [ecx + edx + 1], 0x7830
or al, 2
mov byte [esp + 0x3c], al
mov ecx, esi
shr ecx, 0x1c
mov eax, dword [esp + 0xc]
movzx ecx, byte [eax + ecx]
mov byte [esp + 0xa4], cl
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x401c7b
movzx ecx, byte [section..data]
xor cl, 0xa
mov byte [esp + 0xa5], cl
lea ecx, [esp + 0xa6]
mov dword [esp + 0x18], ecx
mov ecx, eax
cmp eax, 0xd
jb 0x401875
mov ecx, 0xd
xor edx, edx
cmp eax, ecx
jle 0x401889
mov edi, eax
not edi
and edi, ecx
mov edx, ecx
not edx
and edx, eax
sub edx, edi
mov dword [esp + 0x10], edx
mov ebx, ecx
and ebx, 3
je 0x401de1
mov dword [esp + 8], ecx
xor edi, edi
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0xc]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov edx, esi
shr edx, 0x18
and edx, 0xf
movzx edx, byte [ecx + edx]
shld esi, eax, 4
mov byte [esp + edi + 0xa6], dl
shl eax, 4
inc edi
cmp ebx, edi
jne 0x4018b0
mov dword [esp + 0x14], eax
lea edx, [esp + 0xa6]
lea ebx, [edx + edi]
mov ecx, dword [esp + 8]
sub ecx, edi
mov eax, dword [esp + 0x1c]
jmp 0x401de8
mov eax, edx
jmp 0x401d67
and edx, 0xffffffef
mov dword [esp + 0x20], 8
mov dword [esp + 0x1c], str.0123456789ABCDEFXP
cmp al, 0x58
je 0x401912
mov dword [esp + 0x1c], str.0123456789abcdefxp
mov dword [esp + 0x28], 0x440
mov byte [esp + 0x3c], 0
mov ebx, 0x440
test dl, 8
je 0x40193e
cmp al, 0x58
setne al
mov word [esp + 0x3c], 0x3002
shl al, 5
or al, 0x58
mov byte [esp + 0x3e], al
test dl, 0x20
jne 0x401640
mov ecx, dword [esp + 0x2c]
mov eax, dword [ecx]
add ecx, 4
mov dword [esp + 0x2c], ecx
xor esi, esi
mov dword [esp + 4], edx
mov dword [esp + 0x38], 0
mov byte [esp + 0x30], 0
mov dword [esp + 0x10], eax
mov ecx, eax
mov dword [esp + 0xc], esi
or ecx, esi
jne 0x401985
mov byte [esp + 0x3c], 0
cmp dword [esp + 0x20], 0
je 0x401c5b
lea edx, [esp + 0x264]
nop
nop
nop
nop
mov dword [esp + 8], edx
mov edi, 0xffffffff
mov cl, bh
shl edi, cl
not edi
mov esi, dword [esp + 0x10]
and edi, esi
mov ebx, dword [esp + 0x28]
mov cl, bh
mov edx, dword [esp + 0xc]
shrd esi, edx, cl
mov eax, dword [esp + 0x1c]
movzx ecx, byte [eax + edi]
mov edi, edx
mov eax, dword [esp + 8]
mov byte [eax - 1], cl
mov cl, bh
shr edi, cl
mov dword [esp + 0x14], ebx
test bh, 0x20
je 0x4019d4
mov esi, edi
xor edi, edi
lea edx, [eax - 1]
mov ecx, esi
mov dword [esp + 0xc], edi
or ecx, edi
jne 0x401a0c
mov edi, edx
lea ecx, [esp + 0x264]
mov dword [esp + 8], edx
mov edx, ecx
xor edi, ecx
mov ecx, dword [esp + 8]
not ecx
and ecx, edx
mov edx, dword [esp + 8]
add ecx, ecx
sub ecx, edi
mov edi, dword [esp + 0x44]
cmp ecx, dword [esp + 0x20]
jge 0x401a52
mov dword [esp + 0x10], esi
test byte [esp + 4], 0x40
mov ebx, dword [esp + 0x14]
je 0x401990
inc ebx
mov dword [esp + 0x28], ebx
mov ecx, ebx
shr ecx, 4
xor ecx, ebx
test cl, 0xf
jne 0x401990
and ebx, 0xfffffff0
mov dword [esp + 0x28], ebx
movzx ecx, byte [0x448001]
xor cl, 0xb4
mov byte [eax - 2], cl
add eax, 0xfffffffe
mov edx, eax
jmp 0x401990
mov eax, dword [esp + 0x14]
shl eax, 0x14
and eax, 0xf000000
add eax, ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x10], 0
mov edx, dword [esp + 4]
mov eax, dword [esp + 0x20]
jmp 0x4029ab
mov byte [esp + 0x3c], 0
test dl, 8
je 0x401a8e
mov word [esp + 0x3c], 0x3001
mov dword [esp + 0x28], 0x330
mov dword [esp + 0x1c], str.0123456789ABCDEFXP
mov ebx, 0x330
test dl, 0x20
je 0x401947
jmp 0x401640
mov eax, dword [esp + 0x2c]
mov eax, dword [eax]
mov dword [esp + 8], str.null
test eax, eax
je 0x401ac7
mov dword [esp + 8], eax
mov ecx, dword [esp + 0x20]
mov eax, ecx
test ecx, ecx
jns 0x401ad6
mov eax, 0xffffffff
mov ecx, dword [esp + 8]
test cl, 3
mov dword [esp + 4], edx
je 0x402938
lea edx, [eax + ecx]
cmp dword [esp + 0x20], 0
je 0x402976
cmp byte [ecx], 0
je 0x402974
inc ecx
lea esi, [eax - 1]
test cl, 3
je 0x402936
test esi, esi
je 0x402976
cmp byte [ecx], 0
je 0x402974
mov ecx, dword [esp + 8]
add ecx, 2
lea esi, [eax - 2]
test cl, 3
je 0x402936
test esi, esi
je 0x402976
cmp byte [ecx], 0
je 0x402974
mov ecx, dword [esp + 8]
add ecx, 3
lea esi, [eax - 3]
test cl, 3
je 0x402936
test esi, esi
je 0x402976
cmp byte [ecx], 0
je 0x402974
mov ecx, dword [esp + 8]
add ecx, 4
add eax, 0xfffffffc
test cl, 3
je 0x402938
test eax, eax
je 0x401b7d
mov edx, ecx
mov edi, dword [esp + 0x44]
jmp 0x402976
mov byte [esp + 0x263], al
mov dword [esp + 0x28], 1
mov byte [esp + 0x3c], 0
mov byte [esp + 0x30], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x14], 0
lea eax, [esp + 0x263]
mov dword [esp + 8], eax
xor edx, edx
mov dword [esp + 0x10], 0
xor eax, eax
mov dword [esp + 0x50], 0
jmp 0x4029ab
mov ecx, dword [esp + 0x2c]
movzx eax, byte [ecx]
add ecx, 4
mov dword [esp + 0x2c], ecx
mov byte [esp + 0x263], al
mov dword [esp + 0x28], 1
mov byte [esp + 0x3c], 0
mov byte [esp + 0x30], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x14], 0
lea eax, [esp + 0x263]
jmp 0x402408
mov eax, dword [esp + 0x2c]
fld qword [eax]
add eax, 8
mov dword [esp + 0x2c], eax
jmp 0x4021fb
mov edx, dword [esp + 0x2c]
mov eax, dword [edx]
mov ecx, dword [esp + 0x48]
sub ecx, ebx
add ecx, edi
mov dword [eax], ecx
add edx, 4
mov dword [esp + 0x2c], edx
mov ecx, dword [esp + 0x4c]
jmp 0x40346b
cmp byte [ecx + 2], 0x32
je 0x401dd9
mov ecx, dword [esp + 0x4c]
jmp 0x4012d2
mov dword [esp + 0x28], 0
mov dword [esp + 0x14], 0
lea eax, [esp + 0x264]
mov dword [esp + 8], eax
jmp 0x40299d
lea ebx, [esp + 0xa5]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], ebx
jmp 0x401e61
mov byte [esp + 0x32], 0x2d
mov esi, 1
sub esi, ebx
xor eax, eax
cmp esi, 0x64
setge al
mov edi, eax
mov eax, esi
mov ecx, 0x66666667
imul ecx
mov ecx, edx
mov eax, edx
shr eax, 0x1f
sar ecx, 2
add ecx, eax
lea eax, [ecx + ecx]
lea eax, [eax + eax*4]
mov ebx, esi
sub ebx, eax
mov eax, ecx
mov edx, 0x66666667
imul edx
mov eax, edx
shr eax, 0x1f
sar edx, 2
add edx, eax
lea eax, [edi + 4]
add bl, 0x30
add edx, edx
lea edx, [edx + edx*4]
mov dword [esp + 8], edx
mov dword [esp + 0x1c], eax
mov byte [esp + 0x30], al
mov byte [esp + edi + 0x34], bl
mov edx, ecx
sub edx, dword [esp + 8]
add dl, 0x30
mov byte [esp + edi + 0x33], dl
cmp esi, 0x64
jl 0x401d3b
mov eax, esi
mov ecx, 0x51eb851f
mul ecx
mov ecx, edx
shr ecx, 5
mov eax, ecx
mov edx, 0x1999999a
mul edx
add edx, edx
lea eax, [edx + edx*4]
mov edx, ecx
sub edx, eax
or dl, 0x30
lea eax, [esp + 0x30]
mov esi, dword [esp + 0x1c]
mov byte [esi + eax - 2], dl
mov eax, dword [esp + 0x10]
sub eax, dword [esp + 0x14]
inc eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x38], ecx
mov dword [esp + 0x14], 0x3000001
mov edi, dword [esp + 0x44]
mov edx, dword [esp + 4]
mov ebx, dword [esp + 0xc]
jmp 0x402901
mov eax, ecx
add dword [esp + 0x2c], 8
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x38]
cmp ecx, 0xfffffffd
mov edx, ebx
jl 0x401da4
cmp ecx, dword [esp + 8]
jg 0x401da4
test ecx, ecx
jle 0x401fd8
sub dword [esp + 0x10], ecx
jg 0x4023c9
mov dword [esp + 0x10], 0
jmp 0x4023c9
mov ecx, dword [esp + 0x10]
cmp eax, ecx
jle 0x401db6
dec ecx
mov dword [esp + 0x10], ecx
jmp 0x401415
mov dword [esp + 0x10], 0
sub eax, 1
jb 0x401415
mov dword [esp + 0x10], eax
jmp 0x401415
mov ecx, dword [esp + 0x4c]
jmp 0x40133c
add ecx, 3
jmp 0x4012d2
lea ebx, [esp + 0xa6]
cmp eax, 4
jb 0x401e56
mov edi, esi
mov eax, dword [esp + 0x14]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov dword [esp + 8], ecx
mov edx, esi
shr edx, 0x18
and edx, 0xf
mov ecx, dword [esp + 0xc]
movzx edx, byte [ecx + edx]
mov byte [ebx], dl
mov edx, esi
shr edx, 0x14
and edx, 0xf
movzx edx, byte [ecx + edx]
mov byte [ebx + 1], dl
mov edx, esi
shr edx, 0x10
and edx, 0xf
movzx edx, byte [ecx + edx]
mov byte [ebx + 2], dl
shld edi, eax, 0x10
shl eax, 0x10
shr esi, 0xc
and esi, 0xf
movzx edx, byte [ecx + esi]
mov ecx, dword [esp + 8]
mov byte [ebx + 3], dl
add ebx, 4
mov esi, edi
add ecx, 0xfffffffc
jne 0x401e00
lea esi, [esp + 0xa6]
mov dword [esp + 0xc], esi
mov eax, dword [esp + 0x20]
cmp byte [esp + 0x54], 0x41
setne cl
shl cl, 5
or cl, 0x50
mov byte [esp + 0x31], cl
test eax, eax
js 0x401e9e
mov byte [esp + 0x32], 0x2b
cmp eax, 0x3e7
ja 0x401eac
cmp eax, 0x63
jbe 0x401fb8
mov dword [esp + 0x1c], ebx
mov dword [esp + 8], 5
jmp 0x401eb8
mov byte [esp + 0x32], 0x2d
neg eax
cmp eax, 0x3e7
jbe 0x401e87
mov dword [esp + 0x1c], ebx
mov dword [esp + 8], 6
mov dword [esp + 0x14], 0
mov ecx, 0xcccccccd
mov esi, eax
mul ecx
shr edx, 2
and edx, 0xfffffffe
lea edi, [edx + edx*4]
mov eax, esi
mov ebx, 0x66666667
imul ebx
mov ecx, edx
mov eax, edx
shr eax, 0x1f
sar ecx, 2
add ecx, eax
mov eax, ecx
imul ebx
mov ebx, esi
sub ebx, edi
mov edi, dword [esp + 8]
mov eax, edi
mov byte [esp + 0x30], al
or bl, 0x30
mov byte [esp + edi + 0x30], bl
mov eax, edx
shr eax, 0x1f
sar edx, 2
add edx, eax
add edx, edx
lea edx, [edx + edx*4]
sub ecx, edx
add cl, 0x30
mov byte [esp + edi + 0x2f], cl
cmp byte [esp + 0x14], 0
mov ecx, 0x51eb851f
mov edi, dword [esp + 0x44]
mov ebx, dword [esp + 0x1c]
jne 0x402709
mov eax, esi
imul ecx
mov ecx, edx
mov eax, edx
shr eax, 0x1f
sar ecx, 5
add ecx, eax
mov eax, ecx
mov edx, 0x66666667
imul edx
mov eax, edx
shr eax, 0x1f
sar edx, 2
add edx, eax
add edx, edx
lea eax, [edx + edx*4]
sub ecx, eax
add cl, 0x30
lea eax, [esp + 0x30]
mov edx, dword [esp + 8]
mov byte [edx + eax - 2], cl
cmp esi, 0x3e8
jb 0x402709
mov eax, esi
mov ecx, 0x10624dd3
imul ecx
mov ecx, edx
mov eax, edx
shr eax, 0x1f
sar ecx, 6
add ecx, eax
mov eax, ecx
mov edx, 0x66666667
imul edx
mov eax, edx
shr eax, 0x1f
shr edx, 2
add edx, eax
add edx, edx
lea eax, [edx + edx*4]
sub ecx, eax
add cl, 0x30
lea eax, [esp + 0x30]
mov edx, dword [esp + 8]
mov byte [edx + eax - 3], cl
jmp 0x402709
cmp eax, 9
jbe 0x4026fa
mov dword [esp + 0x1c], ebx
mov dword [esp + 8], 4
mov cl, 1
mov dword [esp + 0x14], ecx
jmp 0x401ec0
mov edx, dword [esp + 0x10]
cmp eax, edx
jl 0x401fe2
mov eax, edx
sub eax, ecx
mov dword [esp + 0x10], eax
mov edx, ebx
jmp 0x4023c9
mov dword [esp + 0x1c], ecx
mov eax, dword [esp + 8]
mov dword [esp + 0x2c], eax
jmp 0x40200b
mov dword [esp + 0x1c], ecx
mov eax, dword [esp + 8]
mov dword [esp + 0x2c], eax
mov edx, ebx
mov dword [esp + 0x10], esi
test edx, 0x100
jne 0x4021bc
movzx eax, byte [0x448001]
xor al, 0xb4
mov byte [esp + 0x14], al
mov esi, 0x200
mov dword [esp + 8], 0
mov ebx, dword [esp + 0x1c]
mov dword [esp + 4], edx
nop
nop
nop
mov ecx, dword [esp + 0x10]
cmp ecx, 0x5f5e100
mov eax, ebx
sbb eax, 0
jb 0x402080
push 0
push 0x5f5e100
push ebx
push ecx
mov ebx, ecx
call fcn.0040c4f0
mov dword [esp + 0x1c], edx
imul ecx, eax, 0x5f5e100
sub ebx, ecx
mov ecx, eax
jmp 0x40208c
mov dword [esp + 0x1c], 0
mov ebx, ecx
xor ecx, ecx
lea eax, [esp + 0x5c]
add eax, esi
mov dword [esp + 0xc], eax
test byte [esp + 4], 0x40
mov dword [esp + 0x10], ecx
jne 0x4020e0
mov ecx, 0x51eb851f
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ebx
mul ecx
shr edx, 5
imul eax, edx, 0x64
mov edi, ebx
sub edi, eax
movzx eax, word [edi + edi + str.00010203040506070809101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899]
mov word [esp + esi + 0x62], ax
add esi, 0xfffffffe
cmp ebx, 0x64
mov ebx, edx
jae 0x4020b0
mov edi, dword [esp + 0x44]
mov edx, dword [esp + 8]
jmp 0x402150
test ebx, ebx
mov edx, dword [esp + 8]
je 0x402150
mov ecx, dword [esp + 0xc]
jmp 0x40211e
mov dword [esp + 0xc], ecx
mov ecx, edx
mov eax, ebx
mov edx, 0xcccccccd
mul edx
shr edx, 3
lea eax, [edx + edx]
lea eax, [eax + eax*4]
sub ebx, eax
or bl, 0x30
mov byte [esp + esi + 0x63], bl
dec esi
mov ebx, edx
mov edx, ecx
mov ecx, dword [esp + 0xc]
test ebx, ebx
je 0x402154
test byte [esp + 4], 0x40
je 0x4020f0
cmp edx, 3
je 0x402131
mov dword [esp + 0xc], ecx
inc edx
jmp 0x4020f4
movzx eax, byte [esp + 0x14]
mov byte [esp + esi + 0x63], al
dec esi
dec ecx
xor edx, edx
test ebx, ebx
jne 0x40211e
jmp 0x402154
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x1c]
or eax, ebx
je 0x402259
mov dword [esp + 8], edx
lea eax, [esp + esi]
add eax, 0x64
cmp eax, ecx
mov edx, dword [esp + 4]
jne 0x402199
jmp 0x402040
inc eax
mov dword [esp + 8], eax
mov byte [esp + esi + 0x63], 0x30
dec esi
lea eax, [esp + esi]
add eax, 0x64
cmp eax, ecx
je 0x402040
test dl, 0x40
je 0x402185
mov eax, dword [esp + 8]
cmp eax, 3
jne 0x402180
movzx eax, byte [esp + 0x14]
mov byte [esp + esi + 0x63], al
dec esi
dec ecx
mov dword [esp + 8], 0
jmp 0x40218b
mov esi, dword [esp + 0x10]
mov eax, 1
mov ecx, dword [esp + 0x20]
cmp ecx, 0xffffffff
je 0x4021d0
mov eax, ecx
mov dword [esp + 0x20], 0
cmp esi, 0x400
mov ecx, dword [esp + 0x1c]
sbb ecx, 0
jb 0x4021eb
mov dword [esp + 0x20], eax
mov dword [esp + 0x58], esi
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x5c], eax
fild qword [esp + 0x58]
mov eax, edx
xor eax, 0xfffffeff
mov ecx, edx
or ecx, 0x100
test ecx, eax
je 0x40237d
xor eax, eax
test edx, 0x800
sete al
fld qword [eax*8 + 0x445550]
cmp edx, 0x3ffffff
ja 0x4022d1
fld st(0)
fchs
fxch st(1)
fucom st(2)
fnstsw ax
sahf
jbe 0x402303
fxch st(2)
fucom st(1)
fnstsw ax
sahf
fxch st(2)
jbe 0x402303
fstp st(0)
fstp st(0)
jmp 0x40237d
cmp byte [esp + esi + 0x64], 0x30
sete ch
cmp esi, 0x200
setne cl
mov byte [esp + 0x30], 0
mov byte [esp + 0x3c], 0
mov dl, 0x2d
cmp byte [esp + 4], 0
js 0x40228f
mov dl, 0x20
test byte [esp + 4], 4
jne 0x40228f
mov dl, 0x2b
test byte [esp + 4], 2
je 0x402298
mov byte [esp + 0x3c], 1
mov byte [esp + 0x3d], dl
and cl, ch
movzx eax, cl
add esi, eax
lea ecx, [esp + esi]
add ecx, 0x64
lea eax, [esi - 0x200]
neg eax
mov dword [esp + 0x28], eax
cmp esi, 0x200
jne 0x4022d8
mov byte [ecx - 1], 0x30
dec ecx
mov dword [esp + 8], ecx
mov dword [esp + 0x28], 1
mov ebx, 1
jmp 0x4022de
fstp st(0)
jmp 0x40237d
mov ebx, eax
mov dword [esp + 8], ecx
mov edx, dword [esp + 4]
mov dword [esp + 0x10], 0
mov eax, dword [esp + 0x20]
test eax, eax
jg 0x4022f4
xor eax, eax
add ebx, 0x3000000
mov dword [esp + 0x14], ebx
jmp 0x4029ab
fdiv st(2), st(0)
lea ecx, [edx + 0x1000000]
cmp edx, 0x2ffffff
ja 0x402377
fucom st(2)
fnstsw ax
sahf
jbe 0x402325
fxch st(2)
fucom st(1)
fnstsw ax
sahf
fxch st(2)
ja 0x402377
fdiv st(2), st(0)
lea ecx, [edx + 0x2000000]
cmp edx, 0x1ffffff
ja 0x402377
fucom st(2)
fnstsw ax
sahf
jbe 0x402347
fxch st(2)
fucom st(1)
fnstsw ax
sahf
fxch st(2)
ja 0x402377
fdiv st(2), st(0)
lea ecx, [edx + 0x3000000]
cmp edx, 0xffffff
ja 0x402377
fucom st(2)
fnstsw ax
sahf
jbe 0x403688
fxch st(2)
fucom st(1)
fstp st(1)
fnstsw ax
sahf
fldz
fxch st(1)
fxch st(2)
jbe 0x403688
fstp st(0)
fstp st(0)
mov edx, ecx
mov ebx, edx
mov ecx, 6
mov eax, dword [esp + 0x20]
cmp eax, 0xffffffff
je 0x40238f
mov ecx, eax
sub esp, 0x18
fstp qword [esp + 8]
lea eax, [esp + 0x50]
mov dword [esp + 4], eax
lea eax, [esp + 0x7c]
mov dword [esp], eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x10], ecx
lea ecx, [esp + 0x30]
lea edx, [esp + 0x40]
call fcn.004036e0
add esp, 0x18
mov edx, ebx
test eax, eax
je 0x4023c9
or edx, 0x80
mov byte [esp + 0x30], 0
mov byte [esp + 0x3c], 0
mov al, 0x2d
test dl, dl
js 0x4023e7
mov al, 0x20
test dl, 4
jne 0x4023e7
mov al, 0x2b
test dl, 2
je 0x4023f0
mov byte [esp + 0x3c], 1
mov byte [esp + 0x3d], al
mov ecx, dword [esp + 0x38]
cmp ecx, 0x7000
jne 0x40241b
mov dword [esp + 0x14], 0
mov eax, dword [esp + 0x18]
mov dword [esp + 8], eax
mov dword [esp + 0x10], 0
xor eax, eax
jmp 0x4029ab
test ecx, ecx
mov dword [esp + 4], edx
jle 0x4024a9
xor esi, esi
test dl, 0x40
je 0x402445
mov esi, 0x258
sub esi, ecx
mov eax, esi
mov edx, 0xaaaaaaab
mul edx
shr edx, 1
lea eax, [edx + edx*2]
sub esi, eax
cmp ecx, dword [esp + 0x28]
jae 0x402535
xor eax, eax
lea ebx, [esp + 0xa4]
jmp 0x40247a
mov edx, ebx
mov ecx, dword [esp + 0x18]
movzx ecx, byte [ecx + eax]
inc ebx
mov byte [edx], cl
inc eax
mov ecx, dword [esp + 0x38]
cmp eax, ecx
jae 0x40259a
mov ecx, dword [esp + 4]
test cl, 0x40
je 0x402460
inc esi
cmp esi, 4
jne 0x402460
mov esi, ecx
and esi, 0x40
shr esi, 6
movzx ecx, byte [0x448001]
mov edx, ecx
add dl, cl
and dl, 0x68
sub cl, dl
add cl, 0xb4
mov byte [ebx], cl
inc ebx
jmp 0x402460
mov byte [esp + 0xa4], 0x30
lea ebx, [esp + 0xa5]
mov esi, dword [esp + 0x10]
test esi, esi
je 0x4024e0
movzx eax, byte [section..data]
mov edx, eax
add dl, al
and dl, 0x14
sub al, dl
add al, 0xa
mov byte [esp + 0xa5], al
lea ebx, [esp + 0xa6]
neg ecx
mov eax, esi
mov edx, esi
cmp esi, ecx
jl 0x4024ec
mov edx, ecx
test edx, edx
mov dword [esp + 8], edx
je 0x402747
mov ecx, ebx
mov eax, ebx
and eax, 3
je 0x402743
mov edi, ecx
not edi
and edi, 3
lea esi, [edx - 1]
cmp edi, esi
jb 0x402515
mov edi, esi
lea eax, [edi + 1]
push eax
push 0x30
push ecx
call fcn.0040c700
mov ecx, ebx
add esp, 0xc
lea ecx, [edi + ebx]
inc ecx
sub esi, edi
mov edi, dword [esp + 0x44]
jmp 0x40274b
mov dword [esp + 8], esi
xor ebx, ebx
mov esi, 0xffffffff
lea ecx, [esp + 0xa4]
jmp 0x402569
mov edx, ecx
mov eax, dword [esp + 0x18]
movzx eax, byte [eax + ebx]
inc ecx
mov byte [edx], al
inc ebx
dec esi
cmp ebx, dword [esp + 0x28]
jae 0x402638
test byte [esp + 4], 0x40
je 0x402550
mov eax, dword [esp + 8]
inc eax
mov dword [esp + 8], eax
cmp eax, 4
jne 0x402550
mov eax, dword [esp + 4]
and eax, 0x40
shr eax, 6
mov dword [esp + 8], eax
movzx eax, byte [0x448001]
xor al, 0xb4
mov byte [ecx], al
inc ecx
jmp 0x402550
mov esi, ebx
mov dword [esp + 0xc], ebx
cmp dword [esp + 0x10], 0
je 0x4025c8
movzx ecx, byte [section..data]
mov ch, cl
add ch, cl
and ch, 0x14
sub cl, ch
add cl, 0xa
mov byte [edx + 1], cl
add edx, 2
mov ecx, dword [esp + 0x38]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x28]
mov esi, edx
sub esi, ecx
cmp esi, dword [esp + 0x10]
jbe 0x4025e0
mov edx, dword [esp + 0x10]
add edx, ecx
mov dword [esp + 0x28], edx
cmp eax, edx
jae 0x40260c
mov esi, dword [esp + 0xc]
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [esp + 0x18]
movzx ecx, byte [ecx + eax]
mov byte [esi], cl
inc eax
inc esi
mov edx, dword [esp + 0x28]
cmp eax, edx
jb 0x4025f0
mov dword [esp + 0xc], esi
mov ecx, dword [esp + 0x38]
lea eax, [esp + 0xa4]
sub ebx, eax
add ebx, 0x3000000
mov dword [esp + 0x14], ebx
mov eax, dword [esp + 0x10]
sub eax, edx
add eax, ecx
mov dword [esp + 0x10], eax
mov edx, dword [esp + 4]
mov ebx, dword [esp + 0xc]
jmp 0x402874
mov edi, dword [esp + 0x38]
mov eax, edi
sub eax, ebx
mov dword [esp + 0xc], eax
jbe 0x4026bc
test byte [esp + 4], 0x40
jne 0x402919
cmp edi, ebx
je 0x40360c
mov eax, ecx
and eax, 3
je 0x40360c
mov eax, 2
mov dword [esp + 0x14], edx
sub eax, edx
and eax, 3
not ebx
lea edx, [ebx + edi]
mov dword [esp + 0xc], eax
mov dword [esp + 0x1c], eax
cmp eax, edx
mov eax, dword [esp + 0xc]
jb 0x402689
mov eax, edx
mov dword [esp + 0xc], eax
inc eax
push eax
push 0x30
push ecx
call fcn.0040c700
add esp, 0xc
add esi, edi
mov eax, dword [esp + 0x1c]
cmp esi, eax
jb 0x4026a6
mov esi, eax
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0xc]
add ecx, eax
add ecx, 2
sub edi, esi
add ebx, edi
jmp 0x403610
mov edi, dword [esp + 0x44]
mov edx, dword [esp + 4]
mov ebx, ecx
lea eax, [esp + 0xa4]
sub ecx, eax
add ecx, 0x3000000
mov dword [esp + 0x14], ecx
cmp dword [esp + 0x10], 0
je 0x402736
movzx eax, byte [section..data]
mov ecx, eax
add cl, al
and cl, 0x14
sub al, cl
add al, 0xa
mov byte [ebx], al
inc ebx
jmp 0x402874
mov byte [esp + 0x30], 3
or al, 0x30
mov byte [esp + 0x33], al
mov edi, dword [esp + 0x44]
add dword [esp + 0x2c], 8
mov eax, ebx
sub eax, dword [esp + 0xc]
mov dword [esp + 0x38], eax
lea eax, [esp + 0xa4]
sub ebx, eax
mov dword [esp + 0x28], ebx
mov dword [esp + 0x14], 0x3000001
mov dword [esp + 8], eax
jmp 0x4029a5
mov dword [esp + 0x10], 0
jmp 0x402874
mov esi, edx
jmp 0x40274b
mov esi, edx
mov ecx, ebx
cmp esi, 4
jl 0x40276d
mov dword [ecx], 0x30303030
add ecx, 4
mov eax, esi
not eax
and eax, 4
and esi, 0x7ffffffb
sub esi, eax
cmp esi, 3
jg 0x402750
test esi, esi
je 0x402787
push esi
push 0x30
push ecx
mov ebx, ecx
call fcn.0040c700
add esp, 0xc
add ebx, esi
mov dword [esp + 0xc], ebx
jmp 0x40278b
mov dword [esp + 0xc], ecx
mov eax, dword [esp + 0x28]
mov esi, dword [esp + 8]
lea ecx, [eax + esi]
cmp ecx, dword [esp + 0x10]
jle 0x4027a6
mov eax, dword [esp + 0x10]
sub eax, esi
mov dword [esp + 0x28], eax
test eax, eax
je 0x4027fe
mov edx, dword [esp + 0x10]
mov ebx, edx
cmp edx, ecx
jl 0x4027b6
mov ebx, ecx
mov ecx, eax
and ecx, 3
je 0x402804
mov dword [esp + 0x14], ebx
xor esi, esi
mov ebx, dword [esp + 0xc]
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov edi, dword [esp + 0x18]
lea edx, [edi + 1]
mov dword [esp + 0x18], edx
movzx edx, byte [edi]
mov byte [ebx + esi], dl
inc esi
cmp ecx, esi
jne 0x4027d0
add ebx, esi
mov dword [esp + 0xc], ebx
mov ecx, eax
sub ecx, esi
mov edi, dword [esp + 0x44]
mov esi, dword [esp + 8]
mov ebx, dword [esp + 0x14]
jmp 0x402806
mov ebx, dword [esp + 0xc]
jmp 0x40285e
mov ecx, eax
mov edx, esi
sub edx, ebx
cmp edx, 0xfffffffc
mov ebx, dword [esp + 0xc]
ja 0x40285e
mov edx, dword [esp + 0x18]
lea esi, [edx + 1]
mov dword [esp + 0x18], esi
movzx edx, byte [edx]
mov byte [ebx], dl
mov edx, dword [esp + 0x18]
lea esi, [edx + 1]
mov dword [esp + 0x18], esi
movzx edx, byte [edx]
mov byte [ebx + 1], dl
mov edx, dword [esp + 0x18]
lea esi, [edx + 1]
mov dword [esp + 0x18], esi
movzx edx, byte [edx]
mov byte [ebx + 2], dl
mov edx, dword [esp + 0x18]
lea esi, [edx + 1]
mov dword [esp + 0x18], esi
movzx edx, byte [edx]
mov byte [ebx + 3], dl
add ebx, 4
add ecx, 0xfffffffc
jne 0x402813
mov ecx, dword [esp + 8]
add ecx, eax
sub dword [esp + 0x10], ecx
mov dword [esp + 0x14], 0x3000001
mov edx, dword [esp + 4]
test edx, 0x100
je 0x402901
mov eax, edx
and eax, 0x400
sete byte [esp + 0x30]
mov byte [esp + 0x31], 0x20
cmp edx, 0x1000000
jb 0x402901
mov dword [esp + 0xc], ebx
mov ecx, edx
shr ecx, 0x18
mov ebx, eax
shr ebx, 0xa
mov edx, 2
sub edx, ebx
mov esi, dword [esp + 4]
cmp eax, 1
mov eax, 0
adc al, 1
test esi, 0x800
jne 0x4028d1
movzx ecx, byte [ecx + str._kMGT]
mov byte [esp + edx + 0x30], cl
jmp 0x4028f5
movzx ecx, byte [ecx + str._KMGT]
mov byte [esp + edx + 0x30], cl
mov ecx, esi
and ecx, 0x1800
cmp ecx, 0x800
jne 0x4028f5
movzx eax, al
mov byte [esp + eax + 0x31], 0x69
inc eax
mov ebx, dword [esp + 0xc]
mov byte [esp + 0x30], al
mov edx, dword [esp + 4]
lea eax, [esp + 0xa4]
sub ebx, eax
mov dword [esp + 0x28], ebx
mov dword [esp + 8], eax
xor eax, eax
jmp 0x4029ab
mov edi, dword [esp + 0x44]
mov edx, dword [esp + 4]
mov eax, dword [esp + 8]
mov ebx, dword [esp + 0xc]
test ebx, ebx
jne 0x403659
jmp 0x4026c4
mov eax, esi
cmp eax, 4
jb 0x40295d
mov edx, dword [ecx]
mov esi, 0x1010100
sub esi, edx
or esi, edx
not esi
test esi, 0x80808080
jne 0x402961
add ecx, 4
add eax, 0xfffffffc
cmp eax, 3
ja 0x40293d
test eax, eax
je 0x402974
lea edx, [ecx + eax]
not eax
cmp byte [ecx], 0
je 0x402974
inc ecx
inc eax
cmp eax, 0xffffffff
jne 0x402966
mov ecx, edx
mov edx, ecx
add dword [esp + 0x2c], 4
sub edx, dword [esp + 8]
mov dword [esp + 0x28], edx
mov byte [esp + 0x3c], 0
mov byte [esp + 0x30], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
xor eax, eax
mov edx, dword [esp + 4]
mov dword [esp + 4], edx
mov ecx, dword [esp + 0x28]
mov esi, ecx
cmp eax, ecx
jg 0x4029bb
mov eax, esi
mov ebx, eax
movsx eax, byte [esp + 0x3c]
movsx ecx, byte [esp + 0x30]
mov edx, dword [esp + 0x10]
mov dword [esp + 0x20], ebx
add edx, ebx
add edx, eax
add edx, ecx
mov ebx, dword [esp + 0x50]
cmp ebx, edx
jg 0x4029df
mov ebx, edx
mov ecx, ebx
xor ecx, edx
not edx
and edx, ebx
add edx, edx
sub edx, ecx
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x20]
mov ecx, edx
xor ecx, esi
not esi
and esi, edx
add esi, esi
sub esi, ecx
mov dword [esp + 0x20], esi
mov edx, dword [esp + 4]
test dl, 1
jne 0x402a1d
test dl, 0x10
mov ebx, dword [esp + 0x24]
mov esi, dword [ebp + 8]
jne 0x402a26
and edx, 0xffffffae
jmp 0x402a40
mov ebx, dword [esp + 0x24]
mov esi, dword [ebp + 8]
jmp 0x402a40
mov ecx, dword [esp + 0x1c]
cmp ecx, dword [esp + 0x20]
jg 0x402a34
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x1c], 0
mov ecx, dword [esp + 0x1c]
add ecx, dword [esp + 0x20]
mov dword [esp + 4], edx
je 0x402f0d
mov ecx, edx
xor ecx, 0xfffffffe
or edx, 1
test edx, ecx
jne 0x402bb0
mov edx, dword [esp + 0x1c]
test edx, edx
jg 0x402a80
jmp 0x402bb4
mov edx, dword [esp + 0x1c]
sub edx, dword [esp + 0xc]
test edx, edx
jle 0x402ba9
mov ecx, edx
test esi, esi
je 0x402a97
mov eax, ebx
sub eax, edi
add eax, 0x200
mov ecx, edx
cmp edx, eax
jl 0x402a97
mov ecx, eax
test ecx, ecx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x24], ebx
mov dword [esp + 0xc], ecx
je 0x402b10
mov eax, edi
and eax, 3
je 0x402b00
mov esi, edi
not edi
and edi, 3
mov eax, dword [esp + 0xc]
lea ebx, [eax - 1]
cmp edi, ebx
jb 0x402ac2
mov edi, ebx
lea eax, [edi + 1]
push eax
push 0x20
push esi
call fcn.0040c700
add esp, 0xc
add esi, edi
inc esi
sub ebx, edi
mov edx, dword [esp + 0x1c]
cmp ebx, 4
jge 0x402b19
test ebx, ebx
je 0x402b51
push ebx
push 0x20
mov edi, esi
push esi
call fcn.0040c700
mov edx, dword [esp + 0x28]
add esp, 0xc
add edi, ebx
jmp 0x402b53
mov esi, edi
mov ebx, dword [esp + 0xc]
cmp ebx, 4
jge 0x402b19
jmp 0x402adf
mov ebx, ecx
mov esi, edi
cmp ebx, 4
jl 0x402adf
mov eax, ebx
cmp ebx, 7
jl 0x402b25
mov eax, 7
neg eax
lea edi, [ebx + eax]
add edi, 3
and edi, 0xfffffffc
lea eax, [edi + 4]
push eax
push 0x20
push esi
call fcn.0040c700
add esp, 0xc
add esi, edi
add esi, 4
sub ebx, edi
add ebx, 0xfffffffc
mov edx, dword [esp + 0x1c]
test ebx, ebx
jne 0x402ae3
mov edi, esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x402ba0
mov eax, edi
mov ebx, dword [esp + 0x24]
sub eax, ebx
mov ecx, eax
and ecx, 1
mov edx, eax
xor edx, 1
lea ecx, [edx + ecx*2]
cmp ecx, 0x200
jl 0x402a70
add dword [esp + 0x48], eax
push eax
push dword [ebp + 0xc]
push ebx
call esi
add esp, 0xc
test eax, eax
je 0x4036bb
mov edi, eax
mov ebx, edi
jmp 0x402a70
mov ebx, dword [esp + 0x24]
jmp 0x402a74
movzx eax, byte [esp + 0x3c]
jmp 0x402bb4
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x3d]
mov dword [esp + 0x18], ecx
test al, al
mov dword [esp + 0x1c], edx
jne 0x402c19
mov eax, dword [esp + 0x14]
mov ecx, eax
shr ecx, 0x18
mov dword [esp + 0xc], ecx
xor esi, esi
mov edx, dword [esp + 4]
test dl, 0x40
je 0x402bf6
and eax, 0xffffff
add eax, dword [esp + 0x20]
mov esi, dword [esp + 0xc]
lea ecx, [esi + 1]
xor edx, edx
div ecx
sub esi, edx
mov edx, dword [esp + 4]
mov eax, dword [esp + 0x20]
test eax, eax
jg 0x402d44
lea eax, [esp + 0x3d]
mov dword [esp + 0x18], eax
jmp 0x403031
movzx eax, byte [esp + 0x3c]
test al, al
je 0x402bc4
movsx edx, al
mov ecx, ebx
sub ecx, edi
add ecx, 0x200
cmp ecx, edx
jl 0x402c2c
mov ecx, edx
test esi, esi
jne 0x402c32
mov ecx, edx
movzx eax, al
sub eax, ecx
mov byte [esp + 0x3c], al
test ecx, ecx
je 0x402cdb
mov eax, ecx
and eax, 3
je 0x402d20
mov dword [esp + 0x24], ebx
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov esi, dword [esp + 0x18]
mov ebx, edi
lea edi, [esi + 1]
mov dword [esp + 0x18], edi
mov edi, ebx
movzx ebx, byte [esi]
mov byte [edi + edx], bl
inc edx
cmp eax, edx
jne 0x402c60
add edi, edx
mov eax, ecx
sub eax, edx
mov esi, dword [ebp + 8]
mov ebx, dword [esp + 0x24]
cmp ecx, 4
jb 0x402cdb
nop
nop
nop
nop
mov ecx, dword [esp + 0x18]
lea edx, [ecx + 1]
mov dword [esp + 0x18], edx
movzx ecx, byte [ecx]
mov byte [edi], cl
mov ecx, dword [esp + 0x18]
lea edx, [ecx + 1]
mov dword [esp + 0x18], edx
movzx ecx, byte [ecx]
mov byte [edi + 1], cl
mov ecx, dword [esp + 0x18]
lea edx, [ecx + 1]
mov dword [esp + 0x18], edx
movzx ecx, byte [ecx]
mov byte [edi + 2], cl
mov ecx, dword [esp + 0x18]
lea edx, [ecx + 1]
mov dword [esp + 0x18], edx
movzx ecx, byte [ecx]
mov byte [edi + 3], cl
add edi, 4
add eax, 0xfffffffc
jne 0x402c90
test esi, esi
je 0x402c10
mov eax, edi
sub eax, ebx
cmp eax, 0x1ff
jl 0x402c10
add dword [esp + 0x48], eax
push eax
push dword [ebp + 0xc]
push ebx
call esi
add esp, 0xc
test eax, eax
je 0x4036bb
mov edi, eax
mov ebx, eax
jmp 0x402c10
mov eax, ecx
cmp ecx, 4
jae 0x402c90
jmp 0x402cdb
mov ebx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
sub eax, dword [esp + 0x14]
test eax, eax
jle 0x402f05
mov ecx, eax
mov dword [esp + 0x14], eax
cmp dword [ebp + 8], 0
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], eax
je 0x402d7d
mov ecx, ebx
not ecx
and ecx, edi
mov eax, ebx
xor eax, edi
add ecx, ecx
sub eax, ecx
add eax, 0x200
mov ebx, dword [esp + 0x20]
mov ecx, ebx
mov dword [esp + 0x14], ebx
cmp ebx, eax
jl 0x402d7d
mov dword [esp + 0x14], eax
test dl, 0x40
jne 0x402dd0
cmp dword [esp + 0x14], 0
je 0x402de0
mov eax, edi
and eax, 3
je 0x402de0
mov ecx, edi
not edi
and edi, 3
mov eax, dword [esp + 0x14]
lea ebx, [eax - 1]
cmp edi, ebx
jb 0x402da4
mov edi, ebx
lea eax, [edi + 1]
push eax
push 0x30
mov dword [esp + 0x4c], ecx
push ecx
call fcn.0040c700
add esp, 0xc
mov eax, dword [esp + 0x44]
add eax, edi
inc eax
sub ebx, edi
mov edi, eax
cmp ebx, 4
jl 0x402e0d
jmp 0x402df0
mov ebx, dword [esp + 0x14]
jmp 0x402e0d
mov ebx, dword [esp + 0x14]
cmp ebx, 4
jl 0x402e0d
nop
nop
nop
nop
nop
nop
nop
mov dword [edi], 0x30303030
add edi, 4
mov eax, ebx
not eax
and eax, 4
and ebx, 0x7ffffffb
sub ebx, eax
cmp ebx, 3
jg 0x402df0
test ebx, ebx
je 0x402e20
test bl, 1
jne 0x402e30
mov eax, ebx
jmp 0x402e53
mov edx, dword [esp + 4]
jmp 0x402e5c
mov al, 0x30
test byte [esp + 4], 0x40
je 0x402e4d
cmp esi, dword [esp + 0xc]
jne 0x402e4c
movzx eax, byte [0x448001]
xor al, 0xb4
xor esi, esi
jmp 0x402e4d
inc esi
mov byte [edi], al
inc edi
lea eax, [ebx - 1]
cmp ebx, 1
mov edx, dword [esp + 4]
jne 0x402ea0
cmp dword [ebp + 8], 0
je 0x402d30
mov eax, edi
mov ebx, dword [esp + 0x24]
sub eax, ebx
cmp eax, 0x1ff
jl 0x402d34
mov ecx, ebx
mov ebx, edx
add dword [esp + 0x48], eax
push eax
push dword [ebp + 0xc]
push ecx
call dword [ebp + 8]
add esp, 0xc
test eax, eax
je 0x4036bb
mov edi, eax
mov edx, ebx
mov ebx, edi
jmp 0x402d34
mov ebx, edx
jmp 0x402ec7
movzx ecx, byte [0x448001]
xor cl, 0xb4
xor esi, esi
mov byte [edi + 1], cl
add edi, 2
add eax, 0xfffffffe
je 0x402e5c
mov cl, 0x30
test dl, 0x40
je 0x402ef1
cmp esi, dword [esp + 0xc]
jne 0x402ef0
movzx edx, byte [0x448001]
xor dl, 0xb4
xor esi, esi
jmp 0x402ef3
inc esi
mov dl, 0x30
mov byte [edi], dl
mov edx, ebx
test dl, 0x40
je 0x402ebc
cmp esi, dword [esp + 0xc]
je 0x402eb0
inc esi
jmp 0x402ebc
movzx eax, byte [esp + 0x3c]
mov esi, dword [ebp + 8]
lea ecx, [esp + 0x3d]
mov dword [esp + 0x18], ecx
test al, al
jne 0x402f31
jmp 0x403031
mov edi, eax
mov ebx, eax
movzx eax, byte [esp + 0x3c]
test al, al
je 0x40302d
movsx edx, al
mov ecx, ebx
sub ecx, edi
add ecx, 0x200
cmp ecx, edx
jl 0x402f44
mov ecx, edx
test esi, esi
jne 0x402f4a
mov ecx, edx
sub al, cl
mov byte [esp + 0x3c], al
test ecx, ecx
je 0x402feb
mov eax, ecx
and eax, 3
je 0x403020
mov dword [esp + 0x24], ebx
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
mov esi, dword [esp + 0x18]
mov ebx, edi
lea edi, [esi + 1]
mov dword [esp + 0x18], edi
mov edi, ebx
movzx ebx, byte [esi]
mov byte [edi + edx], bl
inc edx
cmp eax, edx
jne 0x402f70
add edi, edx
mov eax, ecx
sub eax, edx
mov esi, dword [ebp + 8]
mov ebx, dword [esp + 0x24]
cmp ecx, 4
jb 0x402feb
nop
nop
nop
nop
mov ecx, dword [esp + 0x18]
lea edx, [ecx + 1]
mov dword [esp + 0x18], edx
movzx ecx, byte [ecx]
mov byte [edi], cl
mov ecx, dword [esp + 0x18]
lea edx, [ecx + 1]
mov dword [esp + 0x18], edx
movzx ecx, byte [ecx]
mov byte [edi + 1], cl
mov ecx, dword [esp + 0x18]
lea edx, [ecx + 1]
mov dword [esp + 0x18], edx
movzx ecx, byte [ecx]
mov byte [edi + 2], cl
mov ecx, dword [esp + 0x18]
lea edx, [ecx + 1]
mov dword [esp + 0x18], edx
movzx ecx, byte [ecx]
mov byte [edi + 3], cl
add edi, 4
add eax, 0xfffffffc
jne 0x402fa0
test esi, esi
je 0x402f24
mov eax, edi
sub eax, ebx
cmp eax, 0x1ff
jl 0x402f24
add dword [esp + 0x48], eax
push eax
push dword [ebp + 0xc]
push ebx
call esi
add esp, 0xc
test eax, eax
jne 0x402f20
jmp 0x4036bb
mov eax, ecx
cmp ecx, 4
jae 0x402fa0
jmp 0x402feb
mov edx, dword [esp + 4]
mov esi, dword [esp + 0x28]
test esi, esi
jne 0x403160
mov ecx, dword [esp + 0x10]
test ecx, ecx
mov esi, dword [ebp + 8]
jne 0x403346
mov dword [esp + 0x24], ebx
lea eax, [esp + 0x31]
mov dword [esp + 0x18], eax
nop
nop
nop
nop
nop
nop
nop
nop
movzx ecx, byte [esp + 0x30]
test cl, cl
je 0x403450
movsx edx, cl
mov eax, dword [esp + 0x24]
sub eax, edi
add eax, 0x200
cmp eax, edx
jl 0x403081
mov eax, edx
test esi, esi
jne 0x403087
mov eax, edx
sub cl, al
mov byte [esp + 0x30], cl
test eax, eax
je 0x4030f9
test al, 1
jne 0x4030a0
mov ecx, eax
jmp 0x4030b8
mov ecx, dword [esp + 0x18]
lea edx, [ecx + 1]
mov dword [esp + 0x18], edx
movzx ecx, byte [ecx]
mov byte [edi], cl
inc edi
mov ecx, eax
not ecx
lea ecx, [ecx + eax*2]
mov edx, dword [esp + 4]
cmp eax, 1
je 0x4030fd
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 0x18]
lea edx, [eax + 1]
mov dword [esp + 0x18], edx
movzx eax, byte [eax]
mov byte [edi], al
mov eax, dword [esp + 0x18]
lea edx, [eax + 1]
mov dword [esp + 0x18], edx
movzx eax, byte [eax]
mov byte [edi + 1], al
add edi, 2
add ecx, 0xfffffffe
jne 0x4030d0
mov edx, dword [esp + 4]
test esi, esi
je 0x403060
mov eax, edi
mov ebx, dword [esp + 0x24]
sub eax, ebx
lea ecx, [eax + 1]
cmp ecx, 0x200
jl 0x403060
add dword [esp + 0x48], eax
push eax
push dword [ebp + 0xc]
push ebx
call esi
add esp, 0xc
test eax, eax
je 0x4036bb
mov edi, eax
mov dword [esp + 0x24], eax
mov edx, dword [esp + 4]
jmp 0x403060
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0xc]
sub esi, eax
je 0x40303d
mov ecx, esi
cmp dword [ebp + 8], 0
je 0x403183
mov ecx, ebx
not ecx
and ecx, edi
mov eax, edi
not eax
and eax, ebx
sub eax, ecx
add eax, 0x200
mov ecx, esi
cmp esi, eax
jl 0x403183
mov ecx, eax
cmp ecx, 4
mov dword [esp + 0x14], esi
mov dword [esp + 0xc], ecx
jl 0x4031e0
lea eax, [ecx - 4]
mov dword [esp + 0x20], eax
shr eax, 2
inc eax
and eax, 7
je 0x4031e8
mov dword [esp + 0x24], ebx
shl eax, 2
mov ebx, edi
xor edi, edi
mov edx, dword [esp + 8]
nop
mov ecx, dword [edx + edi]
mov dword [ebx + edi], ecx
add edi, 4
cmp eax, edi
jne 0x4031b0
add ebx, edi
mov ecx, dword [esp + 0xc]
sub ecx, edi
add edx, edi
mov dword [esp + 8], edx
mov eax, ecx
mov edi, ebx
mov ebx, dword [esp + 0x24]
mov edx, dword [esp + 4]
jmp 0x4031e8
mov eax, ecx
mov esi, dword [esp + 8]
jmp 0x403241
cmp dword [esp + 0x20], 0x1c
mov esi, dword [esp + 8]
jb 0x403241
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esi]
mov dword [edi], eax
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov eax, dword [esi + 8]
mov dword [edi + 8], eax
mov eax, dword [esi + 0xc]
mov dword [edi + 0xc], eax
mov eax, dword [esi + 0x10]
mov dword [edi + 0x10], eax
mov eax, dword [esi + 0x14]
mov dword [edi + 0x14], eax
mov eax, dword [esi + 0x18]
mov dword [edi + 0x18], eax
mov eax, dword [esi + 0x1c]
mov dword [edi + 0x1c], eax
add edi, 0x20
add esi, 0x20
lea eax, [ecx - 0x20]
add ecx, 0xffffffdc
cmp ecx, 0xfffffff8
mov ecx, eax
jb 0x403200
test eax, eax
je 0x4032d1
mov ecx, eax
and ecx, 7
je 0x403320
mov dword [esp + 0x24], ebx
xor edx, edx
nop
nop
nop
nop
nop
nop
movzx ebx, byte [esi + edx]
mov byte [edi + edx], bl
inc edx
cmp ecx, edx
jne 0x403260
add edi, edx
mov ecx, eax
sub ecx, edx
add esi, edx
mov ebx, dword [esp + 0x24]
mov edx, dword [esp + 4]
cmp eax, 8
jb 0x4032d1
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx eax, byte [esi]
mov byte [edi], al
movzx eax, byte [esi + 1]
mov byte [edi + 1], al
movzx eax, byte [esi + 2]
mov byte [edi + 2], al
movzx eax, byte [esi + 3]
mov byte [edi + 3], al
movzx eax, byte [esi + 4]
mov byte [edi + 4], al
movzx eax, byte [esi + 5]
mov byte [edi + 5], al
movzx eax, byte [esi + 6]
mov byte [edi + 6], al
movzx eax, byte [esi + 7]
add esi, 8
mov byte [edi + 7], al
add edi, 8
add ecx, 0xfffffff8
jne 0x403290
mov dword [esp + 8], esi
cmp dword [ebp + 8], 0
je 0x403150
mov eax, edi
sub eax, ebx
cmp eax, 0x1ff
mov esi, dword [esp + 0x14]
jl 0x403154
mov ecx, ebx
mov ebx, edx
add dword [esp + 0x48], eax
push eax
push dword [ebp + 0xc]
push ecx
call dword [ebp + 8]
add esp, 0xc
test eax, eax
je 0x4036bb
mov edi, eax
mov edx, ebx
mov ebx, edi
jmp 0x403154
mov ecx, eax
cmp eax, 8
jae 0x403290
jmp 0x4032d1
mov ebx, dword [esp + 0x24]
mov edx, dword [esp + 4]
mov ecx, dword [esp + 0x10]
sub ecx, dword [esp + 8]
je 0x40304c
mov eax, ebx
sub eax, edi
add eax, 0x200
mov edx, ecx
mov dword [esp + 0x10], ecx
cmp ecx, eax
jl 0x40335b
mov edx, eax
test esi, esi
jne 0x403363
mov edx, dword [esp + 0x10]
test edx, edx
mov dword [esp + 8], edx
mov dword [esp + 0x24], ebx
je 0x4033c0
mov eax, edi
and eax, 3
je 0x4033c0
mov esi, edi
not edi
and edi, 3
lea ebx, [edx - 1]
cmp edi, ebx
jb 0x403386
mov edi, ebx
lea eax, [edi + 1]
push eax
push 0x30
push esi
call fcn.0040c700
add esp, 0xc
add esi, edi
inc esi
sub ebx, edi
cmp ebx, 4
jge 0x4033c9
test ebx, ebx
je 0x4033fd
push ebx
push 0x30
mov edi, esi
push esi
call fcn.0040c700
add esp, 0xc
add edi, ebx
jmp 0x4033ff
mov esi, edi
mov ebx, edx
cmp ebx, 4
jl 0x40339f
mov eax, ebx
cmp ebx, 7
jl 0x4033d5
mov eax, 7
neg eax
lea edi, [ebx + eax]
add edi, 3
and edi, 0xfffffffc
lea eax, [edi + 4]
push eax
push 0x30
push esi
call fcn.0040c700
add esp, 0xc
add esi, edi
add esi, 4
sub ebx, edi
add ebx, 0xfffffffc
test ebx, ebx
jne 0x4033a3
mov edi, esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x403330
mov ecx, edi
mov ebx, dword [esp + 0x24]
xor ecx, ebx
mov eax, ebx
not eax
and eax, edi
add eax, eax
sub eax, ecx
cmp eax, 0x1ff
mov edx, dword [esp + 4]
jl 0x403338
mov ecx, ebx
mov ebx, edx
add dword [esp + 0x48], eax
push eax
push dword [ebp + 0xc]
push ecx
call esi
add esp, 0xc
test eax, eax
je 0x4036bb
mov edi, eax
mov edx, ebx
mov ebx, edi
jmp 0x403338
test dl, 1
je 0x4035fe
mov edx, dword [esp + 0x1c]
test edx, edx
mov ecx, dword [esp + 0x4c]
mov ebx, dword [esp + 0x24]
jle 0x40346b
jne 0x403492
inc ecx
jmp 0x40103a
mov edi, eax
mov ebx, eax
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0xc]
mov edx, eax
test eax, eax
je 0x40346b
mov dword [esp + 0x24], ebx
mov eax, esi
xor ebx, ebx
test esi, esi
je 0x4034e0
mov ecx, edi
sub ecx, dword [esp + 0x24]
mov eax, ecx
not eax
and ecx, 0xfffffdff
and eax, 0x200
sub eax, ecx
mov ecx, edx
cmp edx, eax
jl 0x4034bd
mov ecx, eax
sub edx, ecx
mov eax, edx
test ecx, ecx
jne 0x4034e4
mov dword [esp + 0xc], edx
mov esi, dword [ebp + 8]
mov ebx, dword [esp + 0x24]
jmp 0x4035bc
xor eax, eax
mov ecx, edx
mov dword [esp + 0xc], eax
lea eax, [ecx + 3]
mov esi, edi
mov edi, ecx
nop
mov dword [esp + 8], edi
mov dword [esp + 4], eax
mov edx, ecx
mov edi, esi
lea eax, [esi + ebx]
mov esi, eax
or esi, 3
mov ecx, eax
xor ecx, 0xfffffffc
test esi, ecx
je 0x403530
mov esi, edi
mov byte [edi + ebx], 0x20
mov edi, dword [esp + 8]
dec edi
inc ebx
mov eax, dword [esp + 4]
dec eax
mov ecx, edx
cmp edx, ebx
jne 0x4034f0
add esi, ebx
mov ebx, dword [ebp + 8]
mov edi, esi
mov esi, ebx
jmp 0x4035ac
mov dword [esp + 0x14], eax
mov dword [esp + 0x44], edi
mov eax, edx
sub eax, ebx
cmp eax, 4
jl 0x403591
mov esi, ebx
mov edi, dword [esp + 8]
cmp edi, 7
jl 0x403551
mov edi, 7
mov eax, edx
sub eax, edi
sub eax, esi
add eax, 3
and eax, 0xfffffffc
add eax, 4
push eax
push 0x20
push dword [esp + 0x1c]
mov ebx, edx
call fcn.0040c700
add esp, 0xc
mov ecx, dword [esp + 4]
sub ecx, edi
and ecx, 0xfffffffc
mov eax, dword [esp + 0x44]
add eax, ecx
lea edi, [esi + eax]
add edi, 4
sub ebx, ecx
sub ebx, esi
add ebx, 0xfffffffc
mov eax, ebx
jmp 0x403595
mov edi, dword [esp + 0x14]
test eax, eax
mov esi, dword [ebp + 8]
je 0x4035ac
push eax
push 0x20
push edi
mov ebx, eax
call fcn.0040c700
add esp, 0xc
add edi, ebx
mov ebx, dword [esp + 0x24]
test esi, esi
mov ecx, dword [esp + 0x4c]
je 0x403488
mov ecx, edi
not ecx
and ecx, ebx
mov eax, ebx
not eax
and eax, edi
sub eax, ecx
mov ecx, eax
and ecx, 1
mov edx, eax
xor edx, 1
lea ecx, [edx + ecx*2]
cmp ecx, 0x200
jl 0x403484
add dword [esp + 0x48], eax
push eax
push dword [ebp + 0xc]
push ebx
call esi
add esp, 0xc
test eax, eax
jne 0x403480
jmp 0x4036bb
mov ecx, dword [esp + 0x4c]
mov ebx, dword [esp + 0x24]
inc ecx
jmp 0x40103a
mov ebx, dword [esp + 0xc]
cmp ebx, 4
mov edi, dword [esp + 0x44]
jb 0x40363b
mov esi, ebx
and esi, 0xfffffffc
push esi
push 0x30
push ecx
mov dword [esp + 0x18], ebx
mov ebx, ecx
call fcn.0040c700
mov ecx, ebx
mov ebx, dword [esp + 0x18]
add esp, 0xc
add ecx, esi
and ebx, 3
mov edx, dword [esp + 4]
mov eax, dword [esp + 8]
test ebx, ebx
jne 0x403659
jmp 0x4026c4
mov byte [ecx], 0x30
dec ebx
inc ecx
test ebx, ebx
je 0x4026c4
test dl, 0x40
je 0x40364c
inc eax
cmp eax, 4
jne 0x40364c
movzx eax, byte [0x448001]
mov esi, ecx
mov ecx, eax
add cl, al
and cl, 0x68
sub al, cl
mov ecx, esi
add al, 0xb4
mov byte [esi], al
xor eax, eax
inc ecx
test ebx, ebx
jne 0x403659
jmp 0x4026c4
fstp st(1)
fdivp st(1)
or edx, 0x4000000
jmp 0x40237d
test edx, edx
je 0x4036c1
mov eax, edi
mov ecx, dword [esp + 0x24]
sub eax, ecx
test eax, eax
jle 0x4036c8
add dword [esp + 0x48], eax
push eax
push dword [ebp + 0xc]
push ecx
call edx
add esp, 0xc
mov edi, eax
mov ecx, eax
jmp 0x4036c8
xor edi, edi
xor ecx, ecx
jmp 0x4036c8
mov byte [edi], 0
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x48]
add eax, edi
sub eax, ecx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret