Function at 0x401000
Capabilities:
Authenticate hmac
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x260
mov eax, dword [ebp + 0x18]
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 0x14]
mov ebx, dword [ebp + 0x10]
mov dword [esp + 0x48], 0
mov esi, ebx
jmp 0x401036
mov byte [ebx], al
inc ebx
mov eax, edi
inc eax
test al, 3
mov dword [esp + 0x18], esi
mov edi, eax
je 0x401050
movzx eax, byte [eax]
jmp 0x4010d0
mov eax, dword [eax]
mov ecx, eax
xor ecx, 0xdadadada
add ecx, 0x1010101
or ecx, eax
not ecx
test ecx, 0x80808080
jne 0x4010d0
mov ecx, esi
sub ecx, ebx
add ecx, 0x200
jmp 0x4010a8
mov dword [ebx], eax
add ebx, 4
mov eax, dword [edi + 4]
add edi, 4
mov edx, eax
xor edx, 0xdadadada
add edx, 0x1010101
or edx, eax
not edx
add ecx, 0xfffffffc
test edx, 0x80808080
jne 0x4010d0
lea edx, [eax - 0x1010101]
mov esi, eax
not esi
and esi, edx
test esi, 0x80808080
jne 0x4010d4
cmp dword [ebp + 8], 0
je 0x401080
cmp ecx, 4
jge 0x401080
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp al, 0x25
je 0x401139
test al, al
mov esi, dword [esp + 0x18]
je 0x403606
cmp dword [ebp + 8], 0
je 0x401030
mov edx, ebx
not edx
and edx, esi
mov ecx, esi
not ecx
and ecx, ebx
sub ecx, edx
lea edx, [ecx + 1]
cmp edx, 0x200
jl 0x401030
mov eax, ecx
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 dword [ebp + 8]
add esp, 0xc
test eax, eax
je 0x403629
mov ebx, eax
mov eax, edi
movzx eax, byte [edi]
mov esi, ebx
jmp 0x401030
add edi, 2
mov dword [esp + 4], 0
mov ecx, edi
jmp 0x401155
mov edx, 1
nop
nop
nop
or dword [esp + 4], edx
inc ecx
movzx eax, byte [ecx - 1]
lea esi, [eax - 0x20]
cmp esi, 0x3f
ja case.0x401166.33
mov edx, 2
jmp dword [esi*4 + 0x445564]
mov edx, 4
jmp case.0x401166.43
mov edx, 0x400
jmp case.0x401166.43
mov edx, 0x100
test dword [esp + 4], 0x100
je case.0x401166.43
mov edx, dword [esp + 4]
and edx, 0x800
add edx, 0x800
jmp case.0x401166.43
mov edx, 8
jmp case.0x401166.43
mov edx, 0x40
jmp case.0x401166.43
or dword [esp + 4], 0x10
movzx eax, byte [ecx]
jmp 0x4011b5
dec ecx
cmp al, 0x2a
mov esi, dword [esp + 0x18]
jne 0x4011d5
mov eax, dword [esp + 0x20]
mov edx, dword [eax]
mov dword [esp + 0x24], edx
add eax, 4
mov dword [esp + 0x20], eax
movzx eax, byte [ecx + 1]
inc ecx
jmp 0x40121a
mov dword [esp + 0x24], 0
cmp al, 0x30
jl 0x40121a
mov dword [esp + 0x24], 0
nop
nop
nop
nop
nop
nop
nop
cmp al, 0x39
ja 0x40126f
movzx eax, al
mov edx, dword [esp + 0x24]
lea edx, [edx + edx*4]
lea edx, [eax + edx*2]
mov eax, edx
not eax
and edx, 0xffffffcf
and eax, 0x30
sub edx, eax
mov dword [esp + 0x24], edx
movzx eax, byte [ecx + 1]
inc ecx
cmp al, 0x2f
jg 0x4011f0
mov edx, 0xffffffff
cmp al, 0x2e
jne 0x401278
movzx eax, byte [ecx + 1]
cmp al, 0x2a
jne 0x401241
mov eax, dword [esp + 0x20]
mov edx, dword [eax]
add eax, 4
mov dword [esp + 0x20], eax
movzx eax, byte [ecx + 2]
add ecx, 2
jmp 0x401278
inc ecx
mov edx, eax
add dl, 0xd0
cmp dl, 9
ja 0x401276
xor edx, edx
nop
nop
movzx eax, al
lea edx, [edx + edx*4]
lea edi, [eax + edx*2]
add edi, 0xffffffd0
movzx eax, byte [ecx + 1]
inc ecx
mov edx, eax
add dl, 0xd0
cmp dl, 0xa
mov edx, edi
jb 0x401250
jmp 0x401278
mov edx, 0xffffffff
jmp 0x401278
xor edx, edx
movzx eax, al
add eax, 0xffffffb7
cmp eax, 0x31
mov dword [esp + 0x10], edx
ja case.0x401287.74
jmp dword [eax*4 + 0x445664]
inc ecx
movzx edx, byte [ecx]
mov dword [esp + 0x4c], ecx
movzx eax, dl
add eax, 0xffffffbf
cmp eax, 0x37
ja case.0x4012a9.67
mov dword [esp + 0x2c], ebx
jmp dword [eax*4 + 0x44572c]
test byte [esp + 4], 0x20
jne 0x4015ba
mov eax, dword [esp + 0x20]
mov ecx, dword [eax]
add eax, 4
mov dword [esp + 0x20], eax
mov dword [esp + 8], 0
cmp dl, 0x75
je 0x401b0d
test ecx, ecx
jns 0x401b0d
neg ecx
mov dword [esp + 0x14], ecx
mov edx, dword [esp + 4]
or edx, 0x80
jmp 0x401b1f
movzx edx, byte [ecx + 1]
cmp dl, 0x6c
jne 0x401364
mov edx, dword [esp + 4]
mov eax, edx
not eax
or eax, 0xffffffdf
add edx, eax
add edx, 0x21
mov dword [esp + 4], edx
add ecx, 2
jmp case.0x401287.74
lea eax, [ecx + 1]
movzx edx, byte [ecx + 1]
cmp edx, 0x33
je 0x4019b7
cmp edx, 0x36
jne 0x4019c8
cmp byte [ecx + 2], 0x34
jne 0x4019c1
or dword [esp + 4], 0x20
add ecx, 3
jmp case.0x401287.74
or dword [esp + 4], 0x200
movzx edx, byte [ecx + 1]
cmp dl, 0x68
jne 0x401364
add ecx, 2
jmp case.0x401287.74
inc ecx
jmp 0x401292
mov eax, str.0123456789ABCDEFXP
cmp dl, 0x45
je 0x401379
mov eax, str.0123456789abcdefxp
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x20]
fld qword [eax]
mov ecx, 6
mov eax, dword [esp + 0x10]
cmp eax, 0xffffffff
je 0x401393
mov ecx, eax
add dword [esp + 0x20], 8
mov eax, ecx
not eax
or eax, 0x7fffffff
mov dword [esp + 8], ecx
add eax, ecx
add eax, 0x80000001
sub esp, 0x18
fstp qword [esp + 8]
lea ecx, [esp + 0x54]
mov dword [esp + 4], ecx
lea ecx, [esp + 0x74]
mov dword [esp], ecx
mov dword [esp + 0x10], eax
lea ecx, [esp + 0x24]
lea edx, [esp + 0x34]
call fcn.00403650
add esp, 0x18
test eax, eax
je 0x401e21
mov ecx, dword [esp + 4]
mov eax, ecx
xor eax, 0x80
add eax, ecx
and ecx, 0xffffff7f
sub eax, ecx
mov ecx, eax
jmp 0x401e25
mov esi, str.0123456789ABCDEFXP
cmp dl, 0x41
je 0x401409
mov esi, str.0123456789abcdefxp
mov dword [esp + 0x28], edx
mov eax, 6
mov edx, dword [esp + 0x10]
cmp edx, 0xffffffff
mov ecx, dword [esp + 4]
je 0x401421
mov eax, edx
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x20]
mov edx, dword [eax + 4]
test edx, edx
jns 0x401436
or ecx, 0x80
mov dword [esp + 0x10], esi
mov eax, dword [esp + 0x20]
mov esi, dword [eax]
mov al, 0x2d
test cl, cl
mov dword [esp + 4], ecx
js 0x40157b
mov al, 0x20
test cl, 4
jne 0x40157b
mov al, 0x2b
test cl, 2
jne 0x40157b
xor ebx, ebx
jmp 0x401581
mov dword [esp + 0x14], str.0123456789ABCDEFXP
cmp dl, 0x42
je 0x401480
mov dword [esp + 0x14], str.0123456789abcdefxp
mov byte [esp + 0x40], 0
test byte [esp + 4], 8
je 0x4014a2
cmp dl, 0x42
setne al
mov word [esp + 0x40], 0x3002
shl al, 5
or al, 0x42
mov byte [esp + 0x42], al
mov dword [esp + 0x1c], 0x180
mov ecx, 1
jmp 0x40167f
mov eax, str.0123456789ABCDEFXP
cmp dl, 0x47
je 0x4014c3
mov eax, str.0123456789abcdefxp
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x20]
fld qword [eax]
mov ecx, dword [esp + 0x10]
cmp ecx, 1
mov eax, ecx
adc eax, 0
mov edi, 6
cmp ecx, 0xffffffff
je 0x4014e5
mov edi, eax
lea eax, [edi - 1]
or eax, 0x80000000
sub esp, 0x18
fstp qword [esp + 8]
lea ecx, [esp + 0x54]
mov dword [esp + 4], ecx
lea ecx, [esp + 0x74]
mov dword [esp], ecx
mov dword [esp + 0x10], eax
lea ecx, [esp + 0x24]
lea edx, [esp + 0x34]
call fcn.00403650
add esp, 0x18
test eax, eax
je 0x401523
or dword [esp + 4], 0x80
mov ecx, dword [esp + 0x1c]
cmp ecx, edi
jb 0x40152d
mov ecx, edi
mov eax, ecx
cmp ecx, 2
jb 0x4015fd
mov ecx, dword [esp + 0xc]
mov dword [esp], ecx
mov ecx, edi
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov edx, dword [esp]
cmp byte [edx + eax - 1], 0x30
jne 0x401dd6
mov esi, eax
lea edx, [ecx - 1]
dec esi
mov eax, esi
cmp esi, 2
jb 0x401dd8
cmp ecx, 1
mov ecx, edx
jne 0x401550
jmp 0x401dd8
mov byte [esp + 0x41], al
mov bl, 1
mov eax, edx
and eax, 0xfffff
shr edx, 0x14
and edx, 0x7ff
je 0x4019ed
add edx, 0xfffffc01
mov dword [esp + 0x30], edx
mov ecx, 0xffffffff
add esi, ecx
mov ecx, 0xfffff
adc eax, ecx
add esi, 1
adc eax, 0
jmp 0x401a02
mov ecx, dword [esp + 0x20]
lea edi, [ecx + 8]
mov eax, dword [ecx]
mov dword [esp + 0x14], eax
mov eax, dword [ecx + 4]
cmp dl, 0x75
je 0x401b13
test eax, eax
jns 0x401b13
neg dword [esp + 0x14]
mov ecx, 0
sbb ecx, eax
mov edx, dword [esp + 4]
or edx, 0x80
mov dword [esp + 8], ecx
mov dword [esp + 0x20], edi
jmp 0x401b1f
mov edx, edi
jmp 0x401dd8
and dword [esp + 4], 0xffffffef
mov dword [esp + 0x10], 8
mov dword [esp + 0x14], str.0123456789ABCDEFXP
cmp dl, 0x58
je 0x401626
mov dword [esp + 0x14], str.0123456789abcdefxp
mov dword [esp + 0x1c], 0x440
mov byte [esp + 0x40], 0
mov ecx, 4
test byte [esp + 4], 8
je 0x40167f
cmp dl, 0x58
setne al
mov word [esp + 0x40], 0x3002
shl al, 5
or al, 0x58
mov byte [esp + 0x42], al
jmp 0x40167f
mov byte [esp + 0x40], 0
test byte [esp + 4], 8
je 0x40166a
mov word [esp + 0x40], 0x3001
mov dword [esp + 0x1c], 0x330
mov dword [esp + 0x14], str.0123456789ABCDEFXP
mov ecx, 3
mov eax, dword [esp + 0x10]
mov dword [esp + 0x10], eax
test byte [esp + 4], 0x20
jne 0x40169f
mov esi, dword [esp + 0x20]
mov eax, dword [esi]
add esi, 4
mov dword [esp + 0x20], esi
xor esi, esi
jmp 0x4016af
mov edi, dword [esp + 0x20]
mov eax, dword [edi]
mov esi, dword [edi + 4]
add edi, 8
mov dword [esp + 0x20], edi
mov dword [esp + 0x3c], 0
mov byte [esp + 0x34], 0
mov edi, eax
or edi, esi
jne 0x4016d2
mov byte [esp + 0x40], 0
cmp dword [esp + 0x10], 0
je 0x4019d1
mov edi, 0xffffffff
shl edi, cl
not edi
and edi, eax
mov edx, dword [esp + 0x1c]
mov cl, dh
shrd eax, esi, cl
mov ebx, esi
mov esi, eax
mov eax, dword [esp + 0x14]
movzx ecx, byte [eax + edi]
mov byte [esp + 0x25b], cl
mov cl, dh
shr ebx, cl
test dh, 0x20
jne 0x401708
mov ecx, esi
mov esi, ebx
jmp 0x40170c
mov ecx, ebx
xor esi, esi
mov dword [esp + 8], ecx
or ecx, esi
mov eax, dword [esp + 0x10]
jne 0x401756
mov ecx, 1
cmp eax, 2
jge 0x401756
lea edi, [esp + 0x25b]
shr edx, 4
mov eax, edx
xor eax, 0xf0
or edx, 0xf
and edx, eax
shl edx, 0x18
add edx, ecx
mov dword [esp + 0x28], edx
mov dword [esp + 0x1c], ecx
xor edx, edx
mov ebx, dword [esp + 0x2c]
mov ecx, edi
mov eax, dword [esp + 0x10]
jmp 0x40291c
lea edi, [esp + 0x25b]
lea ebx, [esp + 0x25c]
mov dword [esp], ebx
nop
nop
nop
nop
nop
nop
nop
nop
nop
test byte [esp + 4], 0x40
je 0x401788
inc edx
mov dword [esp + 0x1c], edx
mov ecx, edx
shr ecx, 4
xor ecx, edx
test cl, 0xf
je 0x4017f5
mov ebx, esi
mov dword [esp], edi
mov edi, 0xffffffff
mov cl, dh
shl edi, cl
not edi
mov esi, dword [esp + 8]
and edi, esi
mov edx, dword [esp + 0x1c]
mov cl, dh
shrd esi, ebx, cl
mov eax, dword [esp + 0x14]
movzx ecx, byte [eax + edi]
mov eax, dword [esp]
mov byte [eax - 1], cl
mov cl, dh
shr ebx, cl
test dh, 0x20
jne 0x4017d0
mov ecx, esi
mov esi, ebx
jmp 0x4017d4
mov ecx, ebx
xor esi, esi
lea edi, [eax - 1]
mov dword [esp + 8], ecx
or ecx, esi
jne 0x401770
lea ecx, [esp + 0x25c]
mov eax, edi
sub ecx, edi
cmp ecx, dword [esp + 0x10]
jl 0x401770
jmp 0x401729
mov ebx, esi
and edx, 0xfffffff0
mov dword [esp + 0x1c], edx
movzx ecx, byte [0x448001]
xor cl, 0x69
mov eax, dword [esp]
mov byte [eax - 2], cl
add eax, 0xfffffffe
mov dword [esp], eax
mov edx, dword [esp + 0x1c]
jmp 0x40178d
mov eax, dword [esp + 0x20]
mov eax, dword [eax]
mov ecx, str.null
test eax, eax
je 0x40182e
mov ecx, eax
mov dword [esp], ecx
mov eax, dword [esp + 0x10]
mov edx, eax
mov edi, eax
test eax, eax
jns 0x401842
mov edx, 0xffffffff
mov ecx, dword [esp]
test cl, 3
je 0x40226b
lea eax, [edx + ecx]
test edi, edi
je 0x4028f3
cmp byte [ecx], 0
je 0x4028e8
inc ecx
lea esi, [edx - 1]
mov edi, ecx
test cl, 3
je 0x40355d
test esi, esi
je 0x4028f0
cmp byte [edi], 0
je 0x402788
mov ecx, dword [esp]
add ecx, 2
lea esi, [edx - 2]
mov dword [esp + 8], ecx
test cl, 3
je 0x4035e3
test esi, esi
je 0x4028f0
mov ecx, dword [esp + 8]
cmp byte [ecx], 0
je 0x4035ee
mov ecx, dword [esp]
add ecx, 3
lea esi, [edx - 3]
mov dword [esp + 8], ecx
test cl, 3
je 0x4035e3
test esi, esi
je 0x4028f0
mov ecx, dword [esp + 8]
cmp byte [ecx], 0
je 0x4035ee
mov ecx, dword [esp]
lea ebx, [ecx + 4]
add edx, 0xfffffffc
test bl, 3
je 0x40226d
test edx, edx
je 0x4028ec
mov eax, ebx
jmp 0x4028ec
mov byte [esp + 0x25b], dl
mov dword [esp + 0x1c], 1
mov byte [esp + 0x40], 0
mov byte [esp + 0x34], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x28], 0
lea ecx, [esp + 0x25b]
mov dword [esp + 4], 0
xor edx, edx
xor eax, eax
mov dword [esp + 0x24], 0
jmp 0x40291c
mov ecx, dword [esp + 0x20]
movzx eax, byte [ecx]
mov byte [esp + 0x25b], al
mov dword [esp + 0x1c], 1
mov byte [esp + 0x40], 0
mov byte [esp + 0x34], 0
mov dword [esp + 0x3c], 0
add ecx, 4
mov dword [esp + 0x20], ecx
mov dword [esp + 0x28], 0
lea ecx, [esp + 0x25b]
jmp 0x402918
mov eax, dword [esp + 0x20]
fld qword [eax]
add eax, 8
mov dword [esp + 0x20], eax
mov edx, dword [esp + 0x10]
jmp 0x401b73
mov edx, dword [esp + 0x20]
mov eax, dword [edx]
mov ecx, dword [esp + 0x48]
sub ecx, esi
add ecx, ebx
mov dword [eax], ecx
add edx, 4
mov dword [esp + 0x20], edx
jmp 0x4033de
cmp byte [ecx + 2], 0x32
je 0x402068
mov ecx, eax
jmp case.0x401287.74
mov dword [esp + 0x4c], eax
jmp 0x401296
mov dword [esp + 0x1c], 0
mov dword [esp + 0x28], 0
lea ecx, [esp + 0x25c]
jmp 0x402918
xor edx, edx
mov ecx, esi
or ecx, eax
je 0x4019fa
mov edx, 0xfffffc02
mov dword [esp + 0x30], edx
mov dword [esp + 0x3c], edx
mov ecx, dword [esp + 0x14]
lea ecx, [ecx*4]
xor edi, edi
mov edx, 0x8000000
shrd edi, edx, cl
shr edx, cl
test cl, 0x20
je 0x401a22
mov edi, edx
xor edx, edx
cmp dword [esp + 0x14], 0xf
jl 0x401a2d
xor edi, edi
xor edx, edx
shld eax, esi, 8
shl esi, 8
add esi, edi
adc eax, edx
movzx ecx, bl
lea edx, [esp + 0x40]
mov word [ecx + edx + 1], 0x7830
or bl, 2
mov byte [esp + 0x40], bl
mov ecx, eax
shr ecx, 0x1c
mov edx, dword [esp + 0x10]
movzx ecx, byte [edx + ecx]
mov byte [esp + 0x9c], cl
mov edx, dword [esp + 0x14]
test edx, edx
je 0x401af3
movzx ecx, byte [section..data]
xor cl, 0x8d
mov byte [esp + 0x9d], cl
lea ecx, [esp + 0x9e]
mov dword [esp + 0xc], ecx
mov ecx, edx
cmp edx, 0xd
jb 0x401a95
mov ecx, 0xd
sub edx, ecx
mov dword [esp + 8], edx
jg 0x401aa5
mov dword [esp + 8], 0
mov edi, ecx
and edi, 3
je 0x402070
mov dword [esp], ecx
xor edx, edx
mov ecx, dword [esp + 0x10]
nop
nop
nop
nop
nop
nop
nop
mov ebx, eax
shr ebx, 0x18
and ebx, 0xf
movzx ebx, byte [ecx + ebx]
shld eax, esi, 4
mov byte [esp + edx + 0x9e], bl
shl esi, 4
inc edx
cmp edi, edx
jne 0x401ac0
lea edi, [esp + 0x9e]
lea ebx, [edi + edx]
mov ecx, dword [esp]
sub ecx, edx
jmp 0x402077
lea ebx, [esp + 0x9d]
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0
mov edi, ebx
jmp 0x4020db
mov dword [esp + 0x14], ecx
jmp 0x401b1b
mov dword [esp + 8], eax
mov dword [esp + 0x20], edi
mov edx, dword [esp + 4]
mov eax, edx
xor eax, 0xfffffeff
mov dword [esp + 4], edx
mov ecx, edx
or ecx, 0x100
test ecx, eax
je 0x401bca
mov eax, 1
mov ecx, dword [esp + 0x10]
cmp ecx, 0xffffffff
je 0x401b4a
mov eax, ecx
xor edx, edx
cmp dword [esp + 0x14], 0x400
mov ecx, dword [esp + 8]
sbb ecx, 0
jb 0x401b5f
mov edx, eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 8]
mov dword [esp + 0x54], eax
fild qword [esp + 0x50]
mov ecx, dword [esp + 4]
test ecx, 0x100
je 0x402333
xor eax, eax
test ecx, 0x800
sete al
fld qword [eax*8 + 0x445550]
cmp ecx, 0x3ffffff
ja 0x401dcf
fld st(0)
fchs
fxch st(1)
fucom st(2)
fnstsw ax
sahf
jbe 0x4022ae
fxch st(2)
fucom st(1)
fnstsw ax
sahf
fxch st(2)
jbe 0x4022ae
fstp st(0)
fstp st(0)
jmp 0x402333
movzx ecx, byte [0x448001]
mov eax, ecx
add al, cl
and al, 0xd2
sub cl, al
add cl, 0x69
mov byte [esp], cl
mov esi, 0x200
xor edx, edx
mov ebx, dword [esp + 0x14]
nop
nop
nop
nop
nop
nop
cmp ebx, 0x5f5e100
mov ecx, dword [esp + 8]
mov eax, ecx
sbb eax, 0
mov dword [esp + 0x30], edx
jb 0x401c30
push 0
push 0x5f5e100
push ecx
push ebx
call fcn.0040c440
mov dword [esp + 8], edx
imul ecx, eax, 0x5f5e100
sub ebx, ecx
mov dword [esp + 0x14], eax
jmp 0x401c40
mov dword [esp + 8], 0
mov dword [esp + 0x14], 0
lea eax, [esp + 0x54]
lea edi, [eax + esi]
test byte [esp + 4], 0x40
jne 0x401c90
mov dword [esp + 0x28], edi
mov ecx, 0x51eb851f
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 + 0x5a], ax
add esi, 0xfffffffe
cmp ebx, 0x64
mov ebx, edx
jae 0x401c60
mov edx, dword [esp + 0x30]
mov edi, dword [esp + 0x28]
jmp 0x401cf0
test ebx, ebx
mov edx, dword [esp + 0x30]
jne 0x401cca
jmp 0x401cf0
mov ecx, edi
mov edi, 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 + 0x5b], bl
dec esi
mov ebx, edx
mov edx, edi
mov edi, ecx
test ebx, ebx
je 0x401cf0
test byte [esp + 4], 0x40
je 0x401ca0
cmp edx, 3
je 0x401cdb
mov ecx, edi
inc edx
jmp 0x401ca2
movzx eax, byte [esp]
mov byte [esp + esi + 0x5b], al
dec esi
dec edi
xor edx, edx
test ebx, ebx
jne 0x401cca
nop
nop
nop
nop
nop
mov ebx, dword [esp + 0x14]
mov eax, ebx
or eax, dword [esp + 8]
je 0x401d3d
lea eax, [esp + esi]
add eax, 0x5c
cmp eax, edi
mov ecx, dword [esp + 4]
jne 0x401d25
jmp 0x401bf0
inc edx
mov byte [esp + esi + 0x5b], 0x30
dec esi
lea eax, [esp + esi]
add eax, 0x5c
cmp eax, edi
je 0x401bf0
test cl, 0x40
je 0x401d11
cmp edx, 3
jne 0x401d10
movzx eax, byte [esp]
mov byte [esp + esi + 0x5b], al
dec esi
dec edi
xor edx, edx
jmp 0x401d17
cmp byte [esp + esi + 0x5c], 0x30
sete al
cmp esi, 0x200
setne cl
mov byte [esp + 0x34], 0
mov byte [esp + 0x40], 0
mov dl, 0x2d
cmp byte [esp + 4], 0
mov ebx, dword [esp + 0x2c]
js 0x401d77
mov dl, 0x20
test byte [esp + 4], 4
jne 0x401d77
mov dl, 0x2b
test byte [esp + 4], 2
je 0x401d80
mov byte [esp + 0x40], 1
mov byte [esp + 0x41], dl
and cl, al
movzx eax, cl
add esi, eax
lea ecx, [esp + esi]
add ecx, 0x5c
lea eax, [esi - 0x200]
neg eax
mov dword [esp + 0x1c], eax
cmp esi, 0x200
jne 0x401db3
mov byte [ecx - 1], 0x30
dec ecx
mov dword [esp + 0x1c], 1
mov eax, 1
xor edx, edx
mov edi, dword [esp + 0x10]
test edi, edi
jg 0x401dbf
xor edi, edi
add eax, 0x3000000
mov dword [esp + 0x28], eax
mov eax, edi
jmp 0x40291c
fstp st(0)
jmp 0x402333
mov edx, ecx
add dword [esp + 0x20], 8
mov dword [esp + 0x1c], eax
mov ecx, dword [esp + 0x3c]
cmp ecx, 0xfffffffd
jl 0x401e05
cmp ecx, edi
jg 0x401e05
test ecx, ecx
jle 0x40225a
sub eax, ecx
jg 0x401dfc
xor eax, eax
mov dword [esp + 8], eax
jmp 0x40237b
cmp edx, eax
jle 0x401e10
dec eax
mov dword [esp + 8], eax
jmp 0x401e21
mov dword [esp + 8], 0
sub edx, 1
jb 0x401e21
mov dword [esp + 8], edx
mov ecx, dword [esp + 4]
mov byte [esp + 0x34], 0
mov byte [esp + 0x40], 0
mov al, 0x2d
mov dword [esp + 4], ecx
test cl, cl
js 0x401e4b
mov al, 0x20
test byte [esp + 4], 4
jne 0x401e4b
mov al, 0x2b
test byte [esp + 4], 2
je 0x401e54
mov byte [esp + 0x40], 1
mov byte [esp + 0x41], al
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x28], 0
mov ecx, dword [esp + 0xc]
cmp eax, 0x7000
je 0x402918
mov dword [esp + 0x30], eax
mov dword [esp], ecx
movzx ecx, byte [ecx]
mov byte [esp + 0x9c], cl
lea edi, [esp + 0x9d]
cmp dword [esp + 8], 0
je 0x401eaf
movzx ecx, byte [section..data]
mov edx, ecx
add dl, cl
and dl, 0x1a
sub cl, dl
add cl, 0x8d
mov byte [esp + 0x9d], cl
lea edi, [esp + 0x9e]
mov eax, dword [esp + 0x1c]
lea edx, [eax - 1]
cmp edx, dword [esp + 8]
jbe 0x401ec7
mov ecx, dword [esp + 8]
lea eax, [ecx + 1]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x10], eax
cmp eax, 2
jb 0x401f6e
mov esi, dword [esp + 8]
mov ecx, esi
cmp esi, edx
jb 0x401ee0
mov ecx, edx
lea esi, [ecx - 1]
mov edx, 1
cmp esi, 7
jb 0x401f53
mov esi, ecx
and esi, 0xfffffff8
xor edx, edx
mov eax, edi
mov edi, dword [esp]
nop
nop
nop
nop
nop
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 0x401f00
add eax, edx
inc edx
mov edi, eax
and ecx, 7
je 0x401f6e
mov esi, dword [esp]
add esi, edx
xor edx, edx
nop
movzx ebx, byte [esi + edx]
mov byte [edi + edx], bl
inc edx
cmp ecx, edx
jne 0x401f60
add edi, edx
mov eax, dword [esp + 0x14]
movzx ecx, byte [eax + 0xe]
mov byte [esp + 0x35], cl
mov eax, dword [esp + 0x30]
test eax, eax
mov dword [esp], edi
jle 0x401f8f
dec eax
mov byte [esp + 0x36], 0x2b
mov esi, eax
jmp 0x401f9b
mov byte [esp + 0x36], 0x2d
mov esi, 1
sub esi, eax
cmp esi, 0x64
mov edi, 4
sbb edi, 0xffffffff
mov eax, esi
mov ecx, 0xcccccccd
mul ecx
shr edx, 2
and edx, 0xfffffffe
lea eax, [edx + edx*4]
mov dword [esp + 0x14], eax
mov ebx, esi
mov eax, esi
mov ecx, 0x66666667
imul ecx
mov ecx, edx
mov eax, edx
shr eax, 0x1f
sar ecx, 2
add ecx, eax
mov eax, ecx
mov edx, 0x66666667
imul edx
sub ebx, dword [esp + 0x14]
mov eax, edx
shr eax, 0x1f
sar edx, 2
add edx, eax
add edx, edx
lea edx, [edx + edx*4]
mov eax, ecx
sub eax, edx
or bl, 0x30
mov edx, edi
mov byte [esp + 0x34], dl
mov byte [esp + edi + 0x34], bl
add al, 0x30
mov byte [esp + edi + 0x33], al
cmp esi, 0x64
mov edx, 0x51eb851f
jb 0x402047
mov eax, esi
imul edx
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
shr edx, 2
add edx, eax
add edx, edx
lea eax, [edx + edx*4]
mov edx, ecx
sub edx, eax
add dl, 0x30
lea eax, [esp + 0x34]
mov byte [edi + eax - 2], dl
mov edx, dword [esp + 8]
sub edx, dword [esp + 0x10]
inc edx
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x28], 0x3000001
mov ebx, dword [esp + 0x2c]
mov edi, dword [esp]
jmp 0x4028c4
add ecx, 3
jmp case.0x401287.74
lea ebx, [esp + 0x9e]
cmp dword [esp + 0x14], 4
jb 0x4020d4
mov edi, eax
mov dword [esp], ecx
mov edx, eax
shr edx, 0x18
and edx, 0xf
mov ecx, dword [esp + 0x10]
movzx edx, byte [ecx + edx]
mov byte [ebx], dl
mov edx, eax
shr edx, 0x14
and edx, 0xf
movzx edx, byte [ecx + edx]
mov byte [ebx + 1], dl
mov edx, eax
shr edx, 0x10
and edx, 0xf
movzx edx, byte [ecx + edx]
mov byte [ebx + 2], dl
shld edi, esi, 0x10
shl esi, 0x10
shr eax, 0xc
and eax, 0xf
movzx eax, byte [ecx + eax]
mov ecx, dword [esp]
mov byte [ebx + 3], al
add ebx, 4
mov eax, edi
add ecx, 0xfffffffc
jne 0x402080
lea edi, [esp + 0x9e]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x28]
cmp cl, 0x41
setne cl
shl cl, 5
or cl, 0x50
mov byte [esp + 0x35], cl
test eax, eax
js 0x40211d
mov byte [esp + 0x36], 0x2b
cmp eax, 0x3e7
ja 0x40212b
cmp eax, 0x63
jbe 0x402237
mov dword [esp + 0x30], ebx
mov dword [esp + 0x10], edi
mov dword [esp], 5
jmp 0x40213a
mov byte [esp + 0x36], 0x2d
neg eax
cmp eax, 0x3e7
jbe 0x402103
mov dword [esp + 0x30], ebx
mov dword [esp + 0x10], edi
mov dword [esp], 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]
mov eax, edi
mov byte [esp + 0x34], al
or bl, 0x30
mov byte [esp + edi + 0x34], 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 + 0x33], cl
cmp byte [esp + 0x14], 0
mov edi, dword [esp + 0x10]
mov ebx, dword [esp + 0x30]
jne 0x40279a
mov eax, esi
mov ecx, 0x51eb851f
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 + 0x34]
mov edx, dword [esp]
mov byte [edx + eax - 2], cl
cmp esi, 0x3e8
jb 0x40279a
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 + 0x34]
mov edx, dword [esp]
mov byte [edx + eax - 3], cl
jmp 0x40279a
cmp eax, 9
jbe 0x40278f
mov dword [esp + 0x30], ebx
mov dword [esp + 0x10], edi
mov dword [esp], 4
mov cl, 1
mov dword [esp + 0x14], ecx
jmp 0x402142
cmp edx, eax
jl 0x402260
mov edx, eax
sub edx, ecx
mov dword [esp + 8], edx
jmp 0x40237b
mov ebx, ecx
mov edi, edx
mov dword [esp + 8], ebx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ebx
mov esi, edi
cmp edi, 4
jb 0x402769
mov ecx, dword [eax]
mov edi, ecx
not edi
add ecx, 0xfefefeff
and ecx, edi
lea ebx, [eax + 4]
lea edi, [esi - 4]
test ecx, 0x80808080
je 0x402280
jmp 0x402771
fdiv st(2), st(0)
mov eax, dword [esp + 4]
lea ecx, [eax + 0x1000000]
cmp eax, 0x2ffffff
ja 0x40232b
fucom st(2)
fnstsw ax
sahf
jbe 0x4022d3
fxch st(2)
fucom st(1)
fnstsw ax
sahf
fxch st(2)
ja 0x40232b
fdiv st(2), st(0)
mov eax, dword [esp + 4]
lea ecx, [eax + 0x2000000]
cmp eax, 0x1ffffff
ja 0x40232b
fucom st(2)
fnstsw ax
sahf
jbe 0x4022f8
fxch st(2)
fucom st(1)
fnstsw ax
sahf
fxch st(2)
ja 0x40232b
fdiv st(2), st(0)
mov eax, dword [esp + 4]
lea ecx, [eax + 0x3000000]
cmp eax, 0xffffff
ja 0x40232b
fucom st(2)
fnstsw ax
sahf
jbe 0x4035f5
fxch st(2)
fucom st(1)
fstp st(1)
fnstsw ax
sahf
fldz
fxch st(1)
fxch st(2)
jbe 0x4035f5
fstp st(0)
fstp st(0)
mov dword [esp + 4], ecx
mov eax, 6
cmp edx, 0xffffffff
je 0x40233f
mov eax, edx
sub esp, 0x18
fstp qword [esp + 8]
mov ecx, eax
lea eax, [esp + 0x54]
mov dword [esp + 4], eax
lea eax, [esp + 0x74]
mov dword [esp], eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0x10], ecx
lea ecx, [esp + 0x24]
lea edx, [esp + 0x34]
call fcn.00403650
add esp, 0x18
test eax, eax
je 0x40237b
or dword [esp + 4], 0x80
mov byte [esp + 0x34], 0
mov byte [esp + 0x40], 0
mov al, 0x2d
cmp byte [esp + 4], 0
js 0x4023a0
mov al, 0x20
test byte [esp + 4], 4
jne 0x4023a0
mov al, 0x2b
test byte [esp + 4], 2
je 0x4023a9
mov byte [esp + 0x40], 1
mov byte [esp + 0x41], al
mov ecx, dword [esp + 0x3c]
cmp ecx, 0x7000
jne 0x4023c6
mov dword [esp + 0x28], 0
mov ecx, dword [esp + 0xc]
jmp 0x402918
test ecx, ecx
jle 0x40246d
xor edi, edi
test byte [esp + 4], 0x40
je 0x4023fc
mov eax, ecx
xor eax, 0x258
mov edi, ecx
not edi
and edi, 0x258
add edi, edi
sub edi, eax
mov eax, edi
mov edx, 0xaaaaaaab
mul edx
shr edx, 1
lea eax, [edx + edx*2]
sub edi, eax
cmp ecx, dword [esp + 0x1c]
jae 0x4024f0
mov dword [esp], edi
xor eax, eax
lea edi, [esp + 0x9c]
jmp 0x40243c
mov edx, edi
mov ecx, dword [esp + 0xc]
movzx ecx, byte [ecx + eax]
lea edi, [edx + 1]
mov byte [edx], cl
inc eax
mov ecx, dword [esp + 0x3c]
cmp eax, ecx
jae 0x402551
test byte [esp + 4], 0x40
je 0x402420
mov ecx, dword [esp]
inc ecx
mov dword [esp], ecx
cmp ecx, 4
jne 0x402420
mov ecx, dword [esp + 4]
and ecx, 0x40
shr ecx, 6
mov dword [esp], ecx
movzx ecx, byte [0x448001]
xor cl, 0x69
mov edx, edi
mov byte [edi], cl
inc edx
jmp 0x402422
mov byte [esp + 0x9c], 0x30
lea edx, [esp + 0x9d]
mov eax, dword [esp + 8]
test eax, eax
je 0x40249f
movzx eax, byte [section..data]
xor al, 0x8d
mov byte [esp + 0x9d], al
lea edx, [esp + 0x9e]
mov eax, dword [esp + 8]
neg ecx
mov ebx, eax
cmp eax, ecx
jl 0x4024a9
mov ebx, ecx
test ebx, ebx
mov dword [esp], ebx
je 0x40266b
mov eax, edx
and eax, 3
je 0x40266b
mov ecx, edx
mov edi, edx
not edi
and edi, 3
lea esi, [ebx - 1]
cmp edi, esi
jb 0x4024d1
mov edi, esi
lea eax, [edi + 1]
push eax
push 0x30
mov ebx, ecx
push ecx
call fcn.0040c5e0
add esp, 0xc
lea edx, [edi + ebx]
inc edx
sub esi, edi
mov ebx, dword [esp]
jmp 0x40266d
xor eax, eax
mov esi, 0xffffffff
mov ebx, 1
lea edx, [esp + 0x9c]
jmp 0x40252b
mov ecx, dword [esp + 0xc]
movzx ecx, byte [ecx + ebx - 1]
mov byte [edx], cl
mov ecx, edx
inc edx
inc eax
dec esi
inc ebx
cmp eax, dword [esp + 0x1c]
jae 0x4025de
test byte [esp + 4], 0x40
je 0x402510
inc edi
cmp edi, 4
jne 0x402510
mov edi, dword [esp + 4]
and edi, 0x40
shr edi, 6
movzx ecx, byte [0x448001]
xor cl, 0x69
mov byte [edx], cl
inc edx
jmp 0x402510
mov esi, edi
mov dword [esp], edi
cmp dword [esp + 8], 0
je 0x40257d
movzx ecx, byte [section..data]
mov ch, cl
add ch, cl
and ch, 0x1a
sub cl, ch
add cl, 0x8d
mov byte [edx + 1], cl
add edx, 2
mov ecx, dword [esp + 0x3c]
mov dword [esp], edx
mov edx, dword [esp + 0x1c]
mov esi, edx
sub esi, ecx
cmp esi, dword [esp + 8]
jbe 0x402595
mov edx, dword [esp + 8]
add edx, ecx
mov dword [esp + 0x1c], edx
cmp eax, edx
jae 0x4025bb
mov esi, dword [esp]
nop
nop
nop
nop
mov ecx, dword [esp + 0xc]
movzx ecx, byte [ecx + eax]
mov byte [esi], cl
inc esi
inc eax
mov edx, dword [esp + 0x1c]
cmp eax, edx
jb 0x4025a0
mov dword [esp], esi
mov ecx, dword [esp + 0x3c]
lea eax, [esp + 0x9c]
sub edi, eax
add edi, 0x3000000
mov dword [esp + 0x28], edi
mov eax, dword [esp + 8]
sub eax, edx
add eax, ecx
mov edi, dword [esp]
jmp 0x402840
mov dword [esp + 0x10], ecx
mov dword [esp], edi
mov edi, dword [esp + 0x3c]
mov ecx, edi
sub ecx, eax
jbe 0x4026be
test byte [esp + 4], 0x40
jne 0x4028d3
cmp edi, eax
je 0x403566
mov eax, edx
and eax, 3
je 0x403566
mov ecx, 2
sub ecx, dword [esp + 0x10]
and ecx, 3
mov eax, edi
sub eax, ebx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x30], ecx
cmp ecx, eax
mov ecx, dword [esp + 0x14]
jb 0x402633
mov ecx, eax
mov dword [esp + 0x14], ecx
lea eax, [ecx + 1]
push eax
push 0x30
push edx
call fcn.0040c5e0
add esp, 0xc
add esi, edi
mov eax, dword [esp + 0x30]
cmp esi, eax
jb 0x402652
mov esi, eax
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
lea edx, [eax + ecx]
add edx, 2
sub edi, esi
sub edi, ebx
mov esi, edi
jmp 0x403568
mov esi, ebx
cmp esi, 4
jl 0x4026a8
mov eax, esi
cmp esi, 7
jl 0x40267e
mov eax, 7
neg eax
lea edi, [esi + eax]
add edi, 3
and edi, 0xfffffffc
lea eax, [edi + 4]
push eax
push 0x30
mov ebx, edx
push edx
call fcn.0040c5e0
add esp, 0xc
lea edx, [edi + ebx]
add edx, 4
sub esi, edi
add esi, 0xfffffffc
mov ebx, dword [esp]
test esi, esi
je 0x402702
push esi
push 0x30
mov edi, edx
push edx
call fcn.0040c5e0
add esp, 0xc
add edi, esi
jmp 0x402704
mov ebx, dword [esp + 0x2c]
mov edi, edx
mov edx, edi
lea eax, [esp + 0x9c]
sub edx, eax
add edx, 0x3000000
mov dword [esp + 0x28], edx
cmp dword [esp + 8], 0
je 0x4027cb
movzx eax, byte [section..data]
mov ecx, eax
add cl, al
and cl, 0x1a
sub al, cl
add al, 0x8d
mov byte [edi], al
mov eax, dword [esp + 8]
inc edi
jmp 0x402840
mov edi, edx
mov eax, dword [esp + 0x1c]
lea ecx, [eax + ebx]
cmp ecx, dword [esp + 8]
jle 0x40271b
mov eax, dword [esp + 8]
sub eax, ebx
mov dword [esp + 0x1c], eax
test eax, eax
je 0x40282c
mov edx, dword [esp + 8]
mov esi, edx
cmp edx, ecx
jl 0x40272f
mov esi, ecx
mov ecx, eax
and ecx, 3
je 0x4027d6
mov dword [esp + 0x10], esi
xor esi, esi
mov ebx, edi
mov edi, dword [esp + 0xc]
lea edx, [edi + 1]
mov dword [esp + 0xc], edx
movzx edx, byte [edi]
mov edi, ebx
mov byte [ebx + esi], dl
inc esi
cmp ecx, esi
jne 0x402740
add edi, esi
mov ecx, eax
sub ecx, esi
mov ebx, dword [esp]
mov esi, dword [esp + 0x10]
jmp 0x4027d8
test esi, esi
je 0x4028ec
mov edi, dword [esp + 8]
add edi, edx
xor edx, edx
mov ebx, dword [esp + 0x2c]
cmp byte [eax + edx], 0
je 0x4027cf
inc edx
cmp esi, edx
jne 0x40277d
mov eax, edi
jmp 0x4028f0
mov byte [esp + 0x34], 3
or al, 0x30
mov byte [esp + 0x37], al
add dword [esp + 0x20], 8
mov eax, ebx
sub eax, edi
mov dword [esp + 0x3c], eax
lea ecx, [esp + 0x9c]
sub ebx, ecx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x28], 0x3000001
xor eax, eax
mov ebx, dword [esp + 0x2c]
mov edx, dword [esp + 8]
jmp 0x40291c
xor eax, eax
jmp 0x402840
add eax, edx
jmp 0x4028f0
mov ecx, eax
mov edx, ebx
sub edx, esi
cmp edx, 0xfffffffc
ja 0x40282c
mov edx, dword [esp + 0xc]
lea esi, [edx + 1]
mov dword [esp + 0xc], esi
movzx edx, byte [edx]
mov byte [edi], dl
mov edx, dword [esp + 0xc]
lea esi, [edx + 1]
mov dword [esp + 0xc], esi
movzx edx, byte [edx]
mov byte [edi + 1], dl
mov edx, dword [esp + 0xc]
lea esi, [edx + 1]
mov dword [esp + 0xc], esi
movzx edx, byte [edx]
mov byte [edi + 2], dl
mov edx, dword [esp + 0xc]
lea esi, [edx + 1]
mov dword [esp + 0xc], esi
movzx edx, byte [edx]
mov byte [edi + 3], dl
add edi, 4
add ecx, 0xfffffffc
jne 0x4027e1
add ebx, eax
mov eax, dword [esp + 8]
sub eax, ebx
mov dword [esp + 0x28], 0x3000001
mov ebx, dword [esp + 0x2c]
mov edx, eax
mov esi, dword [esp + 4]
test esi, 0x100
je 0x4028c4
mov eax, esi
and eax, 0x400
sete byte [esp + 0x34]
mov byte [esp + 0x35], 0x20
cmp esi, 0x1000000
jb 0x4028c4
mov ecx, esi
shr ecx, 0x18
mov dword [esp], ecx
mov ecx, eax
shr ecx, 0xa
mov ebx, 2
sub ebx, ecx
cmp eax, 1
mov eax, 0
adc al, 1
test esi, 0x800
jne 0x40289d
mov ecx, dword [esp]
movzx ecx, byte [ecx + str._kMGT]
mov byte [esp + ebx + 0x34], cl
jmp 0x4028bc
mov ecx, dword [esp]
movzx ecx, byte [ecx + str._KMGT]
mov byte [esp + ebx + 0x34], cl
test esi, 0x1000
jne 0x4028bc
movzx eax, al
mov byte [esp + eax + 0x35], 0x69
inc eax
mov ebx, dword [esp + 0x2c]
mov byte [esp + 0x34], al
lea ecx, [esp + 0x9c]
sub edi, ecx
mov dword [esp + 0x1c], edi
jmp 0x40291a
mov ebx, dword [esp + 0x2c]
mov edi, edx
mov esi, ecx
test esi, esi
jne 0x4035b4
jmp 0x4026c4
mov eax, ecx
jmp 0x4028f3
mov ebx, dword [esp + 0x2c]
mov ecx, dword [esp]
add dword [esp + 0x20], 4
sub eax, ecx
mov dword [esp + 0x1c], eax
mov byte [esp + 0x40], 0
mov byte [esp + 0x34], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x28], 0
xor edx, edx
xor eax, eax
mov dword [esp], ecx
mov dword [esp + 8], edx
mov edi, dword [esp + 0x1c]
cmp eax, edi
jg 0x40292d
mov eax, edi
mov dword [esp + 0x10], edi
mov esi, eax
movsx eax, byte [esp + 0x40]
movsx edx, byte [esp + 0x34]
mov ecx, dword [esp + 8]
mov edi, esi
add ecx, esi
add ecx, eax
add ecx, edx
mov edx, dword [esp + 0x24]
cmp edx, ecx
jg 0x402953
mov edx, ecx
sub edx, ecx
mov dword [esp + 0x24], edx
mov edx, edi
mov ecx, edi
not ecx
mov edi, dword [esp + 0x10]
and ecx, edi
not edi
and edi, edx
sub edi, ecx
mov ecx, edi
mov edx, dword [esp + 4]
test dl, 1
jne 0x40298f
test dl, 0x10
jne 0x402999
mov dword [esp + 0x10], ecx
mov ecx, edx
not ecx
or ecx, 0xffffffbf
add edx, ecx
inc edx
mov dword [esp + 4], edx
jmp 0x402993
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x24]
jmp 0x4029a9
mov edx, dword [esp + 0x24]
cmp edx, ecx
jg 0x4029a3
mov edx, ecx
mov dword [esp + 0x10], edx
xor ecx, ecx
mov edi, dword [esp + 0x18]
mov dword [esp + 0x24], ecx
add ecx, dword [esp + 0x10]
jne 0x4029bf
mov edx, dword [esp]
jmp 0x402e5c
mov edx, dword [esp + 4]
mov ecx, edx
or ecx, 1
xor edx, 0xfffffffe
test ecx, edx
jne 0x402b08
mov ecx, dword [esp + 0x24]
test ecx, ecx
jg 0x4029ea
jmp 0x402b08
sub ecx, edx
test ecx, ecx
jle 0x402aff
mov edx, ecx
cmp dword [ebp + 8], 0
je 0x402a03
mov eax, edi
sub eax, ebx
add eax, 0x200
mov edx, ecx
cmp ecx, eax
jl 0x402a03
mov edx, eax
test edx, edx
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], edi
mov dword [esp + 0x24], ecx
je 0x402a70
mov eax, ebx
and eax, 3
je 0x402a70
mov esi, ebx
mov edi, ebx
not edi
and edi, 3
lea ebx, [edx - 1]
cmp edi, ebx
jb 0x402a2c
mov edi, ebx
lea eax, [edi + 1]
push eax
push 0x20
push esi
call fcn.0040c5e0
add esp, 0xc
lea ecx, [edi + esi]
inc ecx
sub ebx, edi
mov edi, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
cmp ebx, 4
jge 0x402a79
test ebx, ebx
je 0x402ab8
push ebx
push 0x20
mov esi, ecx
push ecx
call fcn.0040c5e0
mov edx, dword [esp + 0x20]
add esp, 0xc
add esi, ebx
mov ebx, esi
jmp 0x402aba
mov ecx, ebx
mov ebx, edx
cmp ebx, 4
jl 0x402a4e
mov eax, ebx
cmp ebx, 7
jl 0x402a85
mov eax, 7
neg eax
lea edi, [ebx + eax]
add edi, 3
and edi, 0xfffffffc
lea eax, [edi + 4]
push eax
push 0x20
mov esi, ecx
push ecx
call fcn.0040c5e0
add esp, 0xc
lea ecx, [edi + esi]
add ecx, 4
sub ebx, edi
add ebx, 0xfffffffc
mov edi, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
test ebx, ebx
jne 0x402a52
mov ebx, ecx
cmp dword [ebp + 8], 0
mov ecx, dword [esp + 0x24]
je 0x4029e0
mov eax, ebx
sub eax, edi
cmp eax, 0x1ff
jl 0x4029e0
mov esi, ecx
add dword [esp + 0x48], eax
push eax
push dword [ebp + 0xc]
push edi
call dword [ebp + 8]
add esp, 0xc
test eax, eax
je 0x403629
mov ebx, eax
mov edi, eax
mov ecx, esi
mov edx, dword [esp + 0x14]
jmp 0x4029e0
mov dword [esp + 0x24], ecx
movzx eax, byte [esp + 0x40]
lea ecx, [esp + 0x41]
mov dword [esp + 0xc], ecx
jmp 0x402b25
movzx eax, byte [esp + 0x40]
test al, al
je 0x402c3d
movsx edx, al
mov ecx, edi
sub ecx, ebx
add ecx, 0x200
cmp ecx, edx
jl 0x402b40
mov ecx, edx
cmp dword [ebp + 8], 0
jne 0x402b48
mov ecx, edx
sub al, cl
mov byte [esp + 0x40], al
test ecx, ecx
je 0x402beb
mov eax, ecx
and eax, 3
je 0x402c30
mov dword [esp + 0x18], edi
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov esi, dword [esp + 0xc]
lea edi, [esi + 1]
mov dword [esp + 0xc], edi
mov edi, ebx
movzx ebx, byte [esi]
mov byte [edi + edx], bl
mov ebx, edi
inc edx
cmp eax, edx
jne 0x402b70
add ebx, edx
mov eax, ecx
sub eax, edx
mov edi, dword [esp + 0x18]
cmp ecx, 4
jb 0x402beb
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [esp + 0xc]
lea edx, [ecx + 1]
mov dword [esp + 0xc], edx
movzx ecx, byte [ecx]
mov byte [ebx], cl
mov ecx, dword [esp + 0xc]
lea edx, [ecx + 1]
mov dword [esp + 0xc], edx
movzx ecx, byte [ecx]
mov byte [ebx + 1], cl
mov ecx, dword [esp + 0xc]
lea edx, [ecx + 1]
mov dword [esp + 0xc], edx
movzx ecx, byte [ecx]
mov byte [ebx + 2], cl
mov ecx, dword [esp + 0xc]
lea edx, [ecx + 1]
mov dword [esp + 0xc], edx
movzx ecx, byte [ecx]
mov byte [ebx + 3], cl
add ebx, 4
add eax, 0xfffffffc
jne 0x402ba0
cmp dword [ebp + 8], 0
je 0x402b20
mov eax, ebx
sub eax, edi
lea ecx, [eax + 1]
cmp ecx, 0x200
jl 0x402b20
add dword [esp + 0x48], eax
push eax
push dword [ebp + 0xc]
push edi
call dword [ebp + 8]
add esp, 0xc
test eax, eax
je 0x403629
mov ebx, eax
mov edi, eax
jmp 0x402b20
mov eax, ecx
cmp ecx, 4
jae 0x402ba0
jmp 0x402beb
mov dword [esp + 0x18], edi
mov eax, dword [esp + 0x28]
mov edi, eax
shr edi, 0x18
xor esi, esi
test byte [esp + 4], 0x40
je 0x402c67
and eax, 0xffffff
add eax, dword [esp + 0x10]
lea ecx, [edi + 1]
xor edx, edx
div ecx
mov esi, edi
sub esi, edx
mov eax, dword [esp + 0x10]
test eax, eax
mov edx, dword [esp]
jle 0x403550
mov dword [esp + 0x30], edi
jmp 0x402c90
mov eax, dword [esp + 0x10]
sub eax, dword [esp + 0x14]
test eax, eax
jle 0x402e53
mov dword [esp + 0x10], eax
mov edx, eax
cmp dword [ebp + 8], 0
je 0x402cbd
mov ecx, dword [esp + 0x18]
mov eax, ecx
xor eax, ebx
not ecx
and ecx, ebx
add ecx, ecx
sub eax, ecx
mov ecx, dword [esp + 0x10]
add eax, 0x200
mov edx, ecx
cmp ecx, eax
jl 0x402cbd
mov edx, eax
test byte [esp + 4], 0x40
mov dword [esp + 0x14], edx
jne 0x402d10
test edx, edx
je 0x402d20
mov eax, ebx
and eax, 3
je 0x402d20
mov ecx, ebx
mov edi, ebx
not edi
and edi, 3
lea ebx, [edx - 1]
cmp edi, ebx
jb 0x402ce5
mov edi, ebx
lea eax, [edi + 1]
push eax
push 0x30
mov dword [esp + 0x34], ecx
push ecx
call fcn.0040c5e0
add esp, 0xc
mov edx, dword [esp + 0x2c]
add edx, edi
inc edx
sub ebx, edi
mov edi, dword [esp + 0x30]
cmp ebx, 4
jge 0x402d30
jmp 0x402d4d
mov eax, edx
mov edx, ebx
mov ebx, eax
jmp 0x402d4d
mov eax, edx
mov edx, ebx
mov ebx, eax
cmp ebx, 4
jl 0x402d4d
nop
nop
nop
nop
nop
mov dword [edx], 0x30303030
add edx, 4
mov eax, ebx
not eax
and eax, 4
and ebx, 0x7ffffffb
sub ebx, eax
cmp ebx, 3
jg 0x402d30
test ebx, ebx
je 0x402d60
test bl, 1
jne 0x402d70
mov eax, ebx
jmp 0x402d9a
mov ebx, edx
mov edx, dword [esp]
jmp 0x402da4
mov al, 0x30
test byte [esp + 4], 0x40
je 0x402d94
cmp esi, edi
jne 0x402d93
movzx eax, byte [0x448001]
mov ecx, eax
add cl, al
and cl, 0xd2
sub al, cl
add al, 0x69
xor esi, esi
jmp 0x402d94
inc esi
mov byte [edx], al
inc edx
lea eax, [ebx - 1]
cmp ebx, 1
mov ebx, edx
mov edx, dword [esp]
jne 0x402e13
cmp dword [ebp + 8], 0
je 0x402c80
mov eax, ebx
mov ecx, dword [esp + 0x18]
sub eax, ecx
cmp eax, 0x1ff
jl 0x402c80
add dword [esp + 0x48], eax
push eax
push dword [ebp + 0xc]
push ecx
call dword [ebp + 8]
add esp, 0xc
test eax, eax
je 0x403629
mov ebx, eax
mov dword [esp + 0x18], eax
mov edx, dword [esp]
jmp 0x402c80
movzx ecx, byte [0x448001]
mov edx, ecx
add dl, cl
and dl, 0xd2
sub cl, dl
add cl, 0x69
xor esi, esi
mov edx, dword [esp]
mov byte [ebx + 1], cl
add ebx, 2
add eax, 0xfffffffe
je 0x402da4
mov cl, 0x30
test byte [esp + 4], 0x40
je 0x402e41
cmp esi, edi
jne 0x402e40
movzx edx, byte [0x448001]
mov ch, dl
add ch, dl
and ch, 0xd2
sub dl, ch
add dl, 0x69
xor esi, esi
jmp 0x402e43
inc esi
mov dl, 0x30
mov byte [ebx], dl
test byte [esp + 4], 0x40
je 0x402e05
cmp esi, edi
je 0x402df0
inc esi
jmp 0x402e05
movzx eax, byte [esp + 0x40]
mov edi, dword [esp + 0x18]
lea ecx, [esp + 0x41]
mov dword [esp + 0xc], ecx
jmp 0x402e7c
mov ebx, eax
mov edi, eax
mov edx, dword [esp]
movzx eax, byte [esp + 0x40]
test al, al
je 0x402f8d
movsx edx, al
mov ecx, edi
sub ecx, ebx
add ecx, 0x200
cmp ecx, edx
jl 0x402e97
mov ecx, edx
cmp dword [ebp + 8], 0
jne 0x402e9f
mov ecx, edx
sub al, cl
mov byte [esp + 0x40], al
test ecx, ecx
je 0x402f3b
mov eax, ecx
and eax, 3
je 0x402f80
mov dword [esp + 0x18], edi
xor edx, edx
nop
nop
mov esi, dword [esp + 0xc]
lea edi, [esi + 1]
mov dword [esp + 0xc], edi
mov edi, ebx
movzx ebx, byte [esi]
mov byte [edi + edx], bl
mov ebx, edi
inc edx
cmp eax, edx
jne 0x402ec0
add ebx, edx
mov eax, ecx
sub eax, edx
mov edi, dword [esp + 0x18]
cmp ecx, 4
jb 0x402f3b
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [esp + 0xc]
lea edx, [ecx + 1]
mov dword [esp + 0xc], edx
movzx ecx, byte [ecx]
mov byte [ebx], cl
mov ecx, dword [esp + 0xc]
lea edx, [ecx + 1]
mov dword [esp + 0xc], edx
movzx ecx, byte [ecx]
mov byte [ebx + 1], cl
mov ecx, dword [esp + 0xc]
lea edx, [ecx + 1]
mov dword [esp + 0xc], edx
movzx ecx, byte [ecx]
mov byte [ebx + 2], cl
mov ecx, dword [esp + 0xc]
lea edx, [ecx + 1]
mov dword [esp + 0xc], edx
movzx ecx, byte [ecx]
mov byte [ebx + 3], cl
add ebx, 4
add eax, 0xfffffffc
jne 0x402ef0
cmp dword [ebp + 8], 0
je 0x402e74
mov eax, ebx
sub eax, edi
lea ecx, [eax + 1]
cmp ecx, 0x200
jl 0x402e74
add dword [esp + 0x48], eax
push eax
push dword [ebp + 0xc]
push edi
call dword [ebp + 8]
add esp, 0xc
test eax, eax
jne 0x402e70
jmp 0x403629
mov eax, ecx
cmp ecx, 4
jae 0x402ef0
jmp 0x402f3b
mov dword [esp + 0x18], edi
mov esi, dword [esp + 0x1c]
test esi, esi
jne 0x403233
mov eax, dword [esp + 8]
test eax, eax
mov esi, dword [esp + 0x18]
jne 0x4030fc
lea eax, [esp + 0x35]
mov dword [esp + 0xc], eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ecx, byte [esp + 0x34]
test cl, cl
je 0x4033cd
movsx edx, cl
mov eax, esi
sub eax, ebx
add eax, 0x200
cmp eax, edx
jl 0x402fdf
mov eax, edx
cmp dword [ebp + 8], 0
jne 0x402fe7
mov eax, edx
sub cl, al
mov byte [esp + 0x34], cl
test eax, eax
je 0x40308b
mov ecx, eax
and ecx, 3
je 0x4030e0
mov dword [esp + 0x18], esi
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov esi, dword [esp + 0xc]
lea edi, [esi + 1]
mov dword [esp + 0xc], edi
mov edi, ebx
movzx ebx, byte [esi]
mov byte [edi + edx], bl
mov ebx, edi
inc edx
cmp ecx, edx
jne 0x403010
add ebx, edx
mov ecx, eax
sub ecx, edx
mov esi, dword [esp + 0x18]
cmp eax, 4
jb 0x40308b
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 0xc]
lea edx, [eax + 1]
mov dword [esp + 0xc], edx
movzx eax, byte [eax]
mov byte [ebx], al
mov eax, dword [esp + 0xc]
lea edx, [eax + 1]
mov dword [esp + 0xc], edx
movzx eax, byte [eax]
mov byte [ebx + 1], al
mov eax, dword [esp + 0xc]
lea edx, [eax + 1]
mov dword [esp + 0xc], edx
movzx eax, byte [eax]
mov byte [ebx + 2], al
mov eax, dword [esp + 0xc]
lea edx, [eax + 1]
mov dword [esp + 0xc], edx
movzx eax, byte [eax]
mov byte [ebx + 3], al
add ebx, 4
add ecx, 0xfffffffc
jne 0x403040
cmp dword [ebp + 8], 0
je 0x402fc0
mov eax, ebx
sub eax, esi
mov ecx, eax
and ecx, 1
mov edx, eax
xor edx, 1
lea ecx, [edx + ecx*2]
cmp ecx, 0x200
jl 0x402fc0
add dword [esp + 0x48], eax
push eax
push dword [ebp + 0xc]
push esi
call dword [ebp + 8]
add esp, 0xc
test eax, eax
je 0x403629
mov ebx, eax
mov esi, eax
jmp 0x402fc0
mov ecx, eax
cmp eax, 4
jae 0x403040
jmp 0x40308b
mov eax, dword [esp + 8]
sub eax, edx
je 0x402fad
mov ecx, eax
mov eax, esi
sub eax, ebx
add eax, 0x200
mov edx, ecx
mov dword [esp + 8], ecx
cmp ecx, eax
jl 0x403113
mov edx, eax
cmp dword [ebp + 8], 0
jne 0x40311d
mov edx, dword [esp + 8]
test edx, edx
mov dword [esp + 0x18], esi
je 0x403170
mov eax, ebx
and eax, 3
je 0x403170
mov esi, ebx
mov edi, ebx
not edi
and edi, 3
mov dword [esp], edx
lea ebx, [edx - 1]
cmp edi, ebx
jb 0x403141
mov edi, ebx
lea eax, [edi + 1]
push eax
push 0x30
push esi
call fcn.0040c5e0
add esp, 0xc
lea ecx, [edi + esi]
inc ecx
sub ebx, edi
mov esi, dword [esp + 0x18]
mov edx, dword [esp]
cmp ebx, 4
jge 0x403180
jmp 0x40319d
mov ecx, ebx
mov ebx, edx
cmp ebx, 4
jl 0x40319d
nop
nop
nop
nop
nop
nop
nop
mov dword [ecx], 0x30303030
add ecx, 4
mov eax, ebx
not eax
and eax, 4
and ebx, 0x7ffffffb
sub ebx, eax
cmp ebx, 3
jg 0x403180
test ebx, ebx
je 0x4031d0
push ebx
push 0x30
mov esi, ecx
push ecx
mov edi, edx
call fcn.0040c5e0
mov edx, edi
add esp, 0xc
add esi, ebx
mov ebx, esi
mov esi, dword [esp + 0x18]
cmp dword [ebp + 8], 0
jne 0x4031dc
jmp 0x4030f0
mov ebx, ecx
cmp dword [ebp + 8], 0
je 0x4030f0
mov eax, ebx
sub eax, esi
lea ecx, [eax + 1]
cmp ecx, 0x200
jl 0x4030f0
mov edi, edx
add dword [esp + 0x48], eax
push eax
push dword [ebp + 0xc]
push esi
call dword [ebp + 8]
add esp, 0xc
test eax, eax
je 0x403629
mov ebx, eax
mov esi, eax
mov edx, edi
jmp 0x4030f0
mov ebx, eax
mov dword [esp + 0x18], eax
mov edx, esi
mov esi, edi
sub esi, dword [esp]
je 0x402f9d
mov ecx, esi
cmp dword [ebp + 8], 0
je 0x40324e
mov eax, dword [esp + 0x18]
sub eax, ebx
add eax, 0x200
mov ecx, esi
cmp esi, eax
jl 0x40324e
mov ecx, eax
cmp ecx, 4
mov dword [esp], ecx
jl 0x4032a0
lea edi, [ecx - 4]
mov eax, edi
shr eax, 2
inc eax
and eax, 7
je 0x4032a4
mov dword [esp + 0x10], edi
shl eax, 2
xor edi, edi
nop
nop
nop
mov ecx, dword [edx + edi]
mov dword [ebx + edi], ecx
add edi, 4
cmp eax, edi
jne 0x403270
add ebx, edi
mov ecx, dword [esp]
sub ecx, edi
add edx, edi
mov eax, ecx
mov edi, dword [esp + 0x10]
cmp edi, 0x1c
jae 0x4032b0
jmp 0x4032f1
mov eax, ecx
jmp 0x4032f1
cmp edi, 0x1c
jb 0x4032f1
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [edx]
mov dword [ebx], eax
mov eax, dword [edx + 4]
mov dword [ebx + 4], eax
mov eax, dword [edx + 8]
mov dword [ebx + 8], eax
mov eax, dword [edx + 0xc]
mov dword [ebx + 0xc], eax
mov eax, dword [edx + 0x10]
mov dword [ebx + 0x10], eax
mov eax, dword [edx + 0x14]
mov dword [ebx + 0x14], eax
mov eax, dword [edx + 0x18]
mov dword [ebx + 0x18], eax
mov eax, dword [edx + 0x1c]
mov dword [ebx + 0x1c], eax
add ebx, 0x20
add edx, 0x20
lea eax, [ecx - 0x20]
add ecx, 0xffffffdc
cmp ecx, 0xfffffff8
mov ecx, eax
jb 0x4032b0
test eax, eax
je 0x403381
mov ecx, eax
and ecx, 7
je 0x4033c0
mov dword [esp + 0x10], esi
mov esi, edx
xor edx, edx
nop
nop
nop
nop
mov edi, ebx
movzx ebx, byte [esi + edx]
mov byte [edi + edx], bl
mov ebx, edi
inc edx
cmp ecx, edx
jne 0x403310
add ebx, edx
mov ecx, eax
sub ecx, edx
add esi, edx
mov edx, esi
mov esi, dword [esp + 0x10]
cmp eax, 8
jb 0x403381
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx eax, byte [edx]
mov byte [ebx], al
movzx eax, byte [edx + 1]
mov byte [ebx + 1], al
movzx eax, byte [edx + 2]
mov byte [ebx + 2], al
movzx eax, byte [edx + 3]
mov byte [ebx + 3], al
movzx eax, byte [edx + 4]
mov byte [ebx + 4], al
movzx eax, byte [edx + 5]
mov byte [ebx + 5], al
movzx eax, byte [edx + 6]
mov byte [ebx + 6], al
movzx eax, byte [edx + 7]
add edx, 8
mov byte [ebx + 7], al
add ebx, 8
add ecx, 0xfffffff8
jne 0x403340
cmp dword [ebp + 8], 0
je 0x40322a
mov eax, ebx
mov ecx, dword [esp + 0x18]
sub eax, ecx
cmp eax, 0x1ff
jl 0x40322a
mov edi, esi
mov esi, edx
add dword [esp + 0x48], eax
push eax
push dword [ebp + 0xc]
push ecx
call dword [ebp + 8]
add esp, 0xc
test eax, eax
jne 0x403220
jmp 0x403629
mov ecx, eax
cmp eax, 8
jae 0x403340
jmp 0x403381
test byte [esp + 4], 1
je 0x4033de
mov ecx, dword [esp + 0x24]
test ecx, ecx
jle 0x4033de
jne 0x4033f8
mov eax, dword [esp + 0x4c]
inc eax
jmp 0x401036
mov ecx, esi
mov esi, edx
sub ecx, edi
je 0x4033de
mov eax, esi
sub eax, ebx
add eax, 0x200
mov edi, ecx
cmp ecx, eax
jl 0x403420
mov edi, eax
cmp dword [ebp + 8], 0
je 0x403426
test edi, edi
jne 0x40342c
jmp 0x403477
cmp dword [ebp + 8], 0
jne 0x40340f
mov edi, ecx
test edi, edi
je 0x403477
mov dword [esp + 0x24], ecx
mov dword [esp + 0x18], esi
lea ecx, [edi + 3]
mov eax, ebx
xor ebx, ebx
mov dword [esp], edi
nop
nop
mov dword [esp + 4], ecx
mov esi, eax
add eax, ebx
mov edx, eax
xor edx, 0xfffffffc
mov ecx, eax
or ecx, 3
test ecx, edx
je 0x403490
mov eax, esi
mov byte [esi + ebx], 0x20
dec edi
inc ebx
mov ecx, dword [esp + 4]
dec ecx
cmp dword [esp], ebx
jne 0x403440
add eax, ebx
mov ebx, eax
mov esi, dword [esp + 0x18]
mov ecx, dword [esp + 0x24]
mov edi, dword [esp]
cmp dword [ebp + 8], 0
jne 0x403517
jmp 0x4033f4
mov ecx, eax
mov dword [esp + 0x2c], esi
mov esi, dword [esp]
sub esi, ebx
cmp esi, 4
jl 0x4034fc
cmp edi, 7
jl 0x4034aa
mov edi, 7
mov esi, dword [esp]
mov eax, esi
sub eax, edi
sub eax, ebx
add eax, 3
and eax, 0xfffffffc
add eax, 4
push eax
push 0x20
push ecx
call fcn.0040c5e0
add esp, 0xc
mov edx, dword [esp + 4]
sub edx, edi
mov edi, esi
and edx, 0xfffffffc
mov eax, dword [esp + 0x2c]
add eax, edx
lea ecx, [ebx + eax]
add ecx, 4
sub esi, edx
sub esi, ebx
add esi, 0xfffffffc
test esi, esi
je 0x403503
push esi
push 0x20
push ecx
mov ebx, ecx
call fcn.0040c5e0
add esp, 0xc
add ebx, esi
jmp 0x403505
mov edi, dword [esp]
test esi, esi
jne 0x4034ea
mov ebx, ecx
mov esi, dword [esp + 0x18]
mov ecx, dword [esp + 0x24]
cmp dword [ebp + 8], 0
je 0x4033f4
mov edx, esi
mov esi, ecx
mov eax, ebx
sub eax, edx
lea ecx, [eax + 1]
cmp ecx, 0x200
jl 0x4033f0
add dword [esp + 0x48], eax
push eax
push dword [ebp + 0xc]
push edx
call dword [ebp + 8]
add esp, 0xc
test eax, eax
je 0x403629
mov ebx, eax
mov ecx, esi
mov esi, ebx
jmp 0x4033f4
lea eax, [esp + 0x41]
mov dword [esp + 0xc], eax
jmp 0x402f91
mov edx, esi
mov ebx, edi
jmp 0x40226d
mov esi, ecx
cmp esi, 4
mov ebx, dword [esp + 0x2c]
jb 0x40359c
mov dword [esp + 0x10], esi
mov esi, dword [esp + 0x10]
and esi, 0xfffffffc
push esi
push 0x30
mov edi, edx
push edx
call fcn.0040c5e0
add esp, 0xc
add edi, esi
mov esi, dword [esp + 0x10]
and esi, 3
test esi, esi
jne 0x4035b4
jmp 0x4026c4
mov edi, edx
test esi, esi
jne 0x4035b4
jmp 0x4026c4
mov byte [edi], 0x30
dec esi
inc edi
test esi, esi
je 0x4026c4
test byte [esp + 4], 0x40
je 0x4035a7
mov eax, dword [esp]
inc eax
mov dword [esp], eax
cmp eax, 4
jne 0x4035a7
movzx eax, byte [0x448001]
xor al, 0x69
mov byte [edi], al
mov dword [esp], 0
inc edi
test esi, esi
jne 0x4035b4
jmp 0x4026c4
mov edx, esi
mov ebx, dword [esp + 8]
jmp 0x40226d
mov eax, ecx
jmp 0x4028f0
fstp st(1)
fdivp st(1)
or dword [esp + 4], 0x4000000
jmp 0x402333
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x40362f
mov eax, ebx
sub eax, esi
test eax, eax
jle 0x403632
add dword [esp + 0x48], eax
push eax
push dword [ebp + 0xc]
push esi
call ecx
add esp, 0xc
mov ebx, eax
mov esi, eax
jmp 0x403632
xor ebx, ebx
xor esi, esi
jmp 0x403632
mov byte [ebx], 0
mov eax, dword [esp + 0x48]
add eax, ebx
sub eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret