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 dword [esp + 0x1c], esi
jmp 0x40103d
mov esi, eax
movzx eax, byte [ebx]
mov dword [esp + 0x1c], esi
mov byte [esi], al
inc esi
inc ebx
test bl, 3
mov dword [esp + 0x24], esi
je 0x401050
movzx eax, byte [ebx]
jmp 0x40106f
mov eax, dword [ebx]
mov ecx, eax
xor ecx, 0xdadadada
add ecx, 0x1010101
mov edx, eax
or edx, 0x7f7f7f7f
or ecx, edx
cmp ecx, 0xffffffff
je 0x4010b2
cmp al, 0x25
je 0x401115
mov esi, dword [esp + 0x24]
test al, al
je 0x403682
cmp dword [ebp + 8], 0
je 0x401039
mov ecx, esi
sub ecx, dword [esp + 0x1c]
cmp ecx, 0x1ff
jl 0x401039
add dword [esp + 0x4c], ecx
push ecx
push dword [ebp + 0xc]
push dword [esp + 0x24]
call dword [ebp + 8]
add esp, 0xc
test eax, eax
jne 0x401030
jmp 0x4036b6
mov ecx, dword [esp + 0x1c]
sub ecx, esi
add ecx, 0x200
jmp 0x4010ef
mov dword [edx], eax
add edx, 4
mov dword [esp + 0x24], edx
mov eax, dword [ebx + 4]
add ebx, 4
mov esi, eax
xor esi, 0xdadadada
add esi, 0x1010101
mov edx, eax
or edx, 0x7f7f7f7f
or esi, edx
add ecx, 0xfffffffc
cmp esi, 0xffffffff
jne 0x40106f
mov esi, 0x1010100
sub esi, eax
or esi, edx
cmp esi, 0xffffffff
jne 0x401077
cmp dword [ebp + 8], 0
mov edx, dword [esp + 0x24]
je 0x4010c0
cmp ecx, 4
jge 0x4010c0
jmp 0x40106f
add ebx, 2
mov ecx, ebx
xor ebx, ebx
mov esi, dword [esp + 0x24]
jmp 0x401130
mov eax, ebx
not eax
or eax, 0xfffffffe
add ebx, eax
add ebx, 2
inc ecx
nop
movzx eax, byte [ecx - 1]
lea edx, [eax - 0x20]
cmp edx, 0x3f
ja case.0x40113c.33
jmp dword [edx*4 + 0x44b564]
or ebx, 4
inc ecx
jmp 0x401130
or ebx, 8
inc ecx
jmp 0x401130
mov eax, ebx
xor eax, 0x400
add eax, ebx
and ebx, 0xfffffbff
sub eax, ebx
inc ecx
mov ebx, eax
jmp 0x401130
or ebx, 0x40
inc ecx
jmp 0x401130
test ebx, 0x100
jne 0x401182
or ebx, 0x100
inc ecx
jmp 0x401130
or ebx, 2
inc ecx
jmp 0x401130
test ebx, 0x800
jne 0x401193
or ebx, 0x800
inc ecx
jmp 0x401130
or ebx, 0x1000
inc ecx
jmp 0x401130
or ebx, 0x10
movzx eax, byte [ecx]
jmp 0x4011a5
dec ecx
mov dword [esp + 0xc], ebx
cmp al, 0x2a
jne 0x4011c1
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 0x4011eb
mov edx, eax
add dl, 0xd0
xor ebx, ebx
cmp dl, 9
ja 0x4011eb
xor ebx, ebx
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 0x4011d0
mov dword [esp + 8], 0xffffffff
cmp al, 0x2e
jne 0x40124f
movzx eax, byte [ecx + 1]
cmp al, 0x2a
jne 0x401219
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 0x40124f
inc ecx
mov edx, eax
add dl, 0xd0
mov dword [esp + 8], 0
cmp dl, 9
ja 0x40124f
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 0x401230
mov dword [esp + 8], edi
movzx eax, al
add eax, 0xffffffb7
cmp eax, 0x31
mov dword [esp + 0x34], ebx
ja case.0x40125e.74
jmp dword [eax*4 + 0x44b664]
inc ecx
movzx edx, byte [ecx]
mov ebx, ecx
movzx eax, dl
add eax, 0xffffffbf
cmp eax, 0x37
mov dword [esp + 0x2c], ebx
mov ecx, dword [esp + 8]
ja case.0x401282.67
jmp dword [eax*4 + 0x44b72c]
test byte [esp + 0xc], 0x20
jne 0x401712
mov eax, dword [esp + 0x28]
mov esi, dword [eax]
add eax, 4
mov dword [esp + 0x28], eax
mov dword [esp + 0x18], 0
cmp dl, 0x75
je 0x401d18
test esi, esi
jns 0x401d18
neg esi
mov eax, esi
mov edx, dword [esp + 0xc]
or edx, 0x80
jmp 0x401d30
movzx edx, byte [ecx + 1]
cmp dl, 0x6c
jne 0x40174f
or dword [esp + 0xc], 0x20
add ecx, 2
jmp case.0x40125e.74
lea ebx, [ecx + 1]
movzx edx, byte [ecx + 1]
cmp edx, 0x33
je 0x401b74
cmp edx, 0x36
jne 0x40126b
cmp byte [ecx + 2], 0x34
jne 0x401b7e
or dword [esp + 0xc], 0x20
add ecx, 3
jmp case.0x40125e.74
cmp byte [ecx + 1], 0x68
je 0x401755
inc ecx
or dword [esp + 0xc], 0x200
jmp case.0x40125e.74
mov esi, str.0123456789ABCDEFXP
cmp dl, 0x45
je 0x40133b
mov esi, str.0123456789abcdefxp
mov eax, dword [esp + 0x28]
fld qword [eax]
mov eax, 6
cmp ecx, 0xffffffff
je 0x40134d
mov eax, ecx
mov dword [esp + 0x14], eax
or eax, 0x80000000
sub esp, 0x18
mov dword [esp + 0x10], eax
fstp qword [esp + 8]
lea eax, [esp + 0x50]
mov dword [esp + 4], eax
lea eax, [esp + 0x7c]
mov dword [esp], eax
lea ecx, [esp + 0x28]
lea edx, [esp + 0x38]
call fcn.004036e0
add esp, 0x18
test eax, eax
je 0x40138c
or dword [esp + 0xc], 0x80
add dword [esp + 0x28], 8
mov byte [esp + 0x3c], 0
mov byte [esp + 0x44], 0
mov edx, dword [esp + 0xc]
mov ecx, edx
xor ecx, 0xffffff7f
or edx, 0x80
mov al, 0x2d
test edx, ecx
jne 0x4013c5
mov al, 0x20
test byte [esp + 0xc], 4
jne 0x4013c5
mov al, 0x2b
test byte [esp + 0xc], 2
je 0x4013ce
mov byte [esp + 0x44], 1
mov byte [esp + 0x45], al
mov edi, dword [esp + 0x38]
mov dword [esp + 0x18], 0
mov ecx, dword [esp + 0x10]
cmp edi, 0x7000
je 0x402a62
mov dword [esp + 0x18], esi
mov dword [esp + 4], ecx
movzx ecx, byte [ecx]
mov byte [esp + 0xa4], cl
lea ecx, [esp + 0xa5]
mov esi, dword [esp + 0x14]
test esi, esi
je 0x401430
movzx ecx, byte [section..data]
mov edx, ecx
add dl, cl
and dl, 0x50
sub cl, dl
add cl, 0xa8
mov byte [esp + 0xa5], cl
lea ecx, [esp + 0xa6]
mov esi, dword [esp + 0x14]
mov dword [esp + 8], ecx
mov eax, dword [esp + 0x20]
lea edx, [eax - 1]
cmp edx, esi
jbe 0x401446
lea eax, [esi + 1]
mov dword [esp + 0x20], eax
cmp eax, 2
mov dword [esp + 0x30], eax
jb 0x401502
mov ecx, esi
cmp esi, edx
jb 0x40145b
mov ecx, edx
lea esi, [ecx - 1]
mov edx, 1
cmp esi, 7
jb 0x4014d9
mov dword [esp + 0x50], edi
mov esi, ecx
and esi, 0xfffffff8
xor edx, edx
mov edi, dword [esp + 4]
mov eax, dword [esp + 8]
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 0x401480
add eax, edx
mov dword [esp + 8], eax
inc edx
mov edi, dword [esp + 0x50]
and ecx, 7
je 0x401502
mov esi, dword [esp + 4]
add esi, edx
xor edx, edx
mov eax, dword [esp + 8]
nop
nop
nop
nop
nop
nop
movzx ebx, byte [esi + edx]
mov byte [eax + edx], bl
inc edx
cmp ecx, edx
jne 0x4014f0
add eax, edx
mov dword [esp + 8], eax
mov eax, dword [esp + 0x18]
movzx ecx, byte [eax + 0xe]
mov byte [esp + 0x3d], cl
test edi, edi
jle 0x401ff4
dec edi
mov byte [esp + 0x3e], 0x2b
mov eax, edi
jmp 0x402000
mov eax, str.0123456789ABCDEFXP
mov dword [esp + 0x50], edx
cmp dl, 0x41
je 0x401536
mov eax, str.0123456789abcdefxp
mov dword [esp + 0x18], eax
mov edi, 6
cmp ecx, 0xffffffff
mov edx, dword [esp + 0xc]
je 0x40154a
mov edi, ecx
mov eax, dword [esp + 0x28]
mov ebx, dword [eax + 4]
mov ecx, edx
or ecx, 0x80
mov eax, ecx
mov esi, ebx
test ebx, ebx
js 0x401563
mov eax, edx
mov ebx, eax
mov eax, dword [esp + 0x28]
mov eax, dword [eax]
mov dword [esp + 8], eax
mov edx, ebx
xor edx, 0xffffff7f
mov al, 0x2d
test edx, ecx
mov dword [esp + 0x30], edi
jne 0x4016cc
mov al, 0x20
test bl, 4
jne 0x4016cc
mov al, 0x2b
test bl, 2
jne 0x4016cc
mov dword [esp + 4], 0
jmp 0x4016d6
mov dword [esp + 0x14], str.0123456789ABCDEFXP
cmp dl, 0x42
je 0x4015bd
mov dword [esp + 0x14], str.0123456789abcdefxp
mov byte [esp + 0x44], 0
test byte [esp + 0xc], 8
je 0x4015df
cmp dl, 0x42
setne al
mov word [esp + 0x44], 0x3002
shl al, 5
or al, 0x42
mov byte [esp + 0x46], al
mov dword [esp + 0x20], 0x180
mov ecx, 1
test byte [esp + 0xc], 0x20
je 0x4017d6
mov edx, dword [esp + 0x28]
mov edi, dword [edx]
mov esi, dword [edx + 4]
add edx, 8
mov dword [esp + 0x28], edx
jmp 0x4017e5
mov esi, str.0123456789ABCDEFXP
cmp dl, 0x47
je 0x40161b
mov esi, str.0123456789abcdefxp
mov eax, dword [esp + 0x28]
fld qword [eax]
cmp ecx, 1
mov eax, ecx
adc eax, 0
mov edi, 6
cmp ecx, 0xffffffff
je 0x401635
mov edi, eax
lea eax, [edi - 1]
or eax, 0x80000000
sub esp, 0x18
fstp qword [esp + 8]
lea ecx, [esp + 0x50]
mov dword [esp + 4], ecx
lea ecx, [esp + 0x7c]
mov dword [esp], ecx
mov dword [esp + 0x10], eax
lea ecx, [esp + 0x28]
lea edx, [esp + 0x38]
call fcn.004036e0
add esp, 0x18
test eax, eax
je 0x401673
or dword [esp + 0xc], 0x80
mov ecx, dword [esp + 0x20]
cmp ecx, edi
jb 0x40167d
mov ecx, edi
mov dword [esp + 0x18], esi
mov eax, ecx
cmp ecx, 2
jb 0x401765
mov ecx, dword [esp + 0x10]
mov dword [esp + 4], ecx
mov ecx, edi
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov edx, dword [esp + 4]
cmp byte [edx + eax - 1], 0x30
jne 0x4020d6
mov esi, eax
lea edx, [ecx - 1]
dec esi
mov eax, esi
cmp esi, 2
jb 0x4020d8
cmp ecx, 1
mov ecx, edx
jne 0x4016a0
jmp 0x4020d8
mov byte [esp + 0x45], al
mov al, 1
mov dword [esp + 4], eax
mov eax, esi
and esi, 0xfffff
shr eax, 0x14
and eax, 0x7ff
mov edi, dword [esp + 8]
je 0x401ba1
add eax, 0xfffffc01
mov dword [esp + 0x54], eax
mov eax, 0xffffffff
add edi, eax
mov eax, 0xfffff
adc esi, eax
add edi, 1
adc esi, 0
jmp 0x401bba
mov ecx, dword [esp + 0x28]
lea edi, [ecx + 8]
mov eax, dword [ecx]
mov esi, dword [ecx + 4]
cmp dl, 0x75
je 0x401d20
test esi, esi
jns 0x401d20
neg eax
mov ecx, 0
sbb ecx, esi
mov edx, dword [esp + 0xc]
or edx, 0x80
mov dword [esp + 0x18], ecx
mov dword [esp + 0x28], edi
jmp 0x401d2c
inc ecx
jmp 0x401269
add ecx, 2
or dword [esp + 0xc], 0x200
jmp case.0x40125e.74
mov edx, edi
jmp 0x4020d8
mov ecx, dword [esp + 0xc]
mov eax, ecx
xor eax, 0x10
or ecx, 0xffffffef
and ecx, eax
mov dword [esp + 0xc], ecx
mov ecx, 8
mov dword [esp + 8], ecx
mov dword [esp + 0x14], str.0123456789ABCDEFXP
cmp dl, 0x58
je 0x40179c
mov dword [esp + 0x14], str.0123456789abcdefxp
mov dword [esp + 0x20], 0x440
mov byte [esp + 0x44], 0
mov ecx, 4
test byte [esp + 0xc], 8
je 0x4017cb
cmp dl, 0x58
setne al
mov word [esp + 0x44], 0x3002
shl al, 5
or al, 0x58
mov byte [esp + 0x46], al
test byte [esp + 0xc], 0x20
jne 0x4015f7
mov edx, dword [esp + 0x28]
mov edi, dword [edx]
add edx, 4
mov dword [esp + 0x28], edx
xor esi, esi
mov dword [esp + 0x38], 0
mov byte [esp + 0x3c], 0
mov edx, edi
or edx, esi
jne 0x401808
mov byte [esp + 0x44], 0
cmp dword [esp + 8], 0
je 0x401b85
mov edx, 0xffffffff
shl edx, cl
not edx
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 [esp + 0x263], cl
mov cl, ah
shr esi, cl
test ah, 0x20
je 0x401838
mov edi, esi
xor esi, esi
mov dword [esp + 0x18], eax
mov ecx, edi
or ecx, esi
jne 0x40185e
mov ecx, 1
cmp dword [esp + 8], 2
jge 0x40185e
lea eax, [esp + 0x263]
mov dword [esp + 4], eax
jmp 0x40195b
mov edx, dword [esp + 0xc]
mov ecx, edx
xor ecx, 0xffffffbf
or edx, 0x40
and edx, ecx
mov dword [esp + 0x30], edx
lea ecx, [esp + 0x263]
mov dword [esp + 4], ecx
lea edx, [esp + 0x264]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [esp + 0x30], 0
je 0x4018c0
mov ebx, edi
mov edi, dword [esp + 0x18]
inc edi
mov dword [esp + 0x20], edi
mov ecx, edi
shr ecx, 4
xor ecx, edi
test cl, 0xf
je 0x4018d0
mov edx, dword [esp + 4]
mov eax, edi
jmp 0x4018ef
mov edx, dword [esp + 4]
mov eax, dword [esp + 0x18]
jmp 0x4018f1
mov ecx, edi
xor ecx, 0xf
or edi, 0xfffffff0
and edi, ecx
mov dword [esp + 0x20], edi
movzx ecx, byte [0x44e001]
mov byte [edx - 2], cl
add edx, 0xfffffffe
mov eax, dword [esp + 0x20]
mov edi, ebx
mov ebx, 0xffffffff
mov cl, ah
shl ebx, cl
not ebx
and ebx, edi
mov eax, dword [esp + 0x20]
mov cl, ah
shrd edi, esi, cl
mov ecx, dword [esp + 0x14]
movzx ecx, byte [ecx + ebx]
mov byte [edx - 1], cl
mov cl, ah
shr esi, cl
test ah, 0x20
mov dword [esp + 0x18], eax
je 0x401923
mov edi, esi
xor esi, esi
lea eax, [edx - 1]
mov dword [esp + 4], eax
mov ecx, edi
or ecx, esi
mov ebx, dword [esp + 0x2c]
jne 0x401890
lea ecx, [esp + 0x264]
mov eax, edx
mov edx, esi
mov esi, edi
mov edi, ebx
sub ecx, dword [esp + 4]
mov edi, esi
mov esi, edx
mov edx, eax
cmp ecx, dword [esp + 8]
jl 0x401890
mov edx, dword [esp + 0x18]
shl edx, 0x14
and edx, 0xf000000
add edx, ecx
mov dword [esp + 0x18], edx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x14], 0
mov edi, dword [esp + 8]
mov ecx, dword [esp + 4]
jmp 0x402a6c
mov byte [esp + 0x44], 0
test byte [esp + 0xc], 8
je 0x40199a
mov word [esp + 0x44], 0x3001
mov dword [esp + 0x20], 0x330
mov dword [esp + 0x14], str.0123456789ABCDEFXP
mov ecx, 3
test byte [esp + 0xc], 0x20
je 0x4017d6
jmp 0x4015f7
mov eax, dword [esp + 0x28]
mov eax, dword [eax]
mov edx, str.null
test eax, eax
je 0x4019d0
mov edx, eax
mov esi, ebx
mov dword [esp + 4], edx
mov edx, ecx
test ecx, ecx
jns 0x4019e1
mov edx, 0xffffffff
mov ebx, dword [esp + 4]
test bl, 3
je 0x402786
lea edi, [edx + ebx]
test ecx, ecx
je 0x402a39
cmp byte [ebx], 0
je 0x402a37
lea eax, [edx - 1]
inc ebx
mov ecx, ebx
test bl, 3
je 0x40364d
test eax, eax
mov ebx, esi
je 0x402928
cmp byte [ecx], 0
je 0x403658
lea eax, [edx - 2]
mov ecx, dword [esp + 4]
add ecx, 2
mov esi, ecx
test cl, 3
je 0x40365f
test eax, eax
je 0x402928
cmp byte [esi], 0
je 0x403668
lea eax, [edx - 3]
mov ecx, dword [esp + 4]
add ecx, 3
mov esi, ecx
test cl, 3
je 0x40365f
test eax, eax
je 0x402928
cmp byte [esi], 0
je 0x403668
add edx, 0xfffffffc
mov eax, dword [esp + 4]
add eax, 4
test al, 3
je 0x40278a
test edx, edx
je 0x401a88
mov edi, eax
mov ebx, dword [esp + 0x2c]
jmp 0x402928
mov byte [esp + 0x263], dl
mov dword [esp + 0x20], 1
mov byte [esp + 0x44], 0
mov byte [esp + 0x3c], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x18], 0
lea ecx, [esp + 0x263]
mov dword [esp + 0xc], 0
mov dword [esp + 0x14], 0
xor edi, edi
mov dword [esp + 0x34], 0
jmp 0x402a6c
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 + 0x44], 0
mov byte [esp + 0x3c], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x18], 0
lea ecx, [esp + 0x263]
jmp 0x402a62
mov eax, dword [esp + 0x28]
fld qword [eax]
add eax, 8
mov dword [esp + 0x28], eax
test dword [esp + 0xc], 0x100
jne 0x401efb
jmp 0x4021b2
mov eax, esi
not eax
mov ecx, dword [esp + 0x1c]
and eax, ecx
not ecx
and ecx, esi
sub ecx, eax
mov eax, ecx
mov edx, dword [esp + 0x4c]
and eax, edx
xor ecx, edx
lea eax, [ecx + eax*2]
mov edx, dword [esp + 0x28]
mov ecx, dword [edx]
mov dword [ecx], eax
add edx, 4
mov dword [esp + 0x28], edx
jmp 0x4033bf
cmp byte [ecx + 2], 0x32
je 0x402205
mov ecx, ebx
jmp case.0x40125e.74
mov dword [esp + 0x20], 0
mov dword [esp + 0x18], 0
lea ecx, [esp + 0x264]
jmp 0x402a62
xor eax, eax
mov ecx, edi
or ecx, esi
je 0x401bae
mov eax, 0xfffffc02
mov dword [esp + 0x54], eax
mov dword [esp + 0x38], eax
mov edi, dword [esp + 8]
shld esi, edi, 8
shl edi, 8
mov ecx, dword [esp + 0x30]
cmp ecx, 0xe
mov dword [esp + 0xc], ebx
jg 0x401c0d
mov edx, ecx
and edx, 0xfb
mov ebx, ecx
and ebx, 4
or ecx, 4
imul ecx, ebx
xor ebx, 4
imul ebx, edx
add ecx, ebx
xor ebx, ebx
mov eax, 0x8000000
shrd ebx, eax, cl
mov edx, 0x8000000
shr edx, cl
test cl, 0x20
je 0x401c03
mov ebx, edx
xor edx, edx
add edi, ebx
mov dword [esp + 8], edi
adc esi, edx
jmp 0x401c11
mov dword [esp + 8], edi
mov edx, dword [esp + 4]
movzx ecx, dl
lea eax, [esp + 0x44]
mov word [ecx + eax + 1], 0x7830
or dl, 2
mov byte [esp + 0x44], dl
mov ecx, esi
shr ecx, 0x1c
mov eax, dword [esp + 0x18]
movzx ecx, byte [eax + ecx]
mov byte [esp + 0xa4], cl
mov edi, dword [esp + 0x30]
test edi, edi
je 0x401d04
movzx ecx, byte [section..data]
xor cl, 0xa8
mov byte [esp + 0xa5], cl
lea eax, [esp + 0xa6]
mov dword [esp + 0x10], eax
mov ecx, edi
cmp edi, 0xd
jb 0x401c72
mov ecx, 0xd
mov eax, edi
sub eax, ecx
mov dword [esp + 0x14], eax
mov edx, dword [esp + 0x50]
jg 0x401c88
mov dword [esp + 0x14], 0
mov ebx, ecx
and ebx, 3
je 0x40220d
mov dword [esp + 4], ecx
xor edx, edx
mov ecx, dword [esp + 0x18]
mov edi, dword [esp + 8]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, esi
shr eax, 0x18
and eax, 0xf
movzx eax, byte [ecx + eax]
shld esi, edi, 4
mov byte [esp + edx + 0xa6], al
shl edi, 4
inc edx
cmp ebx, edx
jne 0x401cb0
mov dword [esp + 8], edi
lea eax, [esp + 0xa6]
lea ebx, [eax + edx]
mov ecx, dword [esp + 4]
sub ecx, edx
mov edx, dword [esp + 0x50]
mov edi, dword [esp + 0x30]
cmp edi, 4
jae 0x40221d
lea edi, [esp + 0xa6]
mov ecx, dword [esp + 0x14]
jmp 0x402295
lea ebx, [esp + 0xa5]
mov dword [esp + 0x10], ebx
xor ecx, ecx
mov edi, ebx
jmp 0x402291
mov eax, esi
mov edx, dword [esp + 0xc]
jmp 0x401d30
mov dword [esp + 0x18], esi
mov dword [esp + 0x28], edi
mov edx, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov dword [esp + 0xc], edx
test edx, 0x100
jne 0x401ec7
mov esi, 0x200
xor edi, edi
movzx ecx, byte [0x44e001]
mov byte [esp + 0x14], cl
mov ebx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp ebx, 0x5f5e100
mov ecx, dword [esp + 0x18]
mov eax, ecx
sbb eax, 0
jb 0x401da0
push 0
push 0x5f5e100
push ecx
push ebx
call fcn.0040c9f0
mov dword [esp + 0x18], edx
imul ecx, eax, 0x5f5e100
sub ebx, ecx
mov dword [esp + 0x30], eax
jmp 0x401db0
mov dword [esp + 0x30], 0
mov dword [esp + 0x18], 0
lea eax, [esp + 0x5c]
lea edx, [eax + esi]
test byte [esp + 0xc], 0x40
jne 0x401e96
mov dword [esp + 4], edx
mov dword [esp + 0x50], edi
nop
nop
nop
nop
nop
nop
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 0x401dd0
mov edi, dword [esp + 0x50]
mov edx, dword [esp + 4]
mov ebx, dword [esp + 0x30]
mov eax, ebx
or eax, dword [esp + 0x18]
je 0x401f46
lea eax, [esp + esi]
add eax, 0x64
cmp eax, edx
mov ecx, dword [esp + 0xc]
jne 0x401e55
jmp 0x401d60
inc edi
mov byte [esp + esi + 0x63], 0x30
dec esi
lea eax, [esp + esi]
add eax, 0x64
cmp eax, edx
je 0x401d60
test cl, 0x40
je 0x401e41
cmp edi, 3
jne 0x401e40
movzx eax, byte [esp + 0x14]
mov byte [esp + esi + 0x63], al
dec esi
dec edx
xor edi, edi
jmp 0x401e47
mov dword [esp + 4], 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, dword [esp + 4]
test ebx, ebx
je 0x401e18
test byte [esp + 0xc], 0x40
je 0x401e70
cmp edi, 3
je 0x401eb1
mov dword [esp + 4], edx
inc edi
jmp 0x401e74
movzx eax, byte [esp + 0x14]
mov byte [esp + esi + 0x63], al
dec esi
dec edx
xor edi, edi
test ebx, ebx
jne 0x401e9e
jmp 0x401e18
mov edx, 1
cmp ecx, 0xffffffff
mov esi, dword [esp + 0x18]
je 0x401ed7
mov edx, ecx
mov dword [esp + 8], 0
cmp eax, 0x400
mov ecx, esi
sbb ecx, 0
jb 0x401eef
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 + 0xc]
test ecx, 0x800
sete al
fld qword [eax*8 + 0x44b550]
cmp ecx, 0x3ffffff
ja 0x401fed
fld st(0)
fchs
fxch st(1)
fucom st(2)
fnstsw ax
sahf
jbe 0x40212d
fxch st(2)
fucom st(1)
fnstsw ax
sahf
fxch st(2)
jbe 0x40212d
fstp st(0)
fstp st(0)
jmp 0x4021b2
cmp byte [esp + esi + 0x64], 0x30
sete ch
cmp esi, 0x200
setne cl
mov byte [esp + 0x3c], 0
mov byte [esp + 0x44], 0
mov eax, dword [esp + 0xc]
mov ebx, eax
xor ebx, 0xffffff7f
or eax, 0x80
mov dl, 0x2d
test eax, ebx
jne 0x401f8a
mov dl, 0x20
test byte [esp + 0xc], 4
jne 0x401f8a
mov dl, 0x2b
test byte [esp + 0xc], 2
je 0x401f93
mov byte [esp + 0x44], 1
mov byte [esp + 0x45], dl
and cl, ch
movzx eax, cl
add esi, eax
lea ecx, [esp + esi]
add ecx, 0x64
lea edx, [esi - 0x200]
neg edx
mov dword [esp + 0x20], edx
cmp esi, 0x200
jne 0x401fc6
mov byte [ecx - 1], 0x30
dec ecx
mov dword [esp + 0x20], 1
mov edx, 1
mov ebx, dword [esp + 0x2c]
mov eax, dword [esp + 8]
test eax, eax
jg 0x401fd4
xor eax, eax
mov dword [esp + 0x14], 0
add edx, 0x3000000
mov dword [esp + 0x18], edx
mov edi, eax
jmp 0x402a6c
fstp st(0)
jmp 0x4021b2
mov byte [esp + 0x3e], 0x2d
mov eax, 1
sub eax, edi
cmp eax, 0x64
mov ebx, 4
sbb ebx, 0xffffffff
mov edi, eax
mov ecx, 0xcccccccd
mul ecx
shr edx, 2
and edx, 0xfffffffe
lea esi, [edx + edx*4]
mov eax, edi
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
mov eax, edi
sub eax, esi
mov esi, edx
shr esi, 0x1f
sar edx, 2
add edx, esi
add edx, edx
lea esi, [edx + edx*4]
mov edx, ecx
sub edx, esi
or al, 0x30
mov byte [esp + 0x3c], bl
mov byte [esp + ebx + 0x3c], al
mov eax, edx
and eax, 0x30
xor edx, 0x30
lea eax, [edx + eax*2]
mov byte [esp + ebx + 0x3b], al
cmp edi, 0x64
mov edx, 0x51eb851f
jb 0x4020b4
mov eax, edi
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
sar edx, 2
add edx, eax
add edx, edx
lea eax, [edx + edx*4]
mov edx, ecx
sub edx, eax
mov eax, edx
and eax, 0x30
xor edx, 0x30
lea eax, [edx + eax*2]
lea edx, [esp + 0x3c]
mov byte [ebx + edx - 2], al
mov eax, dword [esp + 0x14]
sub eax, dword [esp + 0x30]
inc eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x38], ecx
mov dword [esp + 0x18], 0x3000001
mov ebx, dword [esp + 0x2c]
jmp 0x402a20
mov edx, ecx
add dword [esp + 0x28], 8
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 0x38]
cmp ecx, 0xfffffffd
jl 0x402105
cmp ecx, edi
jg 0x402105
test ecx, ecx
jle 0x402414
sub eax, ecx
jg 0x4020fc
xor eax, eax
mov dword [esp + 0x14], eax
jmp 0x402420
cmp edx, eax
jle 0x402117
dec eax
mov dword [esp + 0x14], eax
mov esi, dword [esp + 0x18]
jmp 0x401391
xor eax, eax
sub edx, 1
mov esi, dword [esp + 0x18]
jb 0x402124
mov eax, edx
mov dword [esp + 0x14], eax
jmp 0x401391
fdiv st(2), st(0)
mov eax, dword [esp + 0xc]
lea ecx, [eax + 0x1000000]
cmp eax, 0x2ffffff
ja 0x4021aa
fucom st(2)
fnstsw ax
sahf
jbe 0x402152
fxch st(2)
fucom st(1)
fnstsw ax
sahf
fxch st(2)
ja 0x4021aa
fdiv st(2), st(0)
mov eax, dword [esp + 0xc]
lea ecx, [eax + 0x2000000]
cmp eax, 0x1ffffff
ja 0x4021aa
fucom st(2)
fnstsw ax
sahf
jbe 0x402177
fxch st(2)
fucom st(1)
fnstsw ax
sahf
fxch st(2)
ja 0x4021aa
fdiv st(2), st(0)
mov eax, dword [esp + 0xc]
lea ecx, [eax + 0x3000000]
cmp eax, 0xffffff
ja 0x4021aa
fucom st(2)
fnstsw ax
sahf
jbe 0x403671
fxch st(2)
fucom st(1)
fstp st(1)
fnstsw ax
sahf
fldz
fxch st(1)
fxch st(2)
jbe 0x403671
fstp st(0)
fstp st(0)
mov dword [esp + 0xc], ecx
mov ecx, 6
mov eax, dword [esp + 8]
cmp eax, 0xffffffff
je 0x4021c2
mov ecx, eax
sub esp, 0x18
fstp qword [esp + 8]
lea eax, [esp + 0x50]
mov dword [esp + 4], eax
lea eax, [esp + 0x7c]
mov dword [esp], eax
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x10], ecx
lea ecx, [esp + 0x28]
lea edx, [esp + 0x38]
call fcn.004036e0
add esp, 0x18
test eax, eax
je 0x402420
or dword [esp + 0xc], 0x80
jmp 0x402420
add ecx, 3
jmp case.0x40125e.74
lea ebx, [esp + 0xa6]
cmp edi, 4
jb 0x401cf4
mov edx, esi
mov edi, dword [esp + 8]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov dword [esp + 4], ecx
mov eax, esi
shr eax, 0x18
and eax, 0xf
mov ecx, dword [esp + 0x18]
movzx eax, byte [ecx + eax]
mov byte [ebx], al
mov eax, esi
shr eax, 0x14
and eax, 0xf
movzx eax, byte [ecx + eax]
mov byte [ebx + 1], al
mov eax, esi
shr eax, 0x10
and eax, 0xf
movzx eax, byte [ecx + eax]
mov byte [ebx + 2], al
shld edx, edi, 0x10
shl edi, 0x10
shr esi, 0xc
and esi, 0xf
movzx eax, byte [ecx + esi]
mov ecx, dword [esp + 4]
mov byte [ebx + 3], al
add ebx, 4
mov esi, edx
add ecx, 0xfffffffc
jne 0x402230
lea edi, [esp + 0xa6]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x50]
cmp dl, 0x41
setne al
shl al, 5
or al, 0x50
mov byte [esp + 0x3d], al
mov eax, dword [esp + 0x54]
test eax, eax
js 0x4022b3
mov byte [esp + 0x3e], 0x2b
jmp 0x4022ba
mov byte [esp + 0x3e], 0x2d
neg eax
cmp eax, 0x3e7
mov dword [esp + 0x14], ecx
ja 0x4022e0
cmp eax, 0x63
jbe 0x4023f0
mov dword [esp + 0x30], ebx
mov dword [esp + 8], edi
mov dword [esp + 4], 5
jmp 0x4022f0
mov dword [esp + 0x30], ebx
mov dword [esp + 8], edi
mov dword [esp + 4], 6
mov dword [esp + 0x18], 0
mov esi, eax
mov ecx, 0xcccccccd
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 + 4]
mov eax, edi
mov byte [esp + 0x3c], al
or bl, 0x30
mov byte [esp + edi + 0x3c], bl
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 + edi + 0x3b], cl
cmp byte [esp + 0x18], 0
mov ecx, 0x51eb851f
mov edi, dword [esp + 8]
mov ebx, dword [esp + 0x30]
jne 0x4028f1
mov eax, esi
imul ecx
mov ecx, edx
mov eax, edx
shr eax, 0x1f
sar ecx, 5
add ecx, eax
mov eax, ecx
mov edx, 0x66666667
imul edx
mov eax, edx
shr eax, 0x1f
sar edx, 2
add edx, eax
add edx, edx
lea eax, [edx + edx*4]
sub ecx, eax
add cl, 0x30
lea eax, [esp + 0x3c]
mov edx, dword [esp + 4]
mov byte [edx + eax - 2], cl
cmp esi, 0x3e8
jb 0x4028f1
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 + 0x3c]
mov edx, dword [esp + 4]
mov byte [edx + eax - 3], cl
jmp 0x4028f1
cmp eax, 9
jbe 0x4028e6
mov dword [esp + 0x30], ebx
mov dword [esp + 8], edi
mov dword [esp + 4], 4
mov cl, 1
mov dword [esp + 0x18], ecx
jmp 0x4022f8
cmp edx, eax
jl 0x40241a
mov edx, eax
sub edx, ecx
mov dword [esp + 0x14], edx
mov byte [esp + 0x3c], 0
mov byte [esp + 0x44], 0
mov edx, dword [esp + 0xc]
mov ecx, edx
xor ecx, 0xffffff7f
or edx, 0x80
mov al, 0x2d
test edx, ecx
jne 0x402454
mov al, 0x20
test byte [esp + 0xc], 4
jne 0x402454
mov al, 0x2b
test byte [esp + 0xc], 2
je 0x40245d
mov byte [esp + 0x44], 1
mov byte [esp + 0x45], al
mov ecx, dword [esp + 0x38]
cmp ecx, 0x7000
jne 0x40247a
mov dword [esp + 0x18], 0
mov ecx, dword [esp + 0x10]
jmp 0x402a62
test ecx, ecx
jle 0x40251a
mov dword [esp + 4], 0
test byte [esp + 0xc], 0x40
je 0x4024ac
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 + 4], esi
cmp ecx, dword [esp + 0x20]
jae 0x402599
xor eax, eax
lea ecx, [esp + 0xa4]
mov dword [esp + 0x18], ecx
jmp 0x4024eb
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
movzx ecx, byte [ecx + eax]
lea esi, [edx + 1]
mov dword [esp + 0x18], esi
mov byte [edx], cl
inc eax
mov ecx, dword [esp + 0x38]
cmp eax, ecx
jae 0x4025f8
test byte [esp + 0xc], 0x40
je 0x4024c9
mov ecx, dword [esp + 4]
inc ecx
cmp ecx, 4
jne 0x4024c5
mov ecx, dword [esp + 0xc]
and ecx, 0x40
shr ecx, 6
mov dword [esp + 4], ecx
movzx ecx, byte [0x44e001]
mov edx, dword [esp + 0x18]
mov byte [edx], cl
inc edx
jmp 0x4024cd
mov byte [esp + 0xa4], 0x30
lea edx, [esp + 0xa5]
cmp dword [esp + 0x14], 0
je 0x402547
movzx eax, byte [section..data]
xor al, 0xa8
mov byte [esp + 0xa5], al
lea edx, [esp + 0xa6]
neg ecx
mov eax, dword [esp + 0x14]
mov edi, eax
cmp eax, ecx
jl 0x402555
mov edi, ecx
test edi, edi
je 0x4027ce
mov eax, edx
and eax, 3
je 0x4027ce
mov esi, edx
not esi
and esi, 3
lea ebx, [edi - 1]
cmp esi, ebx
jb 0x402578
mov esi, ebx
lea eax, [esi + 1]
push eax
push 0x30
push edx
mov dword [esp + 0x14], edx
call fcn.0040cae0
mov edx, dword [esp + 0x14]
add esp, 0xc
add edx, esi
inc edx
sub ebx, esi
jmp 0x4027d0
xor eax, eax
mov esi, 0xffffffff
mov ebx, 1
lea edx, [esp + 0xa4]
jmp 0x4025e1
mov ecx, dword [esp + 0xc]
and ecx, 0x40
shr ecx, 6
mov dword [esp + 4], ecx
movzx ecx, byte [0x44e001]
mov byte [edx], cl
inc edx
mov edi, edx
mov ecx, dword [esp + 0x10]
movzx ecx, byte [ecx + ebx - 1]
mov byte [edx], cl
inc edx
inc eax
dec esi
inc ebx
cmp eax, dword [esp + 0x20]
jae 0x402696
test byte [esp + 0xc], 0x40
je 0x4025c6
mov ecx, dword [esp + 4]
inc ecx
cmp ecx, 4
je 0x4025ae
mov dword [esp + 4], ecx
jmp 0x4025c6
mov esi, dword [esp + 0x18]
mov dword [esp + 8], esi
cmp dword [esp + 0x14], 0
je 0x402628
movzx ecx, byte [section..data]
mov ch, cl
add ch, cl
and ch, 0x50
sub cl, ch
add cl, 0xa8
mov byte [edx + 1], cl
add edx, 2
mov ecx, dword [esp + 0x38]
mov dword [esp + 8], edx
mov edx, dword [esp + 0x20]
mov esi, edx
sub esi, ecx
cmp esi, dword [esp + 0x14]
jbe 0x402640
mov edx, dword [esp + 0x14]
add edx, ecx
mov dword [esp + 0x20], edx
cmp eax, edx
jae 0x40266c
mov esi, dword [esp + 8]
nop
nop
nop
nop
nop
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 0x402650
mov dword [esp + 8], esi
mov ecx, dword [esp + 0x38]
lea eax, [esp + 0xa4]
mov esi, dword [esp + 0x18]
sub esi, eax
add esi, 0x3000000
mov dword [esp + 0x18], esi
mov eax, dword [esp + 0x14]
sub eax, edx
add eax, ecx
mov ecx, eax
mov edx, dword [esp + 8]
jmp 0x4029a1
mov dword [esp + 0x18], edi
mov edi, dword [esp + 0x38]
mov dword [esp + 8], edi
sub edi, eax
mov ecx, dword [esp + 0x14]
jbe 0x40289b
test byte [esp + 0xc], 0x40
jne 0x40273c
cmp dword [esp + 8], eax
je 0x402719
mov eax, edx
and eax, 3
je 0x402719
mov ecx, 2
sub ecx, dword [esp + 0x18]
and ecx, 3
mov eax, dword [esp + 8]
sub eax, ebx
mov edi, ecx
mov dword [esp + 0x30], ecx
cmp ecx, eax
jb 0x4026e4
mov ecx, eax
mov edi, ecx
lea eax, [ecx + 1]
push eax
push 0x30
push edx
call fcn.0040cae0
add esp, 0xc
add esi, dword [esp + 8]
mov eax, dword [esp + 0x30]
cmp esi, eax
jb 0x402703
mov esi, eax
mov eax, dword [esp + 0x18]
lea edx, [eax + edi]
add edx, 2
mov edi, dword [esp + 8]
sub edi, esi
sub edi, ebx
mov ecx, dword [esp + 0x14]
cmp edi, 4
jb 0x40273c
mov esi, edi
and esi, 0xfffffffc
push esi
push 0x30
push edx
mov ebx, edx
call fcn.0040cae0
mov edx, ebx
mov ecx, dword [esp + 0x20]
add esp, 0xc
add edx, esi
and edi, 3
mov ebx, dword [esp + 0x2c]
test edi, edi
jne 0x402756
jmp 0x40289f
mov byte [edx], 0x30
dec edi
inc edx
test edi, edi
je 0x40289f
test byte [esp + 0xc], 0x40
je 0x402749
mov eax, dword [esp + 4]
inc eax
mov dword [esp + 4], eax
cmp eax, 4
jne 0x402749
movzx eax, byte [0x44e001]
mov byte [edx], al
mov dword [esp + 4], 0
inc edx
test edi, edi
jne 0x402756
jmp 0x40289f
mov eax, ebx
mov ebx, esi
mov esi, edx
mov dword [esp + 0x14], eax
mov edi, eax
mov ecx, esi
cmp esi, 4
jb 0x4028cb
mov ebx, dword [edi]
mov eax, ebx
not eax
mov esi, ebx
xor esi, 0x1010101
and ebx, 0xfefefefe
add ebx, ebx
sub ebx, esi
and ebx, eax
lea eax, [edi + 4]
lea esi, [ecx - 4]
test ebx, 0x80808080
mov ebx, dword [esp + 0x2c]
je 0x402790
jmp 0x4028cf
mov ebx, edi
cmp ebx, 4
jl 0x40280d
mov eax, ebx
cmp ebx, 7
jl 0x4027e1
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.0040cae0
mov edx, dword [esp + 0x14]
add esp, 0xc
add edx, esi
add edx, 4
sub ebx, esi
add ebx, 0xfffffffc
test ebx, ebx
je 0x402823
push ebx
push 0x30
push edx
mov esi, edx
call fcn.0040cae0
mov edx, esi
add esp, 0xc
add edx, ebx
mov esi, dword [esp + 0x20]
lea ecx, [esi + edi]
cmp ecx, dword [esp + 0x14]
mov ebx, dword [esp + 0x2c]
jle 0x40283e
mov esi, dword [esp + 0x14]
sub esi, edi
mov dword [esp + 0x20], esi
test esi, esi
mov dword [esp + 4], esi
je 0x40298f
mov eax, edx
mov edx, dword [esp + 0x14]
mov dword [esp + 8], edx
cmp edx, ecx
jl 0x40285c
mov dword [esp + 8], ecx
mov ecx, esi
and ecx, 3
je 0x402931
xor esi, esi
nop
nop
nop
nop
nop
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 0x402870
mov edx, eax
add edx, esi
mov eax, edx
mov ecx, dword [esp + 4]
sub ecx, esi
mov ebx, dword [esp + 0x2c]
jmp 0x402933
mov ebx, dword [esp + 0x2c]
mov esi, edx
lea eax, [esp + 0xa4]
sub edx, eax
add edx, 0x3000000
mov dword [esp + 0x18], edx
test ecx, ecx
je 0x402920
movzx eax, byte [section..data]
xor al, 0xa8
mov byte [esi], al
inc esi
mov edx, esi
jmp 0x4029a1
test ecx, ecx
je 0x402928
mov eax, dword [esp + 0x14]
add eax, edx
xor edx, edx
cmp byte [edi + edx], 0
je 0x402926
inc edx
cmp ecx, edx
jne 0x4028d7
mov edi, eax
jmp 0x402928
mov byte [esp + 0x3c], 3
or al, 0x30
mov byte [esp + 0x3f], al
add dword [esp + 0x28], 8
mov eax, ebx
sub eax, edi
mov dword [esp + 0x38], eax
lea eax, [esp + 0xa4]
sub ebx, eax
mov dword [esp + 0x20], ebx
xor edi, edi
mov dword [esp + 0x18], 0x3000001
mov ecx, eax
mov ebx, dword [esp + 0x2c]
jmp 0x402a6c
xor ecx, ecx
mov edx, esi
jmp 0x4029a1
add edi, edx
mov ecx, dword [esp + 4]
jmp 0x402a3d
mov ecx, esi
mov edx, edi
sub edx, dword [esp + 8]
cmp edx, 0xfffffffc
mov edx, eax
ja 0x40298f
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 0x402940
add edi, dword [esp + 4]
mov ecx, dword [esp + 0x14]
sub ecx, edi
mov dword [esp + 0x18], 0x3000001
mov dword [esp + 0x14], ecx
mov esi, dword [esp + 0xc]
test esi, 0x100
je 0x402a24
mov ecx, esi
and ecx, 0x400
sete byte [esp + 0x3c]
mov byte [esp + 0x3d], 0x20
cmp esi, 0x1000000
jb 0x402a24
mov dword [esp + 8], edx
mov edx, esi
shr edx, 0x18
cmp ecx, 1
mov eax, 0
adc al, 1
test esi, 0x800
jne 0x4029f9
movzx edx, byte [edx + str._kMGT]
shr ecx, 0xa
mov esi, 2
sub esi, ecx
jmp 0x402a18
shr ecx, 0xa
movzx edx, byte [edx + str._KMGT]
neg ecx
mov byte [esp + ecx + 0x3e], dl
test esi, 0x1000
jne 0x402a1c
inc al
movzx esi, al
mov dl, 0x69
mov byte [esp + esi + 0x3c], dl
mov byte [esp + 0x3c], al
mov edx, dword [esp + 8]
lea eax, [esp + 0xa4]
sub edx, eax
mov dword [esp + 0x20], edx
xor edi, edi
mov ecx, eax
jmp 0x402a6c
mov edi, ebx
mov ecx, ebx
mov ebx, esi
add dword [esp + 0x28], 4
sub edi, ecx
mov dword [esp + 0x20], edi
mov byte [esp + 0x44], 0
mov byte [esp + 0x3c], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
xor edi, edi
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x20]
cmp edi, ecx
jg 0x402a7a
mov edi, ecx
movsx eax, byte [esp + 0x44]
movsx esi, byte [esp + 0x3c]
mov edx, dword [esp + 0x14]
mov dword [esp + 8], edi
add edx, edi
add edx, eax
add edx, esi
mov esi, dword [esp + 0x34]
cmp esi, edx
jg 0x402a9c
mov esi, edx
sub esi, edx
mov dword [esp + 0x34], esi
sub dword [esp + 8], ecx
mov ecx, dword [esp + 0xc]
test cl, 1
mov esi, dword [esp + 0x24]
jne 0x402adc
test cl, 0x10
jne 0x402ac2
mov dword [esp + 0xc], 0
jmp 0x402adc
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 8]
cmp ecx, edx
jg 0x402ad0
mov ecx, edx
mov dword [esp + 8], ecx
mov dword [esp + 0x34], 0
mov edx, dword [esp + 4]
mov ecx, dword [esp + 0x34]
add ecx, dword [esp + 8]
je 0x40350d
test byte [esp + 0xc], 1
jne 0x402c5d
cmp dword [esp + 0x34], 0
jle 0x402c5d
mov eax, dword [esp + 0x34]
jmp 0x402b22
mov ebx, dword [esp + 0x2c]
mov eax, dword [esp + 0x34]
sub eax, edi
test eax, eax
jle 0x402c50
mov edx, esi
not esi
mov ecx, dword [esp + 0x1c]
not ecx
mov dword [esp + 0x24], ecx
mov edi, eax
cmp dword [ebp + 8], 0
mov ebx, eax
je 0x402b55
mov eax, dword [esp + 0x1c]
and eax, esi
mov ecx, dword [esp + 0x24]
and ecx, edx
sub eax, ecx
add eax, 0x200
mov edi, ebx
cmp ebx, eax
jl 0x402b55
mov edi, eax
test edi, edi
mov dword [esp + 0x34], ebx
mov dword [esp + 0x30], edi
je 0x402ba0
mov eax, edx
and eax, 3
je 0x402ba0
and esi, 3
lea ebx, [edi - 1]
cmp esi, ebx
jb 0x402b74
mov esi, ebx
lea eax, [esi + 1]
push eax
push 0x20
mov edi, edx
push edx
call fcn.0040cae0
add esp, 0xc
sub ebx, esi
lea edx, [esi + edi]
inc edx
mov edi, dword [esp + 0x30]
cmp ebx, 4
jge 0x402ba7
mov eax, edx
test ebx, ebx
jne 0x402be4
mov esi, eax
jmp 0x402bf4
mov ebx, edi
cmp ebx, 4
jl 0x402b94
mov ecx, edx
mov eax, ebx
cmp ebx, 7
jl 0x402bb5
mov eax, 7
neg eax
lea esi, [ebx + eax]
add esi, 3
and esi, 0xfffffffc
lea eax, [esi + 4]
push eax
push 0x20
mov edi, ecx
push ecx
call fcn.0040cae0
add esp, 0xc
lea eax, [esi + edi]
add eax, 4
sub ebx, esi
add ebx, 0xfffffffc
mov edi, dword [esp + 0x30]
test ebx, ebx
je 0x402b9a
push ebx
push 0x20
mov esi, eax
push eax
call fcn.0040cae0
add esp, 0xc
add esi, ebx
mov edx, dword [esp + 0x24]
mov ebx, dword [ebp + 8]
test ebx, ebx
je 0x402b10
mov eax, esi
xor eax, dword [esp + 0x1c]
and edx, esi
add edx, edx
sub edx, eax
mov eax, edx
and eax, 1
mov ecx, edx
xor ecx, 1
lea eax, [ecx + eax*2]
cmp eax, 0x200
mov ebx, dword [esp + 0x2c]
jl 0x402b14
add dword [esp + 0x4c], edx
push edx
push dword [ebp + 0xc]
push dword [esp + 0x24]
call dword [ebp + 8]
add esp, 0xc
test eax, eax
je 0x4036b6
mov esi, eax
mov dword [esp + 0x1c], eax
jmp 0x402b14
mov dword [esp + 0x34], eax
movzx eax, byte [esp + 0x44]
mov edx, dword [esp + 4]
lea ecx, [esp + 0x45]
mov dword [esp + 0x10], ecx
jmp 0x402c79
mov edx, dword [esp + 4]
movzx eax, byte [esp + 0x44]
test al, al
je 0x402d8d
movsx ecx, al
mov eax, ecx
cmp dword [ebp + 8], 0
je 0x402c9d
mov eax, dword [esp + 0x1c]
sub eax, esi
add eax, 0x200
cmp eax, ecx
jl 0x402c9d
mov eax, ecx
sub cl, al
mov byte [esp + 0x44], cl
test eax, eax
je 0x402d3b
mov ecx, eax
and ecx, 3
je 0x402d80
mov dword [esp + 0x24], eax
xor edx, edx
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 0x402cc0
add esi, edx
mov eax, dword [esp + 0x24]
mov ecx, eax
sub ecx, edx
mov ebx, dword [esp + 0x2c]
cmp eax, 4
jb 0x402d3b
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 0x402cf0
cmp dword [ebp + 8], 0
je 0x402c70
mov eax, esi
sub eax, dword [esp + 0x1c]
lea ecx, [eax + 1]
cmp ecx, 0x200
jl 0x402c70
add dword [esp + 0x4c], eax
push eax
push dword [ebp + 0xc]
push dword [esp + 0x24]
call dword [ebp + 8]
add esp, 0xc
test eax, eax
je 0x4036b6
mov esi, eax
mov dword [esp + 0x1c], eax
jmp 0x402c70
mov ecx, eax
cmp eax, 4
jae 0x402cf0
jmp 0x402d3b
mov eax, dword [esp + 0x18]
mov ecx, eax
shr ecx, 0x18
mov dword [esp + 0x24], ecx
xor edi, edi
test byte [esp + 0xc], 0x40
je 0x402dc8
and eax, 0xffffff
mov ecx, dword [esp + 8]
mov edx, eax
mov eax, ecx
and eax, edx
xor edx, ecx
lea eax, [edx + eax*2]
mov edi, dword [esp + 0x24]
lea ecx, [edi + 1]
xor edx, edx
div ecx
sub edi, edx
mov edx, dword [esp + 4]
mov eax, dword [esp + 8]
test eax, eax
jg 0x402fc8
lea eax, [esp + 0x45]
mov dword [esp + 0x10], eax
mov edi, ebx
mov ebx, dword [esp + 0x20]
test ebx, ebx
jmp 0x402dfa
mov edx, ebx
mov ebx, dword [esp + 0x24]
sub ebx, dword [esp + 4]
mov ecx, dword [esp + 0x14]
je 0x403131
mov eax, dword [esp + 0x1c]
sub eax, esi
add eax, 0x200
mov ecx, ebx
mov dword [esp + 0x24], ebx
cmp ebx, eax
jl 0x402e1b
mov ecx, eax
cmp dword [ebp + 8], 0
mov ebx, edi
jne 0x402e27
mov ecx, dword [esp + 0x24]
cmp ecx, 4
mov dword [esp + 4], ecx
jl 0x402e80
lea edi, [ecx - 4]
mov eax, edi
shr eax, 2
inc eax
and eax, 7
je 0x402e84
shl eax, 2
xor ebx, ebx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [edx + ebx]
mov dword [esi + ebx], ecx
add ebx, 4
cmp eax, ebx
jne 0x402e50
add esi, ebx
mov ecx, dword [esp + 4]
sub ecx, ebx
add edx, ebx
mov eax, ecx
mov ebx, dword [esp + 0x2c]
cmp edi, 0x1c
jae 0x402e90
jmp 0x402ed1
mov eax, ecx
jmp 0x402ed1
cmp edi, 0x1c
jb 0x402ed1
nop
nop
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 0x402e90
test eax, eax
je 0x402f51
mov ecx, eax
and ecx, 7
je 0x402fa0
mov edi, edx
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ebx, byte [edi + edx]
mov byte [esi + edx], bl
inc edx
cmp ecx, edx
jne 0x402ef0
add esi, edx
mov ecx, eax
sub ecx, edx
add edi, edx
mov ebx, dword [esp + 0x2c]
mov edx, edi
cmp eax, 8
jb 0x402f51
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 0x402f10
mov edi, ebx
cmp dword [ebp + 8], 0
je 0x402df2
mov ebx, edx
mov eax, esi
mov edx, dword [esp + 0x1c]
sub eax, edx
lea ecx, [eax + 1]
cmp ecx, 0x200
jl 0x402df0
add dword [esp + 0x4c], eax
push eax
push dword [ebp + 0xc]
push edx
call dword [ebp + 8]
add esp, 0xc
test eax, eax
je 0x4036b6
mov esi, eax
mov dword [esp + 0x1c], eax
jmp 0x402df0
mov ecx, eax
cmp eax, 8
jae 0x402f10
jmp 0x402f51
mov eax, dword [esp + 8]
sub eax, dword [esp + 0x18]
test eax, eax
mov ebx, dword [esp + 0x2c]
mov edx, dword [esp + 4]
jle 0x403508
mov dword [esp + 8], eax
mov ebx, eax
cmp dword [ebp + 8], 0
mov ecx, dword [esp + 0xc]
je 0x402fef
mov eax, dword [esp + 0x1c]
sub eax, esi
add eax, 0x200
mov edx, dword [esp + 8]
mov ebx, edx
cmp edx, eax
jl 0x402fef
mov ebx, eax
test cl, 0x40
mov dword [esp + 0x18], ebx
jne 0x40305a
test ebx, ebx
je 0x40302d
mov eax, esi
and eax, 3
je 0x40302d
mov ecx, esi
not ecx
and ecx, 3
dec ebx
cmp ecx, ebx
jb 0x403011
mov ecx, ebx
mov dword [esp + 0x30], ecx
lea eax, [ecx + 1]
push eax
push 0x30
push esi
call fcn.0040cae0
add esp, 0xc
mov eax, dword [esp + 0x30]
add esi, eax
inc esi
sub ebx, eax
cmp ebx, 4
jl 0x40305a
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov dword [esi], 0x30303030
add esi, 4
mov eax, ebx
xor eax, 4
and ebx, 0xfffffffb
add ebx, ebx
sub ebx, eax
cmp ebx, 3
jg 0x403040
test ebx, ebx
je 0x40309a
test bl, 1
jne 0x403070
mov eax, ebx
jmp 0x403091
mov al, 0x30
test byte [esp + 0xc], 0x40
je 0x40308b
cmp edi, dword [esp + 0x24]
je 0x403082
inc edi
jmp 0x40308b
xor edi, edi
movzx eax, byte [0x44e001]
mov byte [esi], al
inc esi
lea eax, [ebx - 1]
cmp ebx, 1
mov ebx, dword [esp + 0xc]
jne 0x4030fc
cmp dword [ebp + 8], 0
je 0x402fb0
mov eax, esi
mov ebx, dword [esp + 0x1c]
sub eax, ebx
mov ecx, eax
and ecx, 1
mov edx, eax
xor edx, 1
lea ecx, [edx + ecx*2]
cmp ecx, 0x200
jl 0x402fb0
add dword [esp + 0x4c], eax
push eax
push dword [ebp + 0xc]
push ebx
call dword [ebp + 8]
add esp, 0xc
test eax, eax
je 0x4036b6
mov esi, eax
mov dword [esp + 0x1c], eax
jmp 0x402fb0
inc edi
mov byte [esi + 1], cl
add esi, 2
add eax, 0xfffffffe
je 0x40309a
mov cl, 0x30
test bl, 0x40
je 0x40310a
cmp edi, dword [esp + 0x24]
je 0x403110
inc edi
mov dl, 0x30
jmp 0x403119
xor edi, edi
movzx edx, byte [0x44e001]
mov byte [esi], dl
test bl, 0x40
je 0x4030f1
cmp edi, dword [esp + 0x24]
jne 0x4030f0
xor edi, edi
movzx ecx, byte [0x44e001]
jmp 0x4030f1
test ecx, ecx
mov ebx, edi
jne 0x40327c
lea eax, [esp + 0x3d]
mov dword [esp + 0x10], eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ecx, byte [esp + 0x3c]
test cl, cl
je 0x4033ab
movsx edx, cl
mov eax, dword [esp + 0x1c]
sub eax, esi
add eax, 0x200
cmp eax, edx
jl 0x403171
mov eax, edx
cmp dword [ebp + 8], 0
jne 0x403179
mov eax, edx
sub cl, al
mov byte [esp + 0x3c], cl
test eax, eax
je 0x40321b
mov ecx, eax
and ecx, 3
je 0x403260
mov dword [esp + 0x24], eax
xor edx, edx
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 0x4031a0
add esi, edx
mov eax, dword [esp + 0x24]
mov ecx, eax
sub ecx, edx
mov ebx, dword [esp + 0x2c]
cmp eax, 4
jb 0x40321b
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 0x4031d0
cmp dword [ebp + 8], 0
je 0x403150
mov eax, esi
sub eax, dword [esp + 0x1c]
lea ecx, [eax + 1]
cmp ecx, 0x200
jl 0x403150
add dword [esp + 0x4c], eax
push eax
push dword [ebp + 0xc]
push dword [esp + 0x24]
call dword [ebp + 8]
add esp, 0xc
test eax, eax
je 0x4036b6
mov esi, eax
mov dword [esp + 0x1c], eax
jmp 0x403150
mov ecx, eax
cmp eax, 4
jae 0x4031d0
jmp 0x40321b
mov ecx, dword [esp + 0x14]
sub ecx, edi
je 0x40313b
mov edi, ecx
cmp dword [ebp + 8], 0
je 0x403297
mov eax, dword [esp + 0x1c]
sub eax, esi
add eax, 0x200
mov edi, ecx
cmp ecx, eax
jl 0x403297
mov edi, eax
test edi, edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x14], ecx
je 0x403310
mov eax, esi
and eax, 3
je 0x403310
mov ecx, esi
mov ebx, esi
not ebx
and ebx, 3
lea esi, [edi - 1]
cmp ebx, esi
jb 0x4032bc
mov ebx, esi
lea eax, [ebx + 1]
push eax
push 0x30
mov edi, ecx
push ecx
call fcn.0040cae0
add esp, 0xc
lea ecx, [ebx + edi]
inc ecx
sub esi, ebx
mov ebx, dword [esp + 0x2c]
mov edi, dword [esp + 0x24]
cmp esi, 4
jge 0x403319
test esi, esi
je 0x403358
push esi
push 0x30
mov edi, ecx
push ecx
call fcn.0040cae0
add esp, 0xc
add edi, esi
mov esi, edi
mov edi, dword [esp + 0x24]
mov ebx, dword [esp + 0x2c]
cmp dword [ebp + 8], 0
jne 0x403364
jmp 0x403270
mov ecx, esi
mov esi, edi
cmp esi, 4
jl 0x4032e0
mov eax, esi
cmp esi, 7
jl 0x403325
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.0040cae0
add esp, 0xc
lea ecx, [edi + ebx]
add ecx, 4
sub esi, edi
add esi, 0xfffffffc
mov ebx, dword [esp + 0x2c]
mov edi, dword [esp + 0x24]
test esi, esi
jne 0x4032e4
mov esi, ecx
cmp dword [ebp + 8], 0
je 0x403270
mov eax, esi
sub eax, dword [esp + 0x1c]
lea ecx, [eax + 1]
cmp ecx, 0x200
jl 0x403270
mov ecx, eax
mov edx, dword [esp + 0x4c]
and ecx, edx
xor edx, eax
lea edx, [edx + ecx*2]
mov dword [esp + 0x4c], edx
push eax
push dword [ebp + 0xc]
push dword [esp + 0x24]
call dword [ebp + 8]
add esp, 0xc
test eax, eax
je 0x4036b6
mov esi, eax
mov dword [esp + 0x1c], eax
jmp 0x403270
test byte [esp + 0xc], 1
je 0x4033bf
cmp dword [esp + 0x34], 0
jle 0x4033bf
mov eax, dword [esp + 0x34]
jne 0x4033de
inc ebx
jmp 0x40103d
mov esi, eax
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x34]
sub eax, edi
je 0x4033bf
mov dword [esp + 0x34], eax
mov edx, eax
cmp dword [ebp + 8], 0
je 0x403419
mov eax, dword [esp + 0x1c]
mov ecx, eax
xor ecx, esi
not eax
and eax, esi
add eax, eax
sub eax, ecx
mov ecx, eax
xor ecx, 0x200
not eax
and eax, 0x200
add eax, eax
sub eax, ecx
mov ecx, dword [esp + 0x34]
mov edx, ecx
cmp ecx, eax
jl 0x403419
mov edx, eax
test edx, edx
mov dword [esp + 0x24], edx
je 0x403480
mov eax, esi
and eax, 3
je 0x403480
mov ecx, esi
mov ebx, esi
not ebx
and ebx, 3
lea esi, [edx - 1]
cmp ebx, esi
jb 0x40343a
mov ebx, esi
lea eax, [ebx + 1]
push eax
push 0x20
mov edi, ecx
push ecx
call fcn.0040cae0
add esp, 0xc
lea ecx, [ebx + edi]
inc ecx
sub esi, ebx
mov ebx, dword [esp + 0x2c]
cmp esi, 4
jge 0x403489
test esi, esi
je 0x4034c4
push esi
push 0x20
mov edi, ecx
push ecx
call fcn.0040cae0
add esp, 0xc
add edi, esi
mov esi, edi
mov ebx, dword [esp + 0x2c]
jmp 0x4034c6
mov ecx, esi
mov esi, edx
cmp esi, 4
jl 0x40345a
mov eax, esi
cmp esi, 7
jl 0x403495
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.0040cae0
add esp, 0xc
lea ecx, [edi + ebx]
add ecx, 4
sub esi, edi
add esi, 0xfffffffc
mov ebx, dword [esp + 0x2c]
test esi, esi
jne 0x40345e
mov esi, ecx
mov edi, dword [esp + 0x24]
cmp dword [ebp + 8], 0
je 0x4033d6
mov eax, esi
sub eax, dword [esp + 0x1c]
lea ecx, [eax + 1]
cmp ecx, 0x200
jl 0x4033d6
add dword [esp + 0x4c], eax
push eax
push dword [ebp + 0xc]
push dword [esp + 0x24]
call dword [ebp + 8]
add esp, 0xc
test eax, eax
jne 0x4033d0
jmp 0x4036b6
movzx eax, byte [esp + 0x44]
lea ecx, [esp + 0x45]
mov dword [esp + 0x10], ecx
jmp 0x403529
mov edx, dword [esp + 4]
movzx eax, byte [esp + 0x44]
test al, al
je 0x402ddc
movsx ecx, al
mov eax, ecx
cmp dword [ebp + 8], 0
je 0x403559
mov edx, esi
sub edx, dword [esp + 0x1c]
mov eax, edx
not eax
and edx, 0xfffffdff
and eax, 0x200
sub eax, edx
cmp eax, ecx
jl 0x403559
mov eax, ecx
sub ecx, eax
mov byte [esp + 0x44], cl
test eax, eax
je 0x4035fb
mov ecx, eax
and ecx, 3
je 0x403640
mov dword [esp + 0x24], eax
xor edx, edx
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 0x403580
add esi, edx
mov eax, dword [esp + 0x24]
mov ecx, eax
sub ecx, edx
mov ebx, dword [esp + 0x2c]
cmp eax, 4
jb 0x4035fb
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 0x4035b0
cmp dword [ebp + 8], 0
je 0x403520
mov eax, esi
sub eax, dword [esp + 0x1c]
lea ecx, [eax + 1]
cmp ecx, 0x200
jl 0x403520
add dword [esp + 0x4c], eax
push eax
push dword [ebp + 0xc]
push dword [esp + 0x24]
call dword [ebp + 8]
add esp, 0xc
test eax, eax
je 0x4036b6
mov esi, eax
mov dword [esp + 0x1c], eax
jmp 0x403520
mov ecx, eax
cmp eax, 4
jae 0x4035b0
jmp 0x4035fb
mov edx, eax
mov ebx, esi
mov eax, ecx
jmp 0x40278a
mov edi, ecx
jmp 0x402928
mov edx, eax
mov eax, esi
jmp 0x40278a
mov ecx, esi
mov edi, esi
jmp 0x402928
fstp st(1)
fdivp st(1)
or dword [esp + 0xc], 0x4000000
jmp 0x4021b2
cmp dword [ebp + 8], 0
je 0x4036c2
mov eax, esi
sub eax, dword [esp + 0x1c]
lea ecx, [eax + 0x1ff]
cmp ecx, 0x200
jl 0x4036c5
add dword [esp + 0x4c], eax
push eax
push dword [ebp + 0xc]
push dword [esp + 0x24]
call dword [ebp + 8]
add esp, 0xc
mov esi, eax
mov dword [esp + 0x1c], eax
jmp 0x4036c5
xor esi, esi
mov dword [esp + 0x1c], 0
jmp 0x4036c5
mov byte [esi], 0
mov eax, dword [esp + 0x4c]
add eax, esi
sub eax, dword [esp + 0x1c]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret