Function at 0x401000
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 + 0x28], eax
mov ebx, dword [ebp + 0x14]
mov esi, dword [ebp + 0x10]
mov dword [esp + 0x4c], 0
mov edi, esi
jmp 0x40103b
mov esi, eax
movzx eax, byte [ebx]
mov edi, esi
mov byte [esi], al
inc esi
inc ebx
test bl, 3
mov dword [esp + 0x18], edi
je 0x401050
movzx eax, byte [ebx]
jmp 0x401081
mov edi, esi
mov eax, dword [ebx]
mov ecx, eax
or ecx, 0xdadadada
mov edx, eax
not edx
mov esi, edx
or esi, 0x25252525
and esi, ecx
mov ecx, 0xfefefefe
sub ecx, esi
and ecx, edx
test ecx, 0x80808080
je 0x4010c2
mov esi, edi
mov edi, dword [esp + 0x18]
cmp al, 0x25
je 0x401150
test al, al
je 0x4036a2
cmp dword [ebp + 8], 0
je 0x401037
mov ecx, esi
sub ecx, edi
lea edx, [ecx + 1]
cmp edx, 0x200
jl 0x401037
add dword [esp + 0x4c], ecx
push ecx
push dword [ebp + 0xc]
push edi
call dword [ebp + 8]
add esp, 0xc
test eax, eax
jne 0x401030
jmp 0x4036cf
mov edx, dword [esp + 0x18]
mov ecx, edx
mov esi, edi
mov edi, edx
sub ecx, esi
add ecx, 0x200
jmp 0x401129
mov dword [esi], eax
mov eax, dword [ebx + 4]
mov edx, eax
or edx, 0xdadadada
mov dword [esp + 0x1c], esi
mov esi, eax
not esi
mov edi, ebx
mov ebx, esi
or ebx, 0x25252525
and ebx, edx
mov edx, 0xfefefefe
sub edx, ebx
mov ebx, edi
and edx, esi
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x18]
add esi, 4
add ebx, 4
add ecx, 0xfffffffc
test edx, 0x80808080
jne 0x401081
mov edx, 0x1010100
sub edx, eax
or edx, eax
not edx
test edx, 0x80808080
jne 0x401089
cmp dword [ebp + 8], 0
je 0x4010e0
cmp ecx, 4
jge 0x4010e0
jmp 0x401081
add ebx, 2
mov ecx, ebx
xor ebx, ebx
jmp 0x401160
or ebx, 1
inc ecx
nop
nop
nop
movzx eax, byte [ecx - 1]
lea edx, [eax - 0x20]
cmp edx, 0x3f
ja case.0x40116c.33
jmp dword [edx*4 + 0x447564]
or ebx, 4
inc ecx
jmp 0x401160
or ebx, 8
inc ecx
jmp 0x401160
mov eax, ebx
xor eax, 0x400
add eax, ebx
mov edx, ebx
and edx, 0xfffffbff
sub eax, edx
inc ecx
mov ebx, eax
jmp 0x401160
or ebx, 0x40
inc ecx
jmp 0x401160
test ebx, 0x100
jne 0x4011b4
or ebx, 0x100
inc ecx
jmp 0x401160
or ebx, 2
inc ecx
jmp 0x401160
test ebx, 0x800
jne 0x4011c5
or ebx, 0x800
inc ecx
jmp 0x401160
or ebx, 0x1000
inc ecx
jmp 0x401160
or ebx, 0x10
movzx eax, byte [ecx]
jmp 0x4011d7
dec ecx
mov dword [esp + 4], ebx
cmp al, 0x2a
jne 0x4011f3
mov eax, dword [esp + 0x28]
mov ebx, dword [eax]
add eax, 4
mov dword [esp + 0x28], eax
movzx eax, byte [ecx + 1]
inc ecx
jmp 0x40122b
mov edx, eax
add dl, 0xd0
xor ebx, ebx
cmp dl, 9
ja 0x40122b
xor ebx, ebx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx eax, al
lea edx, [ebx + ebx*4]
lea ebx, [eax + edx*2]
add ebx, 0xffffffd0
movzx eax, byte [ecx + 1]
inc ecx
mov edx, eax
add dl, 0xd0
cmp dl, 0xa
jb 0x401210
mov dword [esp + 8], 0xffffffff
cmp al, 0x2e
jne 0x401293
movzx eax, byte [ecx + 1]
cmp al, 0x2a
jne 0x401259
mov eax, dword [esp + 0x28]
mov edx, dword [eax]
mov dword [esp + 8], edx
add eax, 4
mov dword [esp + 0x28], eax
movzx eax, byte [ecx + 2]
add ecx, 2
jmp 0x401293
inc ecx
mov edx, eax
add dl, 0xd0
mov dword [esp + 8], 0
cmp dl, 9
ja 0x401293
xor edi, edi
nop
nop
movzx eax, al
lea edx, [edi + edi*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
jb 0x401270
mov dword [esp + 8], edi
mov edi, dword [esp + 0x18]
movzx eax, al
add eax, 0xffffffb7
cmp eax, 0x31
mov dword [esp + 0x30], ebx
ja case.0x4012a2.74
jmp dword [eax*4 + 0x447664]
inc ecx
movzx edx, byte [ecx]
mov ebx, ecx
movzx eax, dl
add eax, 0xffffffbf
cmp eax, 0x37
mov dword [esp + 0x1c], esi
mov dword [esp + 0x24], ebx
ja case.0x4012c6.67
jmp dword [eax*4 + 0x44772c]
test byte [esp + 4], 0x20
jne 0x4017af
mov eax, dword [esp + 0x28]
mov ecx, dword [eax]
add eax, 4
mov dword [esp + 0x28], eax
xor esi, esi
cmp dl, 0x75
je 0x401d59
test ecx, ecx
jns 0x401d59
neg ecx
mov eax, ecx
mov edx, dword [esp + 4]
or edx, 0x80
jmp 0x401d68
movzx edx, byte [ecx + 1]
cmp dl, 0x6c
jne 0x4017f0
mov edx, dword [esp + 4]
mov eax, edx
xor eax, 0x20
add eax, edx
and edx, 0xffffffdf
sub eax, edx
add ecx, 2
mov dword [esp + 4], eax
jmp case.0x4012a2.74
lea ebx, [ecx + 1]
movzx edx, byte [ecx + 1]
cmp edx, 0x33
je 0x401bd3
cmp edx, 0x36
jne 0x4012af
cmp byte [ecx + 2], 0x34
jne 0x401bdd
or dword [esp + 4], 0x20
add ecx, 3
jmp case.0x4012a2.74
cmp byte [ecx + 1], 0x68
je 0x4017f6
inc ecx
or dword [esp + 4], 0x200
jmp case.0x4012a2.74
mov ebx, dword [esp + 4]
jmp 0x40182a
mov eax, str.0123456789ABCDEFXP
cmp dl, 0x45
je 0x401394
mov eax, str.0123456789abcdefxp
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x28]
fld qword [eax]
mov eax, 6
mov ecx, dword [esp + 8]
cmp ecx, 0xffffffff
je 0x4013ae
mov eax, ecx
mov esi, eax
or eax, 0x80000000
sub esp, 0x18
mov dword [esp + 0x10], eax
fstp qword [esp + 8]
lea eax, [esp + 0x54]
mov dword [esp + 4], eax
lea eax, [esp + 0x7c]
mov dword [esp], eax
lea ecx, [esp + 0x28]
lea edx, [esp + 0x38]
call fcn.004036f0
add esp, 0x18
test eax, eax
je 0x4013eb
or dword [esp + 4], 0x80
add dword [esp + 0x28], 8
mov ecx, esi
mov byte [esp + 0x34], 0
mov byte [esp + 0x40], 0
mov al, 0x2d
cmp byte [esp + 4], 0
js 0x401417
mov al, 0x20
test byte [esp + 4], 4
jne 0x401417
mov al, 0x2b
test byte [esp + 4], 2
je 0x401420
mov byte [esp + 0x40], 1
mov byte [esp + 0x41], al
mov edx, dword [esp + 0x3c]
xor eax, eax
mov esi, dword [esp + 0x10]
cmp edx, 0x7000
je 0x402a3a
mov edi, esi
movzx eax, byte [esi]
mov byte [esp + 0xa4], al
lea eax, [esp + 0xa5]
mov dword [esp], ecx
test ecx, ecx
je 0x401465
movzx eax, byte [section..data]
mov byte [esp + 0xa5], al
lea eax, [esp + 0xa6]
mov dword [esp + 0x48], edx
mov dword [esp + 8], eax
mov ebx, dword [esp + 0x20]
lea ecx, [ebx - 1]
cmp ecx, dword [esp]
jbe 0x401483
mov eax, dword [esp]
lea ebx, [eax + 1]
mov dword [esp + 0x20], ebx
cmp ebx, 2
mov dword [esp + 0x2c], ebx
jb 0x401546
mov dword [esp + 0xc], edi
mov edx, dword [esp]
mov eax, edx
cmp edx, ecx
jb 0x40149f
mov eax, ecx
lea ecx, [eax - 1]
mov edx, 1
cmp ecx, 7
jb 0x401515
mov ecx, eax
and ecx, 0xfffffff8
xor edx, edx
mov edi, dword [esp + 0xc]
mov esi, dword [esp + 8]
nop
nop
nop
nop
nop
movzx ebx, byte [edi + edx + 1]
mov byte [esi + edx], bl
movzx ebx, byte [edi + edx + 2]
mov byte [esi + edx + 1], bl
movzx ebx, byte [edi + edx + 3]
mov byte [esi + edx + 2], bl
movzx ebx, byte [edi + edx + 4]
mov byte [esi + edx + 3], bl
movzx ebx, byte [edi + edx + 5]
mov byte [esi + edx + 4], bl
movzx ebx, byte [edi + edx + 6]
mov byte [esi + edx + 5], bl
movzx ebx, byte [edi + edx + 7]
mov byte [esi + edx + 6], bl
movzx ebx, byte [edi + edx + 8]
mov byte [esi + edx + 7], bl
add edx, 8
cmp ecx, edx
jne 0x4014c0
add esi, edx
mov dword [esp + 8], esi
inc edx
and eax, 7
je 0x401546
mov ecx, dword [esp + 0xc]
add ecx, edx
mov edx, ecx
xor ecx, ecx
mov esi, dword [esp + 8]
nop
nop
nop
nop
nop
nop
nop
nop
mov edi, edx
movzx edx, byte [edx + ecx]
mov byte [esi + ecx], dl
mov edx, edi
inc ecx
cmp eax, ecx
jne 0x401530
add esi, ecx
mov dword [esp + 8], esi
mov eax, dword [esp + 0x14]
movzx eax, byte [eax + 0xe]
mov byte [esp + 0x35], al
mov esi, dword [esp + 0x48]
mov eax, esi
xor eax, 1
add esi, esi
and esi, 0xfffffffc
sub esi, eax
js 0x402037
mov byte [esp + 0x36], 0x2b
jmp 0x40203e
mov ebx, str.0123456789ABCDEFXP
mov dword [esp + 0x54], edx
cmp dl, 0x41
je 0x401585
mov ebx, str.0123456789abcdefxp
mov dword [esp + 0x48], 6
mov eax, dword [esp + 8]
cmp eax, 0xffffffff
mov edx, dword [esp + 4]
je 0x40159e
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x28]
mov ecx, dword [eax + 4]
test ecx, ecx
jns 0x4015af
or edx, 0x80
mov eax, dword [esp + 0x28]
mov eax, dword [eax]
mov dword [esp + 0x2c], eax
mov al, 0x2d
test dl, dl
js 0x401721
mov al, 0x20
test dl, 4
jne 0x401721
mov al, 0x2b
test dl, 2
jne 0x401721
mov dword [esp], 0
jmp 0x40172a
mov dword [esp + 0x14], str.0123456789ABCDEFXP
cmp dl, 0x42
je 0x4015fa
mov dword [esp + 0x14], str.0123456789abcdefxp
mov byte [esp + 0x40], 0
mov ebx, dword [esp + 4]
test bl, 8
je 0x40161e
cmp dl, 0x42
setne al
mov word [esp + 0x40], 0x3002
shl al, 5
or al, 0x42
mov byte [esp + 0x42], al
mov dword [esp + 0x20], 0x180
mov ecx, 1
test bl, 0x20
je 0x401875
mov edx, dword [esp + 0x28]
mov eax, dword [edx]
mov esi, dword [edx + 4]
add edx, 8
mov dword [esp + 0x28], edx
jmp 0x401884
mov eax, str.0123456789ABCDEFXP
cmp dl, 0x47
je 0x401658
mov eax, str.0123456789abcdefxp
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x28]
fld qword [eax]
mov ecx, dword [esp + 8]
cmp ecx, 1
mov eax, ecx
adc eax, 0
mov ebx, 6
cmp ecx, 0xffffffff
mov esi, dword [esp + 4]
je 0x40167e
mov ebx, eax
lea eax, [ebx - 1]
or eax, 0x80000000
sub esp, 0x18
fstp qword [esp + 8]
lea ecx, [esp + 0x54]
mov dword [esp + 4], ecx
lea ecx, [esp + 0x7c]
mov dword [esp], ecx
mov dword [esp + 0x10], eax
lea ecx, [esp + 0x28]
lea edx, [esp + 0x38]
call fcn.004036f0
add esp, 0x18
test eax, eax
je 0x4016ba
or esi, 0x80
mov eax, dword [esp + 0x20]
cmp eax, ebx
jb 0x4016c4
mov eax, ebx
mov dword [esp + 4], esi
cmp eax, 2
mov dword [esp], eax
mov dword [esp + 8], ebx
jb 0x401774
mov ecx, dword [esp + 0x10]
mov dword [esp + 0xc], ecx
lea esi, [eax + eax]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [esp]
mov eax, ecx
xor eax, 1
mov edx, esi
and edx, 0xfffffffc
sub edx, eax
mov eax, dword [esp + 0xc]
cmp byte [eax + edx], 0x30
jne 0x401774
lea eax, [ebx - 1]
dec ecx
mov dword [esp], ecx
cmp ecx, 2
jb 0x401776
add esi, 0xfffffffe
cmp ebx, 1
mov ebx, eax
jne 0x4016f0
jmp 0x401776
mov byte [esp + 0x41], al
mov al, 1
mov dword [esp], eax
mov edi, ecx
and edi, 0xfffff
shr ecx, 0x14
and ecx, 0x7ff
mov dword [esp + 0x14], ebx
mov dword [esp + 4], edx
je 0x401c07
add ecx, 0xfffffc01
mov dword [esp + 0x50], ecx
mov eax, 0xffffffff
mov ecx, dword [esp + 0x2c]
add ecx, eax
mov eax, 0xfffff
adc edi, eax
add ecx, 1
mov dword [esp + 0x2c], ecx
adc edi, 0
jmp 0x401c1e
mov eax, ebx
add dword [esp + 0x28], 8
mov ecx, dword [esp]
mov dword [esp + 0x20], ecx
mov edx, dword [esp + 0x3c]
cmp edx, 0xfffffffd
jl 0x401806
cmp edx, dword [esp + 8]
jg 0x401806
test edx, edx
mov ebx, dword [esp + 0x24]
jle 0x40240d
mov esi, dword [esp]
sub esi, edx
jg 0x40241a
xor esi, esi
jmp 0x40241a
mov ecx, dword [esp + 0x28]
lea eax, [ecx + 8]
mov dword [esp], eax
mov eax, dword [ecx]
mov esi, dword [ecx + 4]
cmp dl, 0x75
je 0x401d5d
test esi, esi
jns 0x401d5d
neg eax
mov ecx, 0
sbb ecx, esi
mov edx, dword [esp + 4]
or edx, 0x80
mov esi, dword [esp]
mov dword [esp + 0x28], esi
mov esi, ecx
jmp 0x401d68
inc ecx
jmp 0x4012ad
add ecx, 2
or dword [esp + 4], 0x200
jmp case.0x4012a2.74
mov ecx, dword [esp]
cmp eax, ecx
mov ebx, dword [esp + 0x24]
jle 0x40210f
dec ecx
jmp 0x4013f2
mov ebx, dword [esp + 4]
and ebx, 0xffffffef
mov dword [esp + 8], 8
mov dword [esp + 0x14], str.0123456789ABCDEFXP
cmp dl, 0x58
je 0x40183f
mov dword [esp + 0x14], str.0123456789abcdefxp
mov dword [esp + 0x20], 0x440
mov byte [esp + 0x40], 0
mov ecx, 4
test bl, 8
je 0x40186c
cmp dl, 0x58
setne al
mov word [esp + 0x40], 0x3002
shl al, 5
or al, 0x58
mov byte [esp + 0x42], al
test bl, 0x20
jne 0x401634
mov edx, dword [esp + 0x28]
mov eax, dword [edx]
add edx, 4
mov dword [esp + 0x28], edx
xor esi, esi
mov dword [esp + 4], ebx
mov dword [esp + 0x3c], 0
mov byte [esp + 0x34], 0
mov edx, eax
or edx, esi
jne 0x4018ab
mov byte [esp + 0x40], 0
cmp dword [esp + 8], 0
je 0x401be4
mov ebx, 0xffffffff
shl ebx, cl
not ebx
and ebx, eax
mov edx, eax
mov eax, dword [esp + 0x20]
mov cl, ah
shrd edx, esi, cl
mov dword [esp], edx
mov ecx, dword [esp + 0x14]
movzx ecx, byte [ecx + ebx]
mov byte [esp + 0x263], cl
mov cl, ah
shr esi, cl
mov edx, eax
test ah, 0x20
jne 0x4018e3
mov ecx, dword [esp]
jmp 0x4018e7
mov ecx, esi
xor esi, esi
mov dword [esp], ecx
or ecx, esi
mov eax, dword [esp + 8]
jne 0x401908
mov ecx, 1
cmp eax, 2
jge 0x401908
lea eax, [esp + 0x263]
jmp 0x4019e9
lea eax, [esp + 0x263]
lea ebx, [esp + 0x264]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
test byte [esp + 4], 0x40
jne 0x401930
mov ebx, eax
mov ecx, edx
jmp 0x401980
mov dword [esp + 0xc], eax
mov eax, edx
lea ecx, [edx + 1]
mov dword [esp + 0x20], ecx
mov edx, ecx
shr edx, 4
xor edx, ecx
test dl, 0xf
je 0x40194f
mov ebx, dword [esp + 0xc]
jmp 0x401980
mov edx, 0xfffffffe
sub edx, eax
not edx
or edx, ecx
and edx, 0xfffffff0
mov dword [esp + 0x20], edx
movzx ecx, byte [0x44a001]
xor cl, 0xf6
mov byte [ebx - 2], cl
add ebx, 0xfffffffe
mov ecx, dword [esp + 0x20]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov edx, 0xffffffff
mov cl, ch
shl edx, cl
not edx
mov edi, dword [esp]
and edx, edi
mov eax, dword [esp + 0x20]
mov cl, ah
shrd edi, esi, cl
mov ecx, dword [esp + 0x14]
movzx ecx, byte [ecx + edx]
mov byte [ebx - 1], cl
mov cl, ah
shr esi, cl
mov edx, eax
test ah, 0x20
jne 0x4019c0
mov ecx, edi
jmp 0x4019c4
mov ecx, esi
xor esi, esi
mov edi, dword [esp + 0x18]
lea eax, [ebx - 1]
mov dword [esp], ecx
or ecx, esi
jne 0x401920
lea ecx, [esp + 0x264]
sub ecx, eax
cmp ecx, dword [esp + 8]
jl 0x401920
mov esi, eax
mov eax, edx
shl eax, 0x14
and eax, 0xf000000
add eax, ecx
mov dword [esp + 0x20], ecx
mov dword [esp], 0
mov ebx, dword [esp + 0x24]
jmp 0x40202e
mov byte [esp + 0x40], 0
mov ebx, dword [esp + 4]
test bl, 8
je 0x401a20
mov word [esp + 0x40], 0x3001
mov dword [esp + 0x20], 0x330
mov dword [esp + 0x14], str.0123456789ABCDEFXP
mov ecx, 3
test bl, 0x20
je 0x401875
jmp 0x401634
mov eax, dword [esp + 0x28]
mov eax, dword [eax]
mov edx, str.null
test eax, eax
je 0x401a54
mov edx, eax
mov ecx, dword [esp + 8]
mov eax, ecx
test ecx, ecx
jns 0x401a63
mov eax, 0xffffffff
test dl, 3
mov dword [esp + 0xc], edx
je 0x4027e2
mov ecx, edx
add edx, eax
cmp dword [esp + 8], 0
je 0x402a15
cmp byte [ecx], 0
je 0x402a13
lea esi, [eax - 1]
inc ecx
test cl, 3
je 0x4029cf
test esi, esi
je 0x402a15
cmp byte [ecx], 0
je 0x402a13
lea esi, [eax - 2]
mov ecx, dword [esp + 0xc]
add ecx, 2
test cl, 3
je 0x4029cf
test esi, esi
je 0x402a15
cmp byte [ecx], 0
je 0x402a13
lea esi, [eax - 3]
mov ecx, dword [esp + 0xc]
add ecx, 3
test cl, 3
je 0x4029cf
test esi, esi
je 0x402a15
cmp byte [ecx], 0
je 0x402a13
add eax, 0xfffffffc
mov ecx, dword [esp + 0xc]
add ecx, 4
test cl, 3
je 0x4029d1
test eax, eax
je 0x401b07
mov edx, ecx
mov edi, dword [esp + 0x18]
mov ebx, dword [esp + 0x24]
jmp 0x402a15
mov byte [esp + 0x263], dl
mov dword [esp + 0x20], 1
mov byte [esp + 0x40], 0
mov byte [esp + 0x34], 0
mov dword [esp + 0x3c], 0
lea esi, [esp + 0x263]
xor eax, eax
mov dword [esp + 4], 0
mov dword [esp], 0
xor ecx, ecx
mov dword [esp + 0x30], 0
jmp 0x402a43
mov ecx, dword [esp + 0x28]
movzx eax, byte [ecx]
add ecx, 4
mov dword [esp + 0x28], ecx
mov byte [esp + 0x263], al
mov dword [esp + 0x20], 1
mov byte [esp + 0x40], 0
mov byte [esp + 0x34], 0
mov dword [esp + 0x3c], 0
lea esi, [esp + 0x263]
jmp 0x402a38
mov eax, dword [esp + 0x28]
fld qword [eax]
add eax, 8
mov dword [esp + 0x28], eax
test dword [esp + 4], 0x100
jne 0x401f45
jmp 0x4021a6
mov edx, dword [esp + 0x28]
mov eax, dword [edx]
mov ecx, dword [esp + 0x4c]
sub ecx, edi
add ecx, esi
mov dword [eax], ecx
add edx, 4
mov dword [esp + 0x28], edx
jmp 0x403555
cmp byte [ecx + 2], 0x32
je 0x4021f7
mov ecx, ebx
jmp case.0x4012a2.74
mov dword [esp + 0x20], 0
lea esi, [esp + 0x264]
xor eax, eax
mov dword [esp], 0
xor ecx, ecx
mov ebx, dword [esp + 0x24]
jmp 0x402a43
xor eax, eax
mov ecx, dword [esp + 0x2c]
or ecx, edi
je 0x401c16
mov eax, 0xfffffc02
mov dword [esp + 0x50], eax
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x48]
lea ecx, [eax*4]
xor ebx, ebx
mov eax, 0x8000000
shrd ebx, eax, cl
mov edx, 0x8000000
shr edx, cl
test cl, 0x20
je 0x401c43
mov ebx, edx
xor edx, edx
cmp dword [esp + 0x48], 0xf
mov eax, dword [esp + 0x2c]
jl 0x401c52
xor ebx, ebx
xor edx, edx
shld edi, eax, 8
shl eax, 8
add eax, ebx
mov dword [esp + 0x2c], eax
adc edi, edx
mov edx, dword [esp]
movzx ecx, dl
lea eax, [esp + 0x40]
mov word [ecx + eax + 1], 0x7830
or dl, 2
mov byte [esp + 0x40], dl
mov ecx, edi
shr ecx, 0x1c
mov eax, dword [esp + 0x14]
movzx ecx, byte [eax + ecx]
mov byte [esp + 0xa4], cl
mov edx, dword [esp + 0x48]
test edx, edx
je 0x401d45
movzx ecx, byte [section..data]
mov byte [esp + 0xa5], cl
lea eax, [esp + 0xa6]
mov dword [esp + 0x10], eax
mov ecx, edx
cmp edx, 0xd
mov ebx, dword [esp + 0x50]
jb 0x401cc2
mov ecx, 0xd
mov eax, edx
sub eax, ecx
mov dword [esp], eax
jg 0x401cd2
mov dword [esp], 0
mov eax, ecx
and eax, 3
je 0x4021ff
mov dword [esp + 0xc], ecx
xor ebx, ebx
mov esi, dword [esp + 0x14]
mov edx, dword [esp + 0x2c]
nop
nop
nop
nop
nop
mov ecx, eax
mov eax, edi
shr eax, 0x18
and eax, 0xf
movzx eax, byte [esi + eax]
shld edi, edx, 4
mov byte [esp + ebx + 0xa6], al
mov eax, ecx
shl edx, 4
inc ebx
cmp ecx, ebx
jne 0x401cf0
mov dword [esp + 0x2c], edx
lea eax, [esp + 0xa6]
lea edx, [eax + ebx]
mov ecx, dword [esp + 0xc]
sub ecx, ebx
mov ebx, dword [esp + 0x50]
cmp dword [esp + 0x48], 4
jae 0x402211
lea esi, [esp + 0xa6]
mov ecx, dword [esp]
jmp 0x40228c
lea edx, [esp + 0xa5]
mov dword [esp + 0x10], edx
xor ecx, ecx
mov esi, edx
jmp 0x402288
mov eax, ecx
jmp 0x401d64
mov ecx, dword [esp]
mov dword [esp + 0x28], ecx
mov edx, dword [esp + 4]
mov dword [esp + 4], edx
test edx, 0x100
jne 0x401f11
mov dword [esp + 0x14], esi
movzx ecx, byte [0x44a001]
xor cl, 0xf6
mov byte [esp + 0xc], cl
mov esi, 0x200
xor edx, edx
mov ebx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp ebx, 0x5f5e100
mov ecx, dword [esp + 0x14]
mov eax, ecx
sbb eax, 0
mov dword [esp + 0x48], edx
jb 0x401de0
push 0
push 0x5f5e100
push ecx
push ebx
call fcn.0040c5c0
mov dword [esp + 0x14], edx
imul ecx, eax, 0x5f5e100
sub ebx, ecx
mov dword [esp + 0x2c], eax
jmp 0x401df0
mov dword [esp + 0x14], 0
mov dword [esp + 0x2c], 0
lea eax, [esp + 0x5c]
add eax, esi
mov dword [esp], eax
test byte [esp + 4], 0x40
jne 0x401e50
mov eax, ebx
mov ecx, 0x51eb851f
mul ecx
shr edx, 5
imul ecx, edx, 0x64
mov eax, ebx
sub eax, ecx
mov ecx, eax
and ecx, 2
mov edi, eax
or eax, 2
imul eax, ecx
xor ecx, 2
and edi, 0x7d
imul edi, ecx
movzx eax, word [edi + eax + str.00010203040506070809101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899]
mov word [esp + esi + 0x62], ax
add esi, 0xfffffffe
cmp ebx, 0x64
mov ebx, edx
jae 0x401e00
mov edi, dword [esp + 0x18]
mov edx, dword [esp + 0x48]
jmp 0x401eb0
test ebx, ebx
mov edx, dword [esp + 0x48]
jne 0x401e8b
jmp 0x401eb0
inc edx
mov edi, edx
mov eax, ebx
mov ecx, 0xcccccccd
mul ecx
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, edi
mov edi, dword [esp + 0x18]
test ebx, ebx
je 0x401eb0
test byte [esp + 4], 0x40
je 0x401e61
cmp edx, 3
jne 0x401e60
movzx eax, byte [esp + 0xc]
mov byte [esp + esi + 0x63], al
dec esi
dec dword [esp]
xor edx, edx
test ebx, ebx
jne 0x401e8b
nop
nop
nop
nop
nop
nop
mov ebx, dword [esp + 0x2c]
mov eax, ebx
or eax, dword [esp + 0x14]
je 0x401f90
lea eax, [esp + esi]
add eax, 0x64
cmp eax, dword [esp]
mov ecx, dword [esp + 4]
jne 0x401ef6
jmp 0x401da0
inc edx
mov byte [esp + esi + 0x63], 0x30
dec esi
lea eax, [esp + esi]
add eax, 0x64
cmp eax, dword [esp]
je 0x401da0
test cl, 0x40
je 0x401ee1
cmp edx, 3
jne 0x401ee0
movzx eax, byte [esp + 0xc]
mov byte [esp + esi + 0x63], al
dec esi
dec dword [esp]
xor edx, edx
jmp 0x401ee7
mov edx, 1
mov ecx, dword [esp + 8]
cmp ecx, 0xffffffff
je 0x401f21
mov edx, ecx
mov dword [esp + 8], 0
cmp eax, 0x400
mov ecx, esi
sbb ecx, 0
jb 0x401f39
mov dword [esp + 8], edx
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], esi
fild qword [esp + 0x58]
xor eax, eax
mov ecx, dword [esp + 4]
test ecx, 0x800
sete al
fld qword [eax*8 + 0x447550]
cmp ecx, 0x3ffffff
ja 0x40200a
fld st(0)
fchs
fxch st(1)
fucom st(2)
fnstsw ax
sahf
jbe 0x402121
fxch st(2)
fucom st(1)
fnstsw ax
sahf
fxch st(2)
jbe 0x402121
fstp st(0)
fstp st(0)
jmp 0x4021a6
cmp byte [esp + esi + 0x64], 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
js 0x401fc6
mov dl, 0x20
test byte [esp + 4], 4
jne 0x401fc6
mov dl, 0x2b
test byte [esp + 4], 2
je 0x401fcf
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, 0x64
lea eax, [esi - 0x200]
neg eax
mov dword [esp + 0x20], eax
cmp esi, 0x200
mov ebx, dword [esp + 0x24]
jne 0x402011
mov byte [ecx - 1], 0x30
dec ecx
mov esi, ecx
mov dword [esp + 0x20], 1
mov eax, 1
jmp 0x402013
fstp st(0)
jmp 0x4021a6
mov esi, ecx
cmp dword [esp + 8], 0
jg 0x402022
mov dword [esp + 8], 0
mov dword [esp], 0
add eax, 0x3000000
mov ecx, dword [esp + 8]
jmp 0x402a43
mov byte [esp + 0x36], 0x2d
neg esi
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 + 0xc], eax
mov ecx, esi
mov eax, esi
mov edx, 0x66666667
imul edx
mov ebx, edx
mov eax, edx
shr eax, 0x1f
sar ebx, 2
add ebx, eax
mov eax, ebx
mov edx, 0x66666667
imul edx
sub ecx, dword [esp + 0xc]
mov eax, edx
shr eax, 0x1f
sar edx, 2
add edx, eax
add edx, edx
lea edx, [edx + edx*4]
mov eax, ebx
sub eax, edx
or cl, 0x30
mov edx, edi
mov byte [esp + 0x34], dl
mov byte [esp + edi + 0x34], cl
add al, 0x30
mov byte [esp + edi + 0x33], al
cmp esi, 0x64
jb 0x4020ea
mov eax, esi
mov ecx, 0x51eb851f
imul ecx
mov ebx, edx
mov eax, edx
shr eax, 0x1f
sar ebx, 5
add ebx, eax
mov eax, ebx
mov ecx, 0x66666667
imul ecx
mov eax, edx
shr eax, 0x1f
shr edx, 2
add edx, eax
add edx, edx
lea eax, [edx + edx*4]
mov ecx, ebx
sub ecx, eax
add cl, 0x30
lea eax, [esp + 0x34]
mov byte [edi + eax - 2], cl
mov ecx, dword [esp]
sub ecx, dword [esp + 0x2c]
inc ecx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x14], 0x3000001
mov edi, dword [esp + 0x18]
mov ebx, dword [esp + 0x24]
mov edx, dword [esp + 8]
jmp 0x4029b5
xor ecx, ecx
sub eax, 1
jb 0x4013f2
mov ecx, eax
jmp 0x4013f2
fdiv st(2), st(0)
mov eax, dword [esp + 4]
lea ecx, [eax + 0x1000000]
cmp eax, 0x2ffffff
ja 0x40219e
fucom st(2)
fnstsw ax
sahf
jbe 0x402146
fxch st(2)
fucom st(1)
fnstsw ax
sahf
fxch st(2)
ja 0x40219e
fdiv st(2), st(0)
mov eax, dword [esp + 4]
lea ecx, [eax + 0x2000000]
cmp eax, 0x1ffffff
ja 0x40219e
fucom st(2)
fnstsw ax
sahf
jbe 0x40216b
fxch st(2)
fucom st(1)
fnstsw ax
sahf
fxch st(2)
ja 0x40219e
fdiv st(2), st(0)
mov eax, dword [esp + 4]
lea ecx, [eax + 0x3000000]
cmp eax, 0xffffff
ja 0x40219e
fucom st(2)
fnstsw ax
sahf
jbe 0x403691
fxch st(2)
fucom st(1)
fstp st(1)
fnstsw ax
sahf
fldz
fxch st(1)
fxch st(2)
jbe 0x403691
fstp st(0)
fstp st(0)
mov dword [esp + 4], ecx
mov ecx, 6
mov eax, dword [esp + 8]
cmp eax, 0xffffffff
je 0x4021b6
mov ecx, eax
sub esp, 0x18
fstp qword [esp + 8]
lea eax, [esp + 0x54]
mov dword [esp + 4], eax
lea eax, [esp + 0x7c]
mov dword [esp], eax
mov esi, ecx
mov dword [esp + 0x10], ecx
lea ecx, [esp + 0x28]
lea edx, [esp + 0x38]
call fcn.004036f0
add esp, 0x18
test eax, eax
je 0x40241a
or dword [esp + 4], 0x80
jmp 0x40241a
add ecx, 3
jmp case.0x4012a2.74
lea edx, [esp + 0xa6]
cmp dword [esp + 0x48], 4
jb 0x401d36
mov dword [esp + 8], edi
mov eax, ecx
mov ecx, dword [esp + 0x2c]
nop
nop
nop
nop
nop
mov dword [esp + 0xc], eax
mov eax, edi
shr eax, 0x18
and eax, 0xf
mov ebx, dword [esp + 0x14]
movzx eax, byte [ebx + eax]
mov byte [edx], al
mov eax, edi
shr eax, 0x14
and eax, 0xf
movzx eax, byte [ebx + eax]
mov byte [edx + 1], al
mov eax, edi
shr eax, 0x10
and eax, 0xf
movzx eax, byte [ebx + eax]
mov byte [edx + 2], al
mov esi, dword [esp + 8]
shld esi, ecx, 0x10
shl ecx, 0x10
shr edi, 0xc
and edi, 0xf
movzx eax, byte [ebx + edi]
mov byte [edx + 3], al
mov eax, dword [esp + 0xc]
add edx, 4
mov dword [esp + 8], esi
mov edi, esi
add eax, 0xfffffffc
jne 0x402220
lea esi, [esp + 0xa6]
mov ecx, dword [esp]
mov ebx, dword [esp + 0x50]
mov eax, dword [esp + 0x54]
cmp al, 0x41
setne al
shl al, 5
or al, 0x50
mov byte [esp + 0x35], al
test ebx, ebx
mov edi, dword [esp + 0x18]
js 0x4022ad
mov byte [esp + 0x36], 0x2b
jmp 0x4022b4
mov byte [esp + 0x36], 0x2d
neg ebx
cmp ebx, 0x3e7
mov dword [esp], ecx
mov dword [esp + 8], edx
ja 0x4022da
cmp ebx, 0x63
jbe 0x4023ed
mov dword [esp + 0x14], esi
mov dword [esp + 0xc], 5
jmp 0x4022e6
mov dword [esp + 0x14], esi
mov dword [esp + 0xc], 6
mov dword [esp + 0x2c], 0
mov eax, ebx
mov ecx, 0xcccccccd
mul ecx
shr edx, 2
and edx, 0xfffffffe
mov dword [esp + 0x50], ebx
lea esi, [edx + edx*4]
mov eax, ebx
mov edi, 0x66666667
imul edi
mov ecx, edx
mov eax, edx
shr eax, 0x1f
sar ecx, 2
add ecx, eax
mov eax, ecx
imul edi
mov eax, ebx
sub eax, esi
mov ebx, dword [esp + 0xc]
mov byte [esp + 0x34], bl
or al, 0x30
mov byte [esp + ebx + 0x34], al
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
mov byte [esp + ebx + 0x33], cl
cmp byte [esp + 0x2c], 0
mov edi, dword [esp + 0x18]
mov esi, dword [esp + 0x14]
jne 0x4027fe
mov ebx, dword [esp + 0x50]
mov eax, ebx
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 + 0xc]
mov byte [edx + eax - 2], cl
cmp ebx, 0x3e8
jb 0x4027fe
mov eax, dword [esp + 0x50]
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 + 0xc]
mov byte [edx + eax - 3], cl
jmp 0x4027fe
cmp ebx, 9
jbe 0x4027f2
mov dword [esp + 0x14], esi
mov dword [esp + 0xc], 4
mov al, 1
mov dword [esp + 0x2c], eax
jmp 0x4022ee
mov ecx, dword [esp]
cmp eax, ecx
jl 0x402416
mov eax, ecx
sub eax, edx
mov esi, eax
mov dword [esp], esi
mov byte [esp + 0x34], 0
mov byte [esp + 0x40], 0
mov al, 0x2d
cmp byte [esp + 4], 0
js 0x402442
mov al, 0x20
test byte [esp + 4], 4
jne 0x402442
mov al, 0x2b
test byte [esp + 4], 2
je 0x40244b
mov byte [esp + 0x40], 1
mov byte [esp + 0x41], al
mov ecx, dword [esp + 0x3c]
cmp ecx, 0x7000
jne 0x402462
xor eax, eax
mov esi, dword [esp + 0x10]
jmp 0x402a3a
test ecx, ecx
jle 0x402512
xor esi, esi
test byte [esp + 4], 0x40
je 0x40248a
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
mov dword [esp + 0xc], esi
cmp ecx, dword [esp + 0x20]
jae 0x40264b
xor eax, eax
lea ecx, [esp + 0xa4]
mov dword [esp + 0x14], ecx
jmp 0x4024dc
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
movzx ecx, byte [ecx + eax]
lea esi, [edx + 1]
mov dword [esp + 0x14], esi
mov byte [edx], cl
mov ecx, eax
and ecx, 1
xor eax, 1
lea eax, [eax + ecx*2]
mov ecx, dword [esp + 0x3c]
cmp eax, ecx
jae 0x4026ac
test byte [esp + 4], 0x40
je 0x4024b0
mov ecx, dword [esp + 0xc]
inc ecx
mov dword [esp + 0xc], ecx
cmp ecx, 4
jne 0x4024b0
mov ecx, dword [esp + 4]
and ecx, 0x40
shr ecx, 6
mov dword [esp + 0xc], ecx
movzx ecx, byte [0x44a001]
xor cl, 0xf6
mov edx, dword [esp + 0x14]
mov byte [edx], cl
inc edx
jmp 0x4024b4
mov byte [esp + 0xa4], 0x30
lea edx, [esp + 0xa5]
cmp dword [esp], 0
je 0x40253c
movzx eax, byte [section..data]
mov byte [esp + 0xa5], al
lea edx, [esp + 0xa6]
neg ecx
mov eax, dword [esp]
mov ebx, eax
cmp eax, ecx
jl 0x402549
mov ebx, ecx
test ebx, ebx
mov dword [esp + 0xc], ebx
je 0x402582
mov eax, edx
and eax, 3
je 0x402582
mov esi, edx
not esi
and esi, 3
dec ebx
cmp esi, ebx
jb 0x402566
mov esi, ebx
lea eax, [esi + 1]
push eax
push 0x30
push edx
mov dword [esp + 0x14], edx
call fcn.0040c6b0
mov edx, dword [esp + 0x14]
add esp, 0xc
add edx, esi
inc edx
sub ebx, esi
cmp ebx, 4
jl 0x4025bf
mov eax, ebx
cmp ebx, 7
jl 0x402593
mov eax, 7
neg eax
lea esi, [ebx + eax]
add esi, 3
and esi, 0xfffffffc
lea eax, [esi + 4]
push eax
push 0x30
push edx
mov dword [esp + 0x14], edx
call fcn.0040c6b0
mov edx, dword [esp + 0x14]
add esp, 0xc
add edx, esi
add edx, 4
sub ebx, esi
add ebx, 0xfffffffc
test ebx, ebx
je 0x4025d5
push ebx
push 0x30
push edx
mov esi, edx
call fcn.0040c6b0
mov edx, esi
add esp, 0xc
add edx, ebx
mov esi, dword [esp + 0x20]
mov eax, dword [esp + 0xc]
lea ecx, [esi + eax]
cmp ecx, dword [esp]
mov ebx, dword [esp + 0x24]
jle 0x4025f4
mov esi, dword [esp]
sub esi, dword [esp + 0xc]
mov dword [esp + 0x20], esi
test esi, esi
mov dword [esp + 8], esi
je 0x40290d
mov eax, edx
mov edx, dword [esp]
mov dword [esp + 0x14], edx
cmp edx, ecx
jl 0x402611
mov dword [esp + 0x14], ecx
mov ecx, esi
and ecx, 3
je 0x4028ad
xor esi, esi
nop
nop
mov ebx, dword [esp + 0x10]
lea edx, [ebx + 1]
mov dword [esp + 0x10], edx
movzx edx, byte [ebx]
mov byte [eax + esi], dl
inc esi
cmp ecx, esi
jne 0x402620
mov edx, eax
add edx, esi
mov eax, edx
mov ecx, dword [esp + 8]
sub ecx, esi
mov ebx, dword [esp + 0x24]
jmp 0x4028af
xor ecx, ecx
mov esi, 0xffffffff
mov ebx, 1
lea edx, [esp + 0xa4]
jmp 0x402695
mov eax, dword [esp + 4]
and eax, 0x40
shr eax, 6
mov dword [esp + 0xc], eax
movzx eax, byte [0x44a001]
xor al, 0xf6
mov byte [edx], al
inc edx
mov eax, dword [esp + 0x10]
movzx eax, byte [eax + ebx - 1]
mov byte [edx], al
mov eax, edx
inc edx
inc ecx
dec esi
inc ebx
cmp ecx, dword [esp + 0x20]
jae 0x402735
test byte [esp + 4], 0x40
je 0x40267a
mov eax, dword [esp + 0xc]
inc eax
cmp eax, 4
je 0x402660
mov dword [esp + 0xc], eax
jmp 0x40267a
mov esi, dword [esp + 0x14]
mov dword [esp + 8], esi
cmp dword [esp], 0
je 0x4026cf
movzx ecx, byte [section..data]
mov byte [edx + 1], cl
add edx, 2
mov ecx, dword [esp + 0x3c]
mov dword [esp + 8], edx
mov edx, dword [esp + 0x20]
mov esi, edx
sub esi, ecx
cmp esi, dword [esp]
jbe 0x4026e5
mov edx, dword [esp]
add edx, ecx
mov dword [esp + 0x20], edx
cmp eax, edx
jae 0x40270c
mov esi, dword [esp + 8]
nop
nop
nop
mov ecx, dword [esp + 0x10]
movzx ecx, byte [ecx + eax]
mov byte [esi], cl
inc esi
inc eax
mov edx, dword [esp + 0x20]
cmp eax, edx
jb 0x4026f0
mov dword [esp + 8], esi
mov ecx, dword [esp + 0x3c]
lea eax, [esp + 0xa4]
mov esi, dword [esp + 0x14]
sub esi, eax
add esi, 0x3000000
mov dword [esp + 0x14], esi
mov eax, dword [esp]
sub eax, edx
add eax, ecx
mov ecx, eax
mov edx, dword [esp + 8]
jmp 0x402922
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 8], eax
sub eax, ecx
jbe 0x4027e9
test byte [esp + 4], 0x40
jne 0x40282e
cmp dword [esp + 8], ecx
je 0x4027bd
mov ecx, edx
and ecx, 3
je 0x4027bd
mov ecx, 2
sub ecx, dword [esp + 0x14]
and ecx, 3
mov eax, dword [esp + 8]
sub eax, ebx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x48], ecx
cmp ecx, eax
mov ecx, dword [esp + 0x2c]
jb 0x402785
mov ecx, eax
mov dword [esp + 0x2c], ecx
lea eax, [ecx + 1]
push eax
push 0x30
push edx
call fcn.0040c6b0
add esp, 0xc
add esi, dword [esp + 8]
mov eax, dword [esp + 0x48]
cmp esi, eax
jb 0x4027a6
mov esi, eax
mov ecx, dword [esp + 8]
sub ecx, esi
sub ecx, ebx
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x2c]
add edx, eax
add edx, 2
mov eax, ecx
cmp eax, 4
jb 0x40282e
mov ebx, dword [esp + 0x24]
mov dword [edx], 0x30303030
add edx, 4
mov ecx, eax
not ecx
and ecx, 4
and eax, 0xfffffffb
sub eax, ecx
cmp eax, 3
ja 0x4027c6
jmp 0x402832
mov ecx, edx
jmp 0x4029d1
mov ebx, dword [esp + 0x24]
jmp 0x40287f
mov byte [esp + 0x34], 3
or bl, 0x30
mov byte [esp + 0x37], bl
add dword [esp + 0x28], 8
mov ecx, dword [esp + 8]
mov eax, ecx
sub eax, esi
mov dword [esp + 0x3c], eax
lea eax, [esp + 0xa4]
sub ecx, eax
mov dword [esp + 0x20], ecx
xor ecx, ecx
mov esi, eax
mov eax, 0x3000001
mov ebx, dword [esp + 0x24]
jmp 0x402a43
mov ebx, dword [esp + 0x24]
test eax, eax
je 0x40287f
mov ecx, dword [esp]
jmp 0x402844
mov byte [edx], 0x30
dec eax
inc edx
test eax, eax
je 0x402882
test byte [esp + 4], 0x40
je 0x40283b
mov esi, dword [esp + 0xc]
inc esi
mov dword [esp + 0xc], esi
cmp esi, 4
jne 0x40283b
movzx ecx, byte [0x44a001]
mov esi, edx
mov edx, ecx
add dl, cl
and dl, 0xec
sub cl, dl
mov edx, esi
add cl, 0xf6
mov byte [esi], cl
mov ecx, dword [esp]
mov dword [esp + 0xc], 0
jmp 0x40283f
mov ecx, dword [esp]
mov esi, edx
lea eax, [esp + 0xa4]
sub edx, eax
add edx, 0x3000000
mov dword [esp + 0x14], edx
test ecx, ecx
je 0x4028a7
movzx eax, byte [section..data]
mov byte [esi], al
inc esi
jmp 0x4028a9
xor ecx, ecx
mov edx, esi
jmp 0x402922
mov ecx, esi
mov edx, dword [esp + 0xc]
sub edx, dword [esp + 0x14]
cmp edx, 0xfffffffc
mov edx, eax
ja 0x40290d
mov eax, edx
mov edx, dword [esp + 0x10]
lea esi, [edx + 1]
mov dword [esp + 0x10], esi
movzx edx, byte [edx]
mov byte [eax], dl
mov edx, dword [esp + 0x10]
lea esi, [edx + 1]
mov dword [esp + 0x10], esi
movzx edx, byte [edx]
mov byte [eax + 1], dl
mov edx, dword [esp + 0x10]
lea esi, [edx + 1]
mov dword [esp + 0x10], esi
movzx edx, byte [edx]
mov byte [eax + 2], dl
mov edx, dword [esp + 0x10]
lea esi, [edx + 1]
mov dword [esp + 0x10], esi
movzx edx, byte [edx]
mov byte [eax + 3], dl
mov edx, eax
add edx, 4
add ecx, 0xfffffffc
jne 0x4028be
mov eax, dword [esp + 0xc]
add eax, dword [esp + 8]
mov ecx, dword [esp]
sub ecx, eax
mov dword [esp + 0x14], 0x3000001
mov esi, dword [esp + 4]
test esi, 0x100
je 0x4029b5
mov eax, esi
and eax, 0x400
sete byte [esp + 0x34]
mov byte [esp + 0x35], 0x20
cmp esi, 0x1000000
jb 0x4029b5
mov dword [esp + 8], edx
mov dword [esp], ecx
mov ecx, esi
shr ecx, 0x18
mov ebx, eax
shr ebx, 0xa
mov edx, 2
sub edx, ebx
cmp eax, 1
mov eax, 0
adc al, 1
test esi, 0x800
jne 0x402982
movzx ecx, byte [ecx + str._kMGT]
mov byte [esp + edx + 0x34], cl
jmp 0x4029a6
movzx ecx, byte [ecx + str._KMGT]
mov byte [esp + edx + 0x34], cl
mov ecx, esi
and ecx, 0x1800
cmp ecx, 0x800
jne 0x4029a6
movzx eax, al
mov byte [esp + eax + 0x35], 0x69
inc eax
mov ecx, dword [esp]
mov edx, dword [esp + 8]
mov byte [esp + 0x34], al
mov ebx, dword [esp + 0x24]
mov dword [esp], ecx
lea eax, [esp + 0xa4]
sub edx, eax
mov dword [esp + 0x20], edx
xor ecx, ecx
mov esi, eax
mov eax, dword [esp + 0x14]
jmp 0x402a43
mov eax, esi
cmp eax, 4
jb 0x402a01
mov edx, dword [ecx]
mov esi, 0x1010100
sub esi, edx
or esi, edx
not esi
test esi, 0x80808080
jne 0x402a05
mov edx, eax
and edx, 0xfffffffb
add edx, edx
xor eax, 4
sub edx, eax
add ecx, 4
mov eax, edx
cmp edx, 3
ja 0x4029d6
test eax, eax
je 0x402a13
lea edx, [ecx + eax]
cmp byte [ecx], 0
je 0x402a13
inc ecx
dec eax
jne 0x402a08
mov ecx, edx
mov edx, ecx
add dword [esp + 0x28], 4
mov eax, dword [esp + 0xc]
sub edx, eax
mov dword [esp + 0x20], edx
mov esi, eax
mov byte [esp + 0x40], 0
mov byte [esp + 0x34], 0
mov dword [esp + 0x3c], 0
xor eax, eax
mov dword [esp], 0
xor ecx, ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0xc], esi
mov eax, dword [esp + 0x20]
cmp ecx, eax
jg 0x402a55
mov ecx, eax
mov dword [esp + 0x2c], eax
movsx eax, byte [esp + 0x40]
mov edx, ecx
xor edx, eax
movsx esi, byte [esp + 0x34]
add esi, dword [esp]
add esi, edx
mov dword [esp + 8], ecx
and ecx, eax
lea edx, [esi + ecx*2]
mov esi, dword [esp + 0x30]
cmp esi, edx
jg 0x402a7f
mov esi, edx
sub esi, edx
mov dword [esp + 0x30], esi
mov ecx, dword [esp + 0x2c]
sub dword [esp + 8], ecx
mov ecx, dword [esp + 4]
test cl, 1
mov esi, dword [esp + 0x1c]
jne 0x402ac3
test cl, 0x10
jne 0x402aa9
mov dword [esp + 4], 0
jmp 0x402ac3
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 8]
cmp ecx, edx
jg 0x402ab7
mov ecx, edx
mov dword [esp + 8], ecx
mov dword [esp + 0x30], 0
mov edx, dword [esp + 0xc]
mov ecx, dword [esp + 0x30]
add ecx, dword [esp + 8]
je 0x402fa0
test byte [esp + 4], 1
jne 0x402c44
cmp dword [esp + 0x30], 0
jle 0x402c44
mov ecx, dword [esp + 0x30]
jmp 0x402b0e
mov ecx, dword [esp + 0x30]
sub ecx, edx
test ecx, ecx
jle 0x402c3b
mov eax, edi
sub eax, esi
add eax, 0x200
mov edx, ecx
mov dword [esp + 0x30], ecx
cmp ecx, eax
jl 0x402b23
mov edx, eax
cmp dword [ebp + 8], 0
jne 0x402b2d
mov edx, dword [esp + 0x30]
test edx, edx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x18], edi
je 0x402bb0
mov eax, esi
and eax, 3
je 0x402bb0
mov ecx, esi
mov ebx, esi
not ebx
and ebx, 3
lea esi, [edx - 1]
cmp ebx, esi
jb 0x402b52
mov ebx, esi
lea eax, [ebx + 1]
push eax
push 0x20
mov edi, ecx
push ecx
call fcn.0040c6b0
add esp, 0xc
lea ecx, [ebx + edi]
inc ecx
sub esi, ebx
mov edi, dword [esp + 0x18]
mov ebx, dword [esp + 0x24]
mov edx, dword [esp + 0x1c]
cmp esi, 4
jge 0x402bb9
test esi, esi
je 0x402bfc
push esi
push 0x20
mov ebx, edi
mov edi, ecx
push ecx
call fcn.0040c6b0
mov edx, dword [esp + 0x28]
add esp, 0xc
add edi, esi
mov esi, edi
mov edi, ebx
mov ebx, dword [esp + 0x24]
cmp dword [ebp + 8], 0
jne 0x402c08
jmp 0x402b00
mov ecx, esi
mov esi, edx
cmp esi, 4
jl 0x402b7a
mov eax, esi
cmp esi, 7
jl 0x402bc5
mov eax, 7
neg eax
lea edi, [esi + eax]
add edi, 3
and edi, 0xfffffffc
lea eax, [edi + 4]
push eax
push 0x20
mov ebx, ecx
push ecx
call fcn.0040c6b0
add esp, 0xc
lea ecx, [edi + ebx]
add ecx, 4
sub esi, edi
add esi, 0xfffffffc
mov edi, dword [esp + 0x18]
mov ebx, dword [esp + 0x24]
mov edx, dword [esp + 0x1c]
test esi, esi
jne 0x402b7e
mov esi, ecx
cmp dword [ebp + 8], 0
je 0x402b00
mov eax, esi
sub eax, edi
cmp eax, 0x1ff
jl 0x402b00
add dword [esp + 0x4c], eax
push eax
push dword [ebp + 0xc]
push edi
call dword [ebp + 8]
add esp, 0xc
test eax, eax
je 0x4036cf
mov esi, eax
mov edi, eax
mov edx, dword [esp + 0x1c]
jmp 0x402b00
mov dword [esp + 0x30], ecx
movzx eax, byte [esp + 0x40]
lea ecx, [esp + 0x41]
mov dword [esp + 0x10], ecx
jmp 0x402c55
movzx eax, byte [esp + 0x40]
test al, al
je 0x402da4
movsx ecx, al
mov edx, ecx
cmp dword [ebp + 8], 0
je 0x402c84
mov eax, edi
xor eax, esi
mov edx, edi
not edx
and edx, esi
add edx, edx
not edx
add edx, eax
add edx, 0x201
cmp edx, ecx
jl 0x402c84
mov edx, ecx
mov dword [esp + 0x1c], edx
mov eax, esi
mov esi, edx
xor esi, ecx
mov edx, dword [esp + 0x1c]
not edx
and edx, ecx
add edx, edx
sub edx, esi
mov byte [esp + 0x40], dl
mov edx, dword [esp + 0x1c]
test edx, edx
je 0x402d00
mov ecx, edx
and ecx, 3
je 0x402d10
mov dword [esp + 0x18], edi
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov esi, dword [esp + 0x10]
lea edi, [esi + 1]
mov dword [esp + 0x10], edi
movzx ebx, byte [esi]
mov byte [eax + edx], bl
inc edx
cmp ecx, edx
jne 0x402cc0
mov esi, eax
add esi, edx
mov eax, dword [esp + 0x1c]
mov ecx, eax
sub ecx, edx
mov edx, eax
mov edi, dword [esp + 0x18]
mov ebx, dword [esp + 0x24]
cmp edx, 4
jae 0x402d20
jmp 0x402d6b
mov esi, eax
jmp 0x402d6b
mov ecx, edx
mov esi, eax
cmp edx, 4
jb 0x402d6b
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 0x10]
lea edx, [eax + 1]
mov dword [esp + 0x10], edx
movzx eax, byte [eax]
mov byte [esi], al
mov eax, dword [esp + 0x10]
lea edx, [eax + 1]
mov dword [esp + 0x10], edx
movzx eax, byte [eax]
mov byte [esi + 1], al
mov eax, dword [esp + 0x10]
lea edx, [eax + 1]
mov dword [esp + 0x10], edx
movzx eax, byte [eax]
mov byte [esi + 2], al
mov eax, dword [esp + 0x10]
lea edx, [eax + 1]
mov dword [esp + 0x10], edx
movzx eax, byte [eax]
mov byte [esi + 3], al
add esi, 4
add ecx, 0xfffffffc
jne 0x402d20
cmp dword [ebp + 8], 0
je 0x402c50
mov eax, esi
sub eax, edi
cmp eax, 0x1ff
jl 0x402c50
add dword [esp + 0x4c], eax
push eax
push dword [ebp + 0xc]
push edi
call dword [ebp + 8]
add esp, 0xc
test eax, eax
je 0x4036cf
mov esi, eax
mov edi, eax
jmp 0x402c50
mov dword [esp + 0x18], edi
mov eax, dword [esp + 0x14]
mov ecx, eax
shr ecx, 0x18
mov dword [esp + 0x1c], ecx
xor edi, edi
test byte [esp + 4], 0x40
je 0x402dd4
and eax, 0xffffff
add eax, dword [esp + 8]
mov edi, dword [esp + 0x1c]
lea ecx, [edi + 1]
xor edx, edx
div ecx
sub edi, edx
cmp dword [esp + 8], 0
jle 0x403680
mov edx, dword [esp + 8]
jmp 0x402e04
mov edx, dword [esp + 8]
sub edx, dword [esp + 0x14]
test edx, edx
mov ebx, dword [esp + 0x24]
jle 0x402f93
mov ebx, edx
cmp dword [ebp + 8], 0
mov ecx, dword [esp + 4]
je 0x402e23
mov eax, dword [esp + 0x18]
sub eax, esi
add eax, 0x200
mov ebx, edx
cmp edx, eax
jl 0x402e23
mov ebx, eax
test cl, 0x40
mov dword [esp + 8], edx
mov dword [esp + 0x14], ebx
jne 0x402e8d
test ebx, ebx
je 0x402e65
mov eax, esi
and eax, 3
je 0x402e65
mov ecx, esi
not ecx
and ecx, 3
dec ebx
cmp ecx, ebx
jb 0x402e49
mov ecx, ebx
mov dword [esp + 0x2c], ecx
lea eax, [ecx + 1]
push eax
push 0x30
push esi
call fcn.0040c6b0
add esp, 0xc
mov eax, dword [esp + 0x2c]
add esi, eax
inc esi
sub ebx, eax
cmp ebx, 4
jl 0x402e8d
nop
nop
nop
nop
nop
nop
mov dword [esi], 0x30303030
add esi, 4
mov eax, ebx
not eax
and eax, 4
and ebx, 0x7ffffffb
sub ebx, eax
cmp ebx, 3
jg 0x402e70
test ebx, ebx
je 0x402ed5
test bl, 1
jne 0x402ea0
mov eax, ebx
jmp 0x402ecc
mov al, 0x30
test byte [esp + 4], 0x40
je 0x402ec6
cmp edi, dword [esp + 0x1c]
jne 0x402ec5
movzx eax, byte [0x44a001]
mov ecx, eax
add cl, al
and cl, 0xec
sub al, cl
add al, 0xf6
xor edi, edi
jmp 0x402ec6
inc edi
mov byte [esi], al
inc esi
lea eax, [ebx - 1]
cmp ebx, 1
mov ebx, dword [esp + 4]
jne 0x402f50
cmp dword [ebp + 8], 0
je 0x402df0
mov eax, esi
mov ebx, dword [esp + 0x18]
sub eax, ebx
mov ecx, eax
and ecx, 1
mov edx, eax
xor edx, 1
lea ecx, [edx + ecx*2]
cmp ecx, 0x200
jl 0x402df0
add dword [esp + 0x4c], eax
push eax
push dword [ebp + 0xc]
push ebx
call dword [ebp + 8]
add esp, 0xc
test eax, eax
je 0x4036cf
mov esi, eax
mov dword [esp + 0x18], eax
jmp 0x402df0
movzx ecx, byte [0x44a001]
mov edx, ecx
add dl, cl
and dl, 0xec
sub cl, dl
add cl, 0xf6
xor edi, edi
mov byte [esi + 1], cl
add esi, 2
add eax, 0xfffffffe
je 0x402ed5
mov cl, 0x30
test bl, 0x40
je 0x402f81
cmp edi, dword [esp + 0x1c]
jne 0x402f80
movzx edx, byte [0x44a001]
mov ch, dl
add ch, dl
and ch, 0xec
sub dl, ch
add dl, 0xf6
xor edi, edi
jmp 0x402f83
inc edi
mov dl, 0x30
mov byte [esi], dl
test bl, 0x40
je 0x402f45
cmp edi, dword [esp + 0x1c]
je 0x402f30
inc edi
jmp 0x402f45
movzx eax, byte [esp + 0x40]
mov edi, dword [esp + 0x18]
mov edx, dword [esp + 0xc]
lea ecx, [esp + 0x41]
mov dword [esp + 0x10], ecx
jmp 0x402fb9
mov edx, dword [esp + 0xc]
movzx eax, byte [esp + 0x40]
test al, al
je 0x4030dd
movsx ecx, al
mov eax, ecx
cmp dword [ebp + 8], 0
je 0x402fdb
mov eax, edi
sub eax, esi
add eax, 0x200
cmp eax, ecx
jl 0x402fdb
mov eax, ecx
sub cl, al
mov byte [esp + 0x40], cl
test eax, eax
je 0x40308b
mov ecx, eax
and ecx, 3
je 0x4030d0
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], edi
xor edx, edx
nop
nop
mov eax, esi
mov esi, dword [esp + 0x10]
lea edi, [esi + 1]
mov dword [esp + 0x10], edi
movzx ebx, byte [esi]
mov esi, eax
mov byte [eax + edx], bl
inc edx
cmp ecx, edx
jne 0x403000
add esi, edx
mov eax, dword [esp + 0x1c]
mov ecx, eax
sub ecx, edx
mov edi, dword [esp + 0x18]
mov ebx, dword [esp + 0x24]
cmp eax, 4
jb 0x40308b
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 0x10]
lea edx, [eax + 1]
mov dword [esp + 0x10], edx
movzx eax, byte [eax]
mov byte [esi], al
mov eax, dword [esp + 0x10]
lea edx, [eax + 1]
mov dword [esp + 0x10], edx
movzx eax, byte [eax]
mov byte [esi + 1], al
mov eax, dword [esp + 0x10]
lea edx, [eax + 1]
mov dword [esp + 0x10], edx
movzx eax, byte [eax]
mov byte [esi + 2], al
mov eax, dword [esp + 0x10]
lea edx, [eax + 1]
mov dword [esp + 0x10], edx
movzx eax, byte [eax]
mov byte [esi + 3], al
add esi, 4
add ecx, 0xfffffffc
jne 0x403040
cmp dword [ebp + 8], 0
je 0x402fb0
mov eax, esi
sub eax, edi
lea ecx, [eax + 1]
cmp ecx, 0x200
jl 0x402fb0
add dword [esp + 0x4c], eax
push eax
push dword [ebp + 0xc]
push edi
call dword [ebp + 8]
add esp, 0xc
test eax, eax
je 0x4036cf
mov esi, eax
mov edi, eax
jmp 0x402fb0
mov ecx, eax
cmp eax, 4
jae 0x403040
jmp 0x40308b
mov dword [esp + 0x18], edi
mov edi, dword [esp + 0x20]
test edi, edi
jmp 0x4030f8
mov edx, dword [esp + 0xc]
sub edi, dword [esp + 0x1c]
mov ecx, dword [esp]
je 0x4032ad
mov eax, dword [esp + 0x18]
sub eax, esi
add eax, 0x200
mov ecx, edi
cmp edi, eax
jl 0x403114
mov ecx, eax
cmp dword [ebp + 8], 0
jne 0x40311c
mov ecx, edi
cmp ecx, 4
mov dword [esp + 0x1c], ecx
jl 0x403170
lea eax, [ecx - 4]
mov dword [esp + 0xc], eax
shr eax, 2
inc eax
and eax, 7
je 0x403174
shl eax, 2
xor ebx, ebx
nop
nop
nop
nop
nop
nop
mov ecx, dword [edx + ebx]
mov dword [esi + ebx], ecx
add ebx, 4
cmp eax, ebx
jne 0x403140
add esi, ebx
mov ecx, dword [esp + 0x1c]
sub ecx, ebx
add edx, ebx
mov eax, ecx
mov ebx, dword [esp + 0x24]
cmp dword [esp + 0xc], 0x1c
jae 0x403180
jmp 0x4031c1
mov eax, ecx
jmp 0x4031c1
cmp dword [esp + 0xc], 0x1c
jb 0x4031c1
nop
nop
nop
nop
nop
mov eax, dword [edx]
mov dword [esi], eax
mov eax, dword [edx + 4]
mov dword [esi + 4], eax
mov eax, dword [edx + 8]
mov dword [esi + 8], eax
mov eax, dword [edx + 0xc]
mov dword [esi + 0xc], eax
mov eax, dword [edx + 0x10]
mov dword [esi + 0x10], eax
mov eax, dword [edx + 0x14]
mov dword [esi + 0x14], eax
mov eax, dword [edx + 0x18]
mov dword [esi + 0x18], eax
mov eax, dword [edx + 0x1c]
mov dword [esi + 0x1c], eax
add esi, 0x20
add edx, 0x20
lea eax, [ecx - 0x20]
add ecx, 0xffffffdc
cmp ecx, 0xfffffff8
mov ecx, eax
jb 0x403180
test eax, eax
je 0x403251
mov ecx, eax
and ecx, 7
je 0x4032a0
mov dword [esp + 0xc], edi
mov edi, edx
xor edx, edx
nop
nop
nop
nop
movzx ebx, byte [edi + edx]
mov byte [esi + edx], bl
inc edx
cmp ecx, edx
jne 0x4031e0
add esi, edx
mov ecx, eax
sub ecx, edx
add edi, edx
mov ebx, dword [esp + 0x24]
mov edx, edi
mov edi, dword [esp + 0xc]
cmp eax, 8
jb 0x403251
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx eax, byte [edx]
mov byte [esi], al
movzx eax, byte [edx + 1]
mov byte [esi + 1], al
movzx eax, byte [edx + 2]
mov byte [esi + 2], al
movzx eax, byte [edx + 3]
mov byte [esi + 3], al
movzx eax, byte [edx + 4]
mov byte [esi + 4], al
movzx eax, byte [edx + 5]
mov byte [esi + 5], al
movzx eax, byte [edx + 6]
mov byte [esi + 6], al
movzx eax, byte [edx + 7]
add edx, 8
mov byte [esi + 7], al
add esi, 8
add ecx, 0xfffffff8
jne 0x403210
cmp dword [ebp + 8], 0
je 0x4030f4
mov dword [esp + 0xc], edx
mov eax, esi
mov edx, dword [esp + 0x18]
sub eax, edx
lea ecx, [eax + 1]
cmp ecx, 0x200
jl 0x4030f0
add dword [esp + 0x4c], eax
push eax
push dword [ebp + 0xc]
push edx
call dword [ebp + 8]
add esp, 0xc
test eax, eax
je 0x4036cf
mov esi, eax
mov dword [esp + 0x18], eax
jmp 0x4030f0
mov ecx, eax
cmp eax, 8
jae 0x403210
jmp 0x403251
test ecx, ecx
mov edi, dword [esp + 0x18]
jne 0x403418
lea eax, [esp + 0x35]
mov dword [esp + 0x10], eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx eax, byte [esp + 0x34]
test al, al
je 0x403541
movsx ecx, al
mov eax, ecx
cmp dword [ebp + 8], 0
je 0x403303
mov edx, esi
sub edx, edi
mov eax, edx
not eax
and edx, 0xfffffdff
and eax, 0x200
sub eax, edx
cmp eax, ecx
jl 0x403303
mov eax, ecx
sub cl, al
mov byte [esp + 0x34], cl
test eax, eax
je 0x4033bb
mov ecx, eax
and ecx, 3
je 0x403400
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], edi
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, esi
mov esi, dword [esp + 0x10]
lea edi, [esi + 1]
mov dword [esp + 0x10], edi
movzx ebx, byte [esi]
mov esi, eax
mov byte [eax + edx], bl
inc edx
cmp ecx, edx
jne 0x403330
add esi, edx
mov eax, dword [esp + 0x1c]
mov ecx, eax
sub ecx, edx
mov edi, dword [esp + 0x18]
mov ebx, dword [esp + 0x24]
cmp eax, 4
jb 0x4033bb
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 0x10]
lea edx, [eax + 1]
mov dword [esp + 0x10], edx
movzx eax, byte [eax]
mov byte [esi], al
mov eax, dword [esp + 0x10]
lea edx, [eax + 1]
mov dword [esp + 0x10], edx
movzx eax, byte [eax]
mov byte [esi + 1], al
mov eax, dword [esp + 0x10]
lea edx, [eax + 1]
mov dword [esp + 0x10], edx
movzx eax, byte [eax]
mov byte [esi + 2], al
mov eax, dword [esp + 0x10]
lea edx, [eax + 1]
mov dword [esp + 0x10], edx
movzx eax, byte [eax]
mov byte [esi + 3], al
add esi, 4
add ecx, 0xfffffffc
jne 0x403370
cmp dword [ebp + 8], 0
je 0x4032d0
mov eax, esi
sub eax, edi
cmp eax, 0x1ff
jl 0x4032d0
add dword [esp + 0x4c], eax
push eax
push dword [ebp + 0xc]
push edi
call dword [ebp + 8]
add esp, 0xc
test eax, eax
je 0x4036cf
mov esi, eax
mov edi, eax
jmp 0x4032d0
mov ecx, eax
cmp eax, 4
jae 0x403370
jmp 0x4033bb
sub ecx, edx
je 0x4032b9
mov eax, edi
sub eax, esi
add eax, 0x200
mov edx, ecx
cmp ecx, eax
jl 0x403429
mov edx, eax
cmp dword [ebp + 8], 0
jne 0x403431
mov edx, ecx
test edx, edx
mov dword [esp], ecx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x18], edi
je 0x4034b0
mov eax, esi
and eax, 3
je 0x4034b0
mov ecx, esi
mov ebx, esi
not ebx
and ebx, 3
lea esi, [edx - 1]
cmp ebx, esi
jb 0x403459
mov ebx, esi
lea eax, [ebx + 1]
push eax
push 0x30
mov edi, ecx
push ecx
call fcn.0040c6b0
add esp, 0xc
lea ecx, [ebx + edi]
inc ecx
sub esi, ebx
mov edi, dword [esp + 0x18]
mov ebx, dword [esp + 0x24]
mov edx, dword [esp + 0x1c]
cmp esi, 4
jge 0x4034b9
test esi, esi
je 0x4034fc
push esi
push 0x30
mov ebx, edi
mov edi, ecx
push ecx
call fcn.0040c6b0
mov edx, dword [esp + 0x28]
add esp, 0xc
add edi, esi
mov esi, edi
mov edi, ebx
mov ebx, dword [esp + 0x24]
jmp 0x4034fe
mov ecx, esi
mov esi, edx
cmp esi, 4
jl 0x403481
mov eax, esi
cmp esi, 7
jl 0x4034c5
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, ecx
push ecx
call fcn.0040c6b0
add esp, 0xc
lea ecx, [edi + ebx]
add ecx, 4
sub esi, edi
add esi, 0xfffffffc
mov edi, dword [esp + 0x18]
mov ebx, dword [esp + 0x24]
mov edx, dword [esp + 0x1c]
test esi, esi
jne 0x403485
mov esi, ecx
cmp dword [ebp + 8], 0
mov ecx, dword [esp]
je 0x403410
mov eax, esi
sub eax, edi
cmp eax, 0x1ff
jl 0x403410
add dword [esp + 0x4c], eax
push eax
push dword [ebp + 0xc]
push edi
call dword [ebp + 8]
add esp, 0xc
test eax, eax
je 0x4036cf
mov esi, eax
mov edi, eax
mov ecx, dword [esp]
mov edx, dword [esp + 0x1c]
jmp 0x403410
test byte [esp + 4], 1
je 0x403555
cmp dword [esp + 0x30], 0
jle 0x403555
mov eax, dword [esp + 0x30]
jne 0x403570
inc ebx
jmp 0x40103b
mov esi, eax
mov edi, eax
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x30]
sub eax, ecx
je 0x403555
mov dword [esp + 0x30], eax
mov edx, eax
cmp dword [ebp + 8], 0
je 0x403591
mov eax, edi
sub eax, esi
add eax, 0x200
mov ecx, dword [esp + 0x30]
mov edx, ecx
cmp ecx, eax
jl 0x403591
mov edx, eax
test edx, edx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x18], edi
je 0x403600
mov eax, esi
and eax, 3
je 0x403600
mov ecx, esi
mov ebx, esi
not ebx
and ebx, 3
lea esi, [edx - 1]
cmp ebx, esi
jb 0x4035b6
mov ebx, esi
lea eax, [ebx + 1]
push eax
push 0x20
mov edi, ecx
push ecx
call fcn.0040c6b0
add esp, 0xc
sub esi, ebx
lea ecx, [ebx + edi]
inc ecx
mov edi, dword [esp + 0x18]
mov ebx, dword [esp + 0x24]
cmp esi, 4
jge 0x403609
test esi, esi
je 0x403648
push esi
push 0x20
mov ebx, edi
mov edi, ecx
push ecx
call fcn.0040c6b0
add esp, 0xc
add edi, esi
mov esi, edi
mov edi, ebx
mov ebx, dword [esp + 0x24]
jmp 0x40364a
mov ecx, esi
mov esi, edx
cmp esi, 4
jl 0x4035da
mov eax, esi
cmp esi, 7
jl 0x403615
mov eax, 7
neg eax
lea edi, [esi + eax]
add edi, 3
and edi, 0xfffffffc
lea eax, [edi + 4]
push eax
push 0x20
mov ebx, ecx
push ecx
call fcn.0040c6b0
add esp, 0xc
lea ecx, [edi + ebx]
add ecx, 4
sub esi, edi
add esi, 0xfffffffc
mov edi, dword [esp + 0x18]
mov ebx, dword [esp + 0x24]
test esi, esi
jne 0x4035de
mov esi, ecx
mov ecx, dword [esp + 0x1c]
cmp dword [ebp + 8], 0
je 0x403568
mov eax, esi
sub eax, edi
cmp eax, 0x1ff
jl 0x403568
add dword [esp + 0x4c], eax
push eax
push dword [ebp + 0xc]
push edi
call dword [ebp + 8]
add esp, 0xc
test eax, eax
jne 0x403560
jmp 0x4036cf
lea eax, [esp + 0x41]
mov dword [esp + 0x10], eax
mov edx, dword [esp + 0xc]
jmp 0x4030e1
fstp st(1)
fdivp st(1)
or dword [esp + 4], 0x4000000
jmp 0x4021a6
cmp dword [ebp + 8], 0
je 0x4036d5
mov eax, esi
sub eax, edi
lea ecx, [eax + 0x1ff]
cmp ecx, 0x200
jl 0x4036d8
add dword [esp + 0x4c], eax
push eax
push dword [ebp + 0xc]
push edi
call dword [ebp + 8]
add esp, 0xc
mov esi, eax
mov edi, eax
jmp 0x4036d8
xor esi, esi
xor edi, edi
jmp 0x4036d8
mov byte [esi], 0
mov eax, dword [esp + 0x4c]
add eax, esi
sub eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret