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 + 0x2c], eax
mov ebx, dword [ebp + 0x14]
mov edi, dword [ebp + 0x10]
mov dword [esp + 0x4c], 0
mov esi, edi
jmp 0x40103b
mov edi, eax
movzx eax, byte [ebx]
mov esi, edi
mov byte [edi], al
inc edi
inc ebx
mov dword [esp + 0x28], esi
test bl, 3
je 0x401050
movzx eax, byte [ebx]
jmp 0x40106e
mov eax, dword [ebx]
mov edx, eax
not edx
and edx, 0x80808080
mov ecx, eax
xor ecx, 0x25252525
add ecx, 0xfefefeff
test ecx, edx
je 0x4010ac
cmp al, 0x25
je 0x401108
test al, al
mov esi, dword [esp + 0x28]
je 0x403680
cmp dword [ebp + 8], 0
je 0x401037
mov ecx, edi
sub ecx, esi
cmp ecx, 0x1ff
jl 0x401037
add dword [esp + 0x4c], ecx
push ecx
push dword [ebp + 0xc]
push esi
call dword [ebp + 8]
add esp, 0xc
test eax, eax
jne 0x401030
jmp 0x4036a3
mov ecx, dword [esp + 0x28]
sub ecx, edi
add ecx, 0x200
jmp 0x4010ea
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx + 4]
add ebx, 4
mov edx, eax
not edx
and edx, 0x80808080
mov esi, eax
xor esi, 0x25252525
add esi, 0xfefefeff
add ecx, 0xfffffffc
test esi, edx
jne 0x40106e
lea esi, [eax - 0x1010101]
test edx, esi
jne 0x401076
cmp dword [ebp + 8], 0
je 0x4010c0
cmp ecx, 4
jge 0x4010c0
jmp 0x40106e
add ebx, 2
mov ecx, ebx
xor esi, esi
jmp 0x401120
or esi, 1
inc ecx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ebx, byte [ecx - 1]
lea edx, [ebx - 0x20]
cmp edx, 0x3f
ja case.0x40112c.33
jmp dword [edx*4 + 0x44f564]
or esi, 4
inc ecx
jmp 0x401120
or esi, 8
inc ecx
jmp 0x401120
or esi, 0x400
inc ecx
jmp 0x401120
or esi, 0x40
inc ecx
jmp 0x401120
test esi, 0x100
jne 0x401172
or esi, 0x100
inc ecx
jmp 0x401120
mov eax, esi
xor eax, 2
add eax, esi
mov edx, esi
and edx, 0xfffffffd
sub eax, edx
inc ecx
mov esi, eax
jmp 0x401120
test esi, 0x800
jne 0x401183
or esi, 0x800
inc ecx
jmp 0x401120
or esi, 0x1000
inc ecx
jmp 0x401120
or esi, 0x10
movzx ebx, byte [ecx]
jmp 0x401195
dec ecx
mov dword [esp + 0xc], esi
cmp bl, 0x2a
mov esi, dword [esp + 0x28]
jne 0x4011b8
mov eax, dword [esp + 0x2c]
mov edx, dword [eax]
add eax, 4
mov dword [esp + 0x2c], eax
mov eax, edx
movzx ebx, byte [ecx + 1]
inc ecx
jmp 0x4011ed
mov edx, ebx
add dl, 0xd0
xor eax, eax
cmp dl, 9
ja 0x4011ed
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov edx, eax
movzx eax, bl
lea edx, [edx + edx*4]
lea eax, [eax + edx*2]
add eax, 0xffffffd0
movzx ebx, byte [ecx + 1]
inc ecx
mov edx, ebx
add dl, 0xd0
cmp dl, 0xa
jb 0x4011d0
mov dword [esp + 4], 0xffffffff
cmp bl, 0x2e
mov dword [esp + 0x34], eax
jne 0x401268
movzx ebx, byte [ecx + 1]
cmp bl, 0x2a
jne 0x401221
mov eax, dword [esp + 0x2c]
mov edx, dword [eax]
mov dword [esp + 4], edx
add eax, 4
mov dword [esp + 0x2c], eax
movzx ebx, byte [ecx + 2]
add ecx, 2
jmp 0x401268
inc ecx
mov edx, ebx
add dl, 0xd0
mov dword [esp + 4], 0
cmp dl, 9
ja 0x401268
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ebx, bl
lea edx, [eax + eax*4]
lea eax, [ebx + edx*2]
mov edx, eax
xor edx, 0x30
and eax, 0xffffffcf
add eax, eax
sub eax, edx
movzx ebx, byte [ecx + 1]
inc ecx
mov edx, ebx
add dl, 0xd0
cmp dl, 0xa
jb 0x401240
mov dword [esp + 4], eax
movzx edx, bl
add edx, 0xffffffb7
cmp edx, 0x31
ja case.0x401273.74
jmp dword [edx*4 + 0x44f664]
inc ecx
jmp 0x4012e1
movzx eax, byte [ecx + 1]
cmp al, 0x6c
jne 0x40135b
mov edx, dword [esp + 0xc]
mov eax, edx
not eax
or eax, 0xffffffdf
add edx, eax
add edx, 0x21
mov dword [esp + 0xc], edx
jmp 0x4012de
lea ebx, [ecx + 1]
movzx edx, byte [ecx + 1]
cmp edx, 0x33
je 0x401b4d
cmp edx, 0x36
jne 0x401b5f
cmp byte [ecx + 2], 0x34
jne 0x4012e3
add ecx, 3
or dword [esp + 0xc], 0x20
jmp 0x4012e1
mov eax, ebx
mov ebx, ecx
jmp 0x4012e6
or dword [esp + 0xc], 0x200
movzx eax, byte [ecx + 1]
cmp al, 0x68
jne 0x40135b
add ecx, 2
mov ebx, ecx
movzx eax, byte [ebx]
mov dword [esp + 0x30], eax
movzx ecx, al
add ecx, 0xffffffbf
cmp ecx, 0x37
mov dword [esp + 0x24], ebx
ja case.0x4012fd.67
jmp dword [ecx*4 + 0x44f72c]
mov edx, dword [esp + 0xc]
mov ecx, edx
xor ecx, 0xffffffdf
or edx, 0x20
test edx, ecx
je 0x4016cc
mov edx, dword [esp + 0x2c]
lea ecx, [edx + 8]
mov eax, dword [edx]
mov dword [esp + 0x14], eax
mov esi, dword [edx + 4]
cmp byte [esp + 0x30], 0x75
je 0x401b66
test esi, esi
jns 0x401b66
neg dword [esp + 0x14]
mov eax, 0
sbb eax, esi
mov edx, dword [esp + 0xc]
or edx, 0x80
mov esi, eax
mov dword [esp + 0x2c], ecx
jmp 0x401df1
inc ecx
mov ebx, ecx
jmp 0x4012e6
mov eax, str.0123456789ABCDEFXP
cmp byte [esp + 0x30], 0x45
je 0x401371
mov eax, str.0123456789abcdefxp
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x2c]
fld qword [eax]
mov esi, 6
mov eax, dword [esp + 4]
cmp eax, 0xffffffff
je 0x40138b
mov esi, eax
mov eax, esi
or eax, 0x80000000
sub esp, 0x18
mov dword [esp + 0x10], eax
fstp qword [esp + 8]
lea eax, [esp + 0x58]
mov dword [esp + 4], eax
lea eax, [esp + 0x7c]
mov dword [esp], eax
lea ecx, [esp + 0x30]
lea edx, [esp + 0x38]
call fcn.004036c0
add esp, 0x18
test eax, eax
je 0x4013c8
or dword [esp + 0xc], 0x80
add dword [esp + 0x2c], 8
mov byte [esp + 0x38], 0
mov byte [esp + 0x44], 0
mov al, 0x2d
cmp byte [esp + 0xc], 0
js 0x4013f2
mov al, 0x20
test byte [esp + 0xc], 4
jne 0x4013f2
mov al, 0x2b
test byte [esp + 0xc], 2
je 0x4013fb
mov byte [esp + 0x44], 1
mov byte [esp + 0x45], al
mov eax, dword [esp + 0x40]
mov dword [esp + 0x10], 0
mov ecx, dword [esp + 0x18]
cmp eax, 0x7000
je 0x402a45
mov dword [esp + 0x30], eax
mov dword [esp + 8], ecx
movzx ecx, byte [ecx]
mov byte [esp + 0xa4], cl
lea eax, [esp + 0xa5]
test esi, esi
je 0x401456
movzx ecx, byte [section..data]
mov edx, ecx
or dl, 0xeb
not cl
or cl, 0x14
and cl, dl
not cl
mov byte [esp + 0xa5], cl
lea eax, [esp + 0xa6]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x20]
lea edx, [eax - 1]
cmp edx, esi
jbe 0x40146c
lea eax, [esi + 1]
mov dword [esp + 0x20], eax
cmp eax, 2
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], eax
jb 0x401532
mov ebx, esi
cmp esi, edx
jb 0x401485
mov ebx, edx
lea esi, [ebx - 1]
mov edx, 1
cmp esi, 7
jb 0x401509
mov dword [esp + 0x50], ebx
mov esi, ebx
and esi, 0xfffffff8
xor edx, edx
mov ebx, dword [esp + 8]
mov ecx, dword [esp + 4]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx eax, byte [ebx + edx + 1]
mov byte [ecx + edx], al
movzx eax, byte [ebx + edx + 2]
mov byte [ecx + edx + 1], al
movzx eax, byte [ebx + edx + 3]
mov byte [ecx + edx + 2], al
movzx eax, byte [ebx + edx + 4]
mov byte [ecx + edx + 3], al
movzx eax, byte [ebx + edx + 5]
mov byte [ecx + edx + 4], al
movzx eax, byte [ebx + edx + 6]
mov byte [ecx + edx + 5], al
movzx eax, byte [ebx + edx + 7]
mov byte [ecx + edx + 6], al
movzx eax, byte [ebx + edx + 8]
mov byte [ecx + edx + 7], al
add edx, 8
cmp esi, edx
jne 0x4014b0
add ecx, edx
mov dword [esp + 4], ecx
inc edx
mov ebx, dword [esp + 0x50]
and ebx, 7
je 0x401532
mov esi, dword [esp + 8]
add esi, edx
xor edx, edx
mov ecx, dword [esp + 4]
nop
nop
nop
nop
nop
nop
movzx eax, byte [esi + edx]
mov byte [ecx + edx], al
inc edx
cmp ebx, edx
jne 0x401520
add ecx, edx
mov dword [esp + 4], ecx
mov eax, dword [esp + 0x1c]
movzx eax, byte [eax + 0xe]
mov byte [esp + 0x39], al
mov ecx, dword [esp + 0x30]
test ecx, ecx
jle 0x401d07
dec ecx
mov byte [esp + 0x3a], 0x2b
mov eax, ecx
jmp 0x401d13
mov eax, str.0123456789ABCDEFXP
cmp byte [esp + 0x30], 0x41
je 0x401568
mov eax, str.0123456789abcdefxp
mov dword [esp + 8], eax
mov dword [esp + 0x50], 6
mov eax, dword [esp + 4]
cmp eax, 0xffffffff
je 0x401581
mov dword [esp + 0x50], eax
mov ecx, dword [esp + 0x2c]
mov eax, dword [ecx + 4]
test eax, eax
js 0x401703
mov edx, dword [esp + 0xc]
jmp 0x40170d
mov dword [esp + 0x10], str.0123456789ABCDEFXP
cmp byte [esp + 0x30], 0x42
je 0x4015b0
mov dword [esp + 0x10], str.0123456789abcdefxp
mov byte [esp + 0x44], 0
test byte [esp + 0xc], 8
je 0x4015d4
cmp byte [esp + 0x30], 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 0x4017e2
mov eax, dword [esp + 0x2c]
mov edx, dword [eax]
mov esi, dword [eax + 4]
add eax, 8
mov dword [esp + 0x2c], eax
jmp 0x4017f1
mov eax, str.0123456789ABCDEFXP
cmp byte [esp + 0x30], 0x47
je 0x401612
mov eax, str.0123456789abcdefxp
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x2c]
fld qword [eax]
mov ecx, dword [esp + 4]
cmp ecx, 1
mov eax, ecx
adc eax, 0
mov esi, 6
cmp ecx, 0xffffffff
je 0x401634
mov esi, eax
lea eax, [esi - 1]
or eax, 0x80000000
sub esp, 0x18
fstp qword [esp + 8]
lea ecx, [esp + 0x58]
mov dword [esp + 4], ecx
lea ecx, [esp + 0x7c]
mov dword [esp], ecx
mov dword [esp + 0x10], eax
lea ecx, [esp + 0x30]
lea edx, [esp + 0x38]
call fcn.004036c0
add esp, 0x18
test eax, eax
je 0x401672
or dword [esp + 0xc], 0x80
mov ecx, dword [esp + 0x20]
cmp ecx, esi
jb 0x40167c
mov ecx, esi
mov eax, ecx
cmp ecx, 2
mov dword [esp + 0x14], esi
jb 0x40177b
mov ecx, dword [esp + 0x18]
mov dword [esp + 8], ecx
mov ecx, esi
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov edx, dword [esp + 8]
cmp byte [edx + eax - 1], 0x30
jne 0x4020ce
mov esi, eax
dec esi
lea edx, [ecx - 1]
mov eax, esi
cmp esi, 2
jb 0x4020d0
cmp ecx, 1
mov ecx, edx
jne 0x4016a0
jmp 0x4020d0
mov ecx, dword [esp + 0x2c]
mov eax, dword [ecx]
add ecx, 4
mov dword [esp + 0x2c], ecx
xor esi, esi
cmp byte [esp + 0x30], 0x75
je 0x401de9
test eax, eax
jns 0x401de9
neg eax
mov dword [esp + 0x14], eax
mov edx, dword [esp + 0xc]
or edx, 0x80
jmp 0x401df1
mov edx, dword [esp + 0xc]
or edx, 0x80
mov ecx, dword [esp + 0x2c]
mov ecx, dword [ecx]
mov dword [esp + 0x10], ecx
mov cl, 0x2d
test dl, dl
mov dword [esp + 0xc], edx
js 0x401739
mov cl, 0x20
test dl, 4
jne 0x401739
mov cl, 0x2b
test dl, 2
jne 0x401739
mov dword [esp + 0x14], 0
jmp 0x401743
mov byte [esp + 0x45], cl
mov cl, 1
mov dword [esp + 0x14], ecx
mov esi, eax
and esi, 0xfffff
shr eax, 0x14
and eax, 0x7ff
je 0x401b8b
add eax, 0xfffffc01
mov ecx, 0xffffffff
mov edx, dword [esp + 0x10]
add edx, ecx
mov ecx, 0xfffff
adc esi, ecx
add edx, 1
adc esi, 0
jmp 0x401ba2
mov edx, esi
jmp 0x4020d0
and dword [esp + 0xc], 0xffffffef
mov dword [esp + 4], 8
mov dword [esp + 0x10], str.0123456789ABCDEFXP
cmp byte [esp + 0x30], 0x58
je 0x4017a6
mov dword [esp + 0x10], str.0123456789abcdefxp
mov dword [esp + 0x20], 0x440
mov byte [esp + 0x44], 0
mov ecx, 4
test byte [esp + 0xc], 8
je 0x4017d7
cmp byte [esp + 0x30], 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 0x4015ec
mov eax, dword [esp + 0x2c]
mov edx, dword [eax]
add eax, 4
mov dword [esp + 0x2c], eax
xor esi, esi
mov dword [esp + 0x40], 0
mov byte [esp + 0x38], 0
mov eax, edx
or eax, esi
jne 0x401814
mov byte [esp + 0x44], 0
cmp dword [esp + 4], 0
je 0x401b6f
mov eax, 0xffffffff
shl eax, cl
not eax
and eax, edx
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x20]
mov cl, dh
shrd dword [esp + 0x1c], esi, cl
mov ecx, dword [esp + 0x10]
movzx eax, byte [ecx + eax]
mov byte [esp + 0x263], al
mov cl, dh
shr esi, cl
test dh, 0x20
jne 0x40184c
mov eax, dword [esp + 0x1c]
jmp 0x401850
mov eax, esi
xor esi, esi
mov dword [esp + 0x1c], eax
or eax, esi
jne 0x40189c
mov ecx, 1
cmp dword [esp + 4], 2
jge 0x40189c
lea eax, [esp + 0x263]
mov dword [esp + 8], eax
shr edx, 4
mov eax, edx
not eax
or eax, 0xf
add eax, edx
shl eax, 0x18
add eax, ecx
add eax, 0x1000000
mov dword [esp + 0x10], eax
mov dword [esp + 0x20], ecx
xor esi, esi
mov edx, dword [esp + 4]
mov ecx, dword [esp + 8]
jmp 0x402a49
lea eax, [esp + 0x263]
mov dword [esp + 8], eax
lea eax, [esp + 0x264]
mov dword [esp + 0x14], eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
test byte [esp + 0xc], 0x40
je 0x4018d8
inc edx
mov dword [esp + 0x20], edx
mov ecx, edx
shr ecx, 4
xor ecx, edx
test cl, 0xf
je 0x40194b
mov ecx, edx
mov eax, esi
mov edx, dword [esp + 8]
mov dword [esp + 0x14], edx
mov ebx, 0xffffffff
mov cl, ch
shl ebx, cl
not ebx
mov esi, dword [esp + 0x1c]
and ebx, esi
mov edx, dword [esp + 0x20]
mov cl, dh
shrd esi, eax, cl
mov ecx, dword [esp + 0x10]
movzx ecx, byte [ecx + ebx]
mov ebx, dword [esp + 0x14]
mov byte [ebx - 1], cl
mov cl, dh
shr eax, cl
test dh, 0x20
je 0x40191a
mov esi, eax
xor eax, eax
mov ebx, dword [esp + 0x24]
mov ecx, dword [esp + 0x14]
dec ecx
mov dword [esp + 8], ecx
mov dword [esp + 0x1c], esi
or esi, eax
mov esi, eax
jne 0x4018c0
lea ecx, [esp + 0x264]
sub ecx, dword [esp + 8]
cmp ecx, dword [esp + 4]
jl 0x4018c0
jmp 0x40186f
mov eax, esi
mov ecx, edx
xor ecx, 0xf
or edx, 0xfffffff0
and edx, ecx
mov dword [esp + 0x20], edx
movzx ecx, byte [0x452001]
xor cl, 0xf4
mov edx, dword [esp + 0x14]
mov byte [edx - 2], cl
add edx, 0xfffffffe
mov dword [esp + 0x14], edx
mov ecx, dword [esp + 0x20]
jmp 0x4018e4
mov byte [esp + 0x44], 0
test byte [esp + 0xc], 8
je 0x40198f
mov word [esp + 0x44], 0x3001
mov dword [esp + 0x20], 0x330
mov dword [esp + 0x10], str.0123456789ABCDEFXP
mov ecx, 3
test byte [esp + 0xc], 0x20
je 0x4017e2
jmp 0x4015ec
mov eax, dword [esp + 0x2c]
mov eax, dword [eax]
mov edx, str.null
test eax, eax
je 0x4019c5
mov edx, eax
mov ecx, dword [esp + 4]
mov eax, ecx
test ecx, ecx
jns 0x4019d4
mov eax, 0xffffffff
test dl, 3
mov dword [esp + 8], edx
je 0x4026ef
mov ecx, edx
add edx, eax
cmp dword [esp + 4], 0
je 0x402a1c
cmp byte [ecx], 0
je 0x402a1a
lea esi, [eax - 1]
inc ecx
test cl, 3
je 0x4029d8
test esi, esi
je 0x402a1c
cmp byte [ecx], 0
je 0x402a1a
lea esi, [eax - 2]
mov ecx, dword [esp + 8]
add ecx, 2
test cl, 3
je 0x4029d8
test esi, esi
je 0x402a1c
cmp byte [ecx], 0
je 0x402a1a
lea esi, [eax - 3]
mov ecx, dword [esp + 8]
add ecx, 3
test cl, 3
je 0x4029d8
test esi, esi
je 0x402a1c
cmp byte [ecx], 0
je 0x402a1a
add eax, 0xfffffffc
mov ecx, dword [esp + 8]
add ecx, 4
test cl, 3
je 0x4029da
test eax, eax
je 0x401a78
mov edx, ecx
mov ebx, dword [esp + 0x24]
jmp 0x402a1c
mov eax, dword [esp + 0x30]
mov byte [esp + 0x263], al
mov dword [esp + 0x20], 1
mov byte [esp + 0x44], 0
mov byte [esp + 0x38], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x10], 0
lea ecx, [esp + 0x263]
mov dword [esp + 0xc], 0
xor esi, esi
xor edx, edx
mov dword [esp + 0x34], 0
jmp 0x402a49
mov ecx, dword [esp + 0x2c]
movzx eax, byte [ecx]
add ecx, 4
mov dword [esp + 0x2c], ecx
mov byte [esp + 0x263], al
mov dword [esp + 0x20], 1
mov byte [esp + 0x44], 0
mov byte [esp + 0x38], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x10], 0
lea ecx, [esp + 0x263]
jmp 0x402a45
mov eax, dword [esp + 0x2c]
fld qword [eax]
add eax, 8
mov dword [esp + 0x2c], eax
test dword [esp + 0xc], 0x100
jne 0x401fe8
jmp 0x4021a4
mov edx, dword [esp + 0x2c]
mov eax, dword [edx]
mov ecx, dword [esp + 0x4c]
sub ecx, esi
add ecx, edi
mov dword [eax], ecx
add edx, 4
mov dword [esp + 0x2c], edx
jmp 0x4034b1
cmp byte [ecx + 2], 0x32
jne 0x4012e3
add ecx, 3
jmp 0x4012e1
mov eax, edx
jmp 0x4012e6
mov dword [esp + 0x2c], ecx
jmp 0x401ded
mov dword [esp + 0x20], 0
mov dword [esp + 0x10], 0
lea ecx, [esp + 0x264]
jmp 0x402a45
xor eax, eax
mov ecx, dword [esp + 0x10]
or ecx, esi
je 0x401b9a
mov eax, 0xfffffc02
mov dword [esp + 0x40], eax
mov edx, dword [esp + 0x10]
mov dword [esp + 0x54], eax
shld esi, edx, 8
shl edx, 8
mov ecx, dword [esp + 0x50]
cmp ecx, 0xe
mov eax, edx
jg 0x401bfd
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 edx, 0x8000000
shrd ebx, edx, cl
mov edx, ebx
mov ebx, 0x8000000
shr ebx, cl
test cl, 0x20
je 0x401bef
mov edx, ebx
xor ebx, ebx
add eax, edx
mov dword [esp + 0x10], eax
adc esi, ebx
mov ebx, dword [esp + 0x24]
jmp 0x401c01
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x14]
movzx ecx, al
lea edx, [esp + 0x44]
mov word [ecx + edx + 1], 0x7830
or al, 2
mov byte [esp + 0x44], al
mov ecx, esi
shr ecx, 0x1c
mov eax, dword [esp + 8]
movzx ecx, byte [eax + ecx]
mov byte [esp + 0xa4], cl
mov eax, dword [esp + 0x50]
test eax, eax
je 0x401ced
movzx ecx, byte [section..data]
xor cl, 0x14
mov byte [esp + 0xa5], cl
lea ecx, [esp + 0xa6]
mov dword [esp + 0x18], ecx
mov edx, eax
cmp eax, 0xd
jb 0x401c61
mov edx, 0xd
mov ecx, eax
mov dword [esp + 4], edx
sub ecx, edx
mov dword [esp + 0x14], ecx
jg 0x401c77
mov dword [esp + 0x14], 0
mov edx, dword [esp + 4]
and edx, 3
je 0x4021f3
xor ebx, ebx
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x1c], edx
nop
nop
mov edx, esi
shr edx, 0x18
and edx, 0xf
mov eax, dword [esp + 8]
movzx edx, byte [eax + edx]
shld esi, ecx, 4
mov byte [esp + ebx + 0xa6], dl
mov edx, dword [esp + 0x1c]
shl ecx, 4
inc ebx
cmp edx, ebx
jne 0x401c90
mov dword [esp + 0x10], ecx
lea ecx, [esp + 0xa6]
add ecx, ebx
sub dword [esp + 4], ebx
mov ebx, dword [esp + 0x24]
mov edx, dword [esp + 0x54]
mov eax, dword [esp + 0x50]
cmp eax, 4
jae 0x402207
lea esi, [esp + 0xa6]
mov dword [esp + 0x1c], esi
jmp 0x402291
mov edx, dword [esp + 0x54]
lea ecx, [esp + 0xa5]
mov dword [esp + 0x18], ecx
xor esi, esi
mov dword [esp + 0x1c], ecx
jmp 0x402295
mov byte [esp + 0x3a], 0x2d
mov eax, 1
sub eax, ecx
mov dword [esp + 8], eax
cmp eax, 0x64
mov ecx, 4
sbb ecx, 0xffffffff
mov dword [esp + 0x1c], ecx
mov ecx, 0xcccccccd
mul ecx
shr edx, 2
and edx, 0xfffffffe
lea ecx, [edx + edx*4]
mov esi, dword [esp + 8]
mov eax, dword [esp + 8]
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 esi, ecx
mov eax, edx
shr eax, 0x1f
sar edx, 2
add edx, eax
add edx, edx
lea edx, [edx + edx*4]
mov ecx, ebx
sub ecx, edx
mov eax, esi
or al, 0x30
mov edx, dword [esp + 0x1c]
mov byte [esp + 0x38], dl
mov byte [esp + edx + 0x38], al
mov eax, dword [esp + 8]
add cl, 0x30
mov byte [esp + edx + 0x37], cl
cmp eax, 0x64
jb 0x401dcb
mov esi, edx
mov ecx, 0x51eb851f
imul ecx
mov ebx, edx
mov eax, edx
shr eax, 0x1f
sar ebx, 5
add ebx, eax
mov eax, ebx
mov edx, 0x66666667
imul edx
mov eax, edx
shr eax, 0x1f
shr edx, 2
add edx, eax
add edx, edx
lea eax, [edx + edx*4]
mov edx, ebx
sub edx, eax
add dl, 0x30
lea eax, [esp + 0x38]
mov byte [esi + eax - 2], dl
mov esi, dword [esp + 0x14]
sub esi, dword [esp + 0x10]
inc esi
mov dword [esp + 0x40], ebx
mov dword [esp + 0x10], 0x3000001
mov ebx, dword [esp + 0x24]
jmp 0x402916
mov dword [esp + 0x14], eax
mov edx, dword [esp + 0xc]
mov dword [esp + 0xc], edx
test edx, 0x100
jne 0x401fad
mov dword [esp + 0x10], esi
movzx ecx, byte [0x452001]
mov eax, ecx
xor al, 0xf4
mov byte [esp + 0x50], al
mov eax, ecx
add al, cl
and al, 0xe8
sub cl, al
add cl, 0xf4
mov byte [esp + 0x1c], cl
mov esi, 0x200
xor edx, edx
nop
nop
nop
nop
nop
nop
mov dword [esp + 0x30], edx
mov ecx, dword [esp + 0x14]
cmp ecx, 0x5f5e100
mov edx, dword [esp + 0x10]
mov eax, edx
sbb eax, 0
jb 0x401e70
push 0
push 0x5f5e100
push edx
push ecx
mov dword [esp + 0x24], ecx
call fcn.0040cc80
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x14]
imul ecx, eax, 0x5f5e100
sub edx, ecx
mov ecx, eax
jmp 0x401e7c
mov dword [esp + 0x10], 0
mov edx, ecx
xor ecx, ecx
lea eax, [esp + 0x5c]
add eax, esi
mov dword [esp + 8], eax
test byte [esp + 0xc], 0x40
mov dword [esp + 0x14], ecx
jne 0x401ee0
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, edx
mov eax, edx
mov edx, 0x51eb851f
mul edx
shr edx, 5
imul eax, edx, 0x64
mov ebx, ecx
sub ebx, eax
movzx eax, word [ebx + ebx + str.00010203040506070809101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899]
mov word [esp + esi + 0x62], ax
add esi, 0xfffffffe
cmp ecx, 0x64
jae 0x401ea0
mov ebx, dword [esp + 0x24]
mov edx, dword [esp + 0x30]
jmp 0x401f50
mov eax, edx
test edx, edx
mov edx, dword [esp + 0x30]
je 0x401f50
mov ecx, dword [esp + 8]
jmp 0x401f22
mov dword [esp + 8], ecx
mov ecx, edx
mov ebx, eax
mov edx, 0xcccccccd
mul edx
shr edx, 3
lea eax, [edx + edx]
lea eax, [eax + eax*4]
sub ebx, eax
or bl, 0x30
mov byte [esp + esi + 0x63], bl
dec esi
mov eax, edx
mov edx, ecx
mov ecx, dword [esp + 8]
mov ebx, dword [esp + 0x24]
test eax, eax
je 0x401f54
test byte [esp + 0xc], 0x40
je 0x401ef0
cmp edx, 3
je 0x401f35
mov dword [esp + 8], ecx
inc edx
jmp 0x401ef4
mov edx, eax
movzx eax, byte [esp + 0x50]
mov byte [esp + esi + 0x63], al
mov eax, edx
dec esi
dec ecx
xor edx, edx
test eax, eax
jne 0x401f22
jmp 0x401f54
mov ecx, dword [esp + 8]
mov eax, dword [esp + 0x14]
or eax, dword [esp + 0x10]
lea eax, [esp + esi + 0x64]
jne 0x401f7d
jmp 0x40202f
inc edx
mov byte [esp + esi + 0x63], 0x30
dec esi
lea eax, [esp + esi]
add eax, 0x64
cmp eax, ecx
je 0x401e30
test byte [esp + 0xc], 0x40
je 0x401f71
cmp edx, 3
jne 0x401f70
movzx eax, byte [esp + 0x1c]
mov byte [esp + esi + 0x63], al
dec esi
dec ecx
xor edx, edx
lea eax, [esp + esi]
add eax, 0x64
cmp eax, ecx
jne 0x401f85
jmp 0x401e30
mov eax, 1
mov ecx, dword [esp + 4]
cmp ecx, 0xffffffff
je 0x401fbd
mov eax, ecx
mov dword [esp + 4], 0
cmp dword [esp + 0x14], 0x400
mov ecx, esi
sbb ecx, 0
jb 0x401fd8
mov dword [esp + 4], eax
mov eax, dword [esp + 0x14]
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 + 0x44f550]
cmp ecx, 0x3ffffff
ja 0x402028
fld st(0)
fchs
fxch st(1)
fucom st(2)
fnstsw ax
sahf
jbe 0x40211f
fxch st(2)
fucom st(1)
fnstsw ax
sahf
fxch st(2)
jbe 0x40211f
fstp st(0)
fstp st(0)
jmp 0x4021a4
mov dword [esp + 8], eax
cmp byte [esp + esi + 0x64], 0x30
sete al
cmp esi, 0x200
setne cl
mov byte [esp + 0x38], 0
mov byte [esp + 0x44], 0
mov dl, 0x2d
cmp byte [esp + 0xc], 0
js 0x402069
mov dl, 0x20
test byte [esp + 0xc], 4
jne 0x402069
mov dl, 0x2b
test byte [esp + 0xc], 2
je 0x402072
mov byte [esp + 0x44], 1
mov byte [esp + 0x45], dl
and cl, al
movzx eax, cl
mov ecx, dword [esp + 8]
add ecx, eax
lea edx, [esp + 0x264]
sub edx, ecx
mov dword [esp + 0x20], edx
jne 0x4020a8
mov byte [esp + 0x263], 0x30
mov dword [esp + 0x20], 1
mov edx, 1
lea ecx, [esp + 0x263]
mov dword [esp + 0x10], edx
xor esi, esi
cmp dword [esp + 4], 0
jg 0x4020bd
mov dword [esp + 4], 0
add dword [esp + 0x10], 0x3000000
mov edx, dword [esp + 4]
jmp 0x402a49
mov edx, ecx
add dword [esp + 0x2c], 8
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 0x40]
cmp ecx, 0xfffffffd
jl 0x402101
cmp ecx, dword [esp + 0x14]
jg 0x402101
test ecx, ecx
jle 0x4023fe
mov esi, eax
sub esi, ecx
jg 0x402408
xor esi, esi
jmp 0x402408
cmp edx, eax
jle 0x40210d
mov esi, eax
dec esi
jmp 0x4013cd
xor esi, esi
sub edx, 1
jb 0x4013cd
mov esi, edx
jmp 0x4013cd
fdiv st(2), st(0)
mov eax, dword [esp + 0xc]
lea ecx, [eax + 0x1000000]
cmp eax, 0x2ffffff
ja 0x40219c
fucom st(2)
fnstsw ax
sahf
jbe 0x402144
fxch st(2)
fucom st(1)
fnstsw ax
sahf
fxch st(2)
ja 0x40219c
fdiv st(2), st(0)
mov eax, dword [esp + 0xc]
lea ecx, [eax + 0x2000000]
cmp eax, 0x1ffffff
ja 0x40219c
fucom st(2)
fnstsw ax
sahf
jbe 0x402169
fxch st(2)
fucom st(1)
fnstsw ax
sahf
fxch st(2)
ja 0x40219c
fdiv st(2), st(0)
mov eax, dword [esp + 0xc]
lea ecx, [eax + 0x3000000]
cmp eax, 0xffffff
ja 0x40219c
fucom st(2)
fnstsw ax
sahf
jbe 0x40366f
fxch st(2)
fucom st(1)
fstp st(1)
fnstsw ax
sahf
fldz
fxch st(1)
fxch st(2)
jbe 0x40366f
fstp st(0)
fstp st(0)
mov dword [esp + 0xc], ecx
mov esi, 6
mov eax, dword [esp + 4]
cmp eax, 0xffffffff
je 0x4021b4
mov esi, eax
sub esp, 0x18
fstp qword [esp + 8]
lea eax, [esp + 0x58]
mov dword [esp + 4], eax
lea eax, [esp + 0x7c]
mov dword [esp], eax
mov dword [esp + 0x10], esi
lea ecx, [esp + 0x30]
lea edx, [esp + 0x38]
call fcn.004036c0
add esp, 0x18
test eax, eax
je 0x402408
or dword [esp + 0xc], 0x80
jmp 0x402408
lea ecx, [esp + 0xa6]
mov edx, dword [esp + 0x54]
cmp eax, 4
jb 0x401cdd
mov dword [esp + 0x1c], esi
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 4]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov dword [esp + 4], edx
mov edx, esi
shr edx, 0x18
and edx, 0xf
mov ebx, dword [esp + 8]
movzx edx, byte [ebx + edx]
mov byte [ecx], dl
mov edx, esi
shr edx, 0x14
and edx, 0xf
movzx edx, byte [ebx + edx]
mov byte [ecx + 1], dl
mov edx, esi
shr edx, 0x10
and edx, 0xf
movzx edx, byte [ebx + edx]
mov byte [ecx + 2], dl
mov edx, esi
mov esi, dword [esp + 0x1c]
shld esi, eax, 0x10
shl eax, 0x10
shr edx, 0xc
and edx, 0xf
movzx edx, byte [ebx + edx]
mov byte [ecx + 3], dl
mov edx, dword [esp + 4]
add ecx, 4
mov dword [esp + 0x1c], esi
add edx, 0xfffffffc
jne 0x402220
mov edx, dword [esp + 0x54]
lea esi, [esp + 0xa6]
mov dword [esp + 0x1c], esi
mov ebx, dword [esp + 0x24]
mov esi, dword [esp + 0x14]
cmp byte [esp + 0x30], 0x41
setne al
shl al, 5
or al, 0x50
mov byte [esp + 0x39], al
mov eax, edx
test edx, edx
js 0x4022b3
mov byte [esp + 0x3a], 0x2b
jmp 0x4022ba
mov byte [esp + 0x3a], 0x2d
neg eax
cmp eax, 0x3e7
mov dword [esp + 0x14], esi
mov dword [esp + 4], ecx
ja 0x4022dc
cmp eax, 0x63
jbe 0x4023e2
mov dword [esp + 8], 5
jmp 0x4022e4
mov dword [esp + 8], 6
mov dword [esp + 0x10], 0
mov esi, eax
mov ecx, 0xcccccccd
mul ecx
shr edx, 2
and edx, 0xfffffffe
lea ebx, [edx + edx*4]
mov eax, esi
mov ecx, 0x66666667
imul ecx
mov ecx, edx
mov eax, edx
shr eax, 0x1f
sar ecx, 2
add ecx, eax
mov eax, ecx
mov edx, 0x66666667
imul edx
mov eax, esi
sub eax, ebx
mov ebx, dword [esp + 8]
mov byte [esp + 0x38], bl
or al, 0x30
mov byte [esp + ebx + 0x38], 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 + 0x37], cl
cmp byte [esp + 0x10], 0
mov ebx, dword [esp + 0x24]
jne 0x402739
mov eax, esi
mov ecx, 0x51eb851f
imul ecx
mov ecx, edx
mov eax, edx
shr eax, 0x1f
sar ecx, 5
add ecx, eax
mov eax, ecx
mov edx, 0x66666667
imul edx
mov eax, edx
shr eax, 0x1f
sar edx, 2
add edx, eax
add edx, edx
lea eax, [edx + edx*4]
sub ecx, eax
add cl, 0x30
lea eax, [esp + 0x38]
mov edx, dword [esp + 8]
mov byte [edx + eax - 2], cl
cmp esi, 0x3e8
jb 0x402739
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 + 0x38]
mov edx, dword [esp + 8]
mov byte [edx + eax - 3], cl
jmp 0x402739
cmp eax, 9
jbe 0x40272e
mov dword [esp + 8], 4
mov cl, 1
mov dword [esp + 0x10], ecx
jmp 0x4022ec
cmp edx, eax
jl 0x402404
mov edx, eax
sub edx, ecx
mov esi, edx
mov byte [esp + 0x38], 0
mov byte [esp + 0x44], 0
mov al, 0x2d
cmp byte [esp + 0xc], 0
js 0x40242d
mov al, 0x20
test byte [esp + 0xc], 4
jne 0x40242d
mov al, 0x2b
test byte [esp + 0xc], 2
je 0x402436
mov byte [esp + 0x44], 1
mov byte [esp + 0x45], al
mov ecx, dword [esp + 0x40]
cmp ecx, 0x7000
jne 0x402453
mov dword [esp + 0x10], 0
mov ecx, dword [esp + 0x18]
jmp 0x402a45
test ecx, ecx
mov dword [esp + 0x14], esi
jle 0x4024f6
xor edx, edx
test byte [esp + 0xc], 0x40
je 0x402481
mov esi, 0x258
sub esi, ecx
mov eax, esi
mov edx, 0xaaaaaaab
mul edx
shr edx, 1
lea eax, [edx + edx*2]
mov edx, esi
sub edx, eax
cmp ecx, dword [esp + 0x20]
jae 0x402582
mov dword [esp + 8], edx
xor eax, eax
lea ecx, [esp + 0xa4]
mov dword [esp + 0x10], ecx
jmp 0x4024c4
mov dword [esp + 8], ecx
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
movzx ecx, byte [ecx + eax]
lea esi, [edx + 1]
mov dword [esp + 0x10], esi
mov byte [edx], cl
inc eax
mov ecx, dword [esp + 0x40]
cmp eax, ecx
jae 0x4025cd
test byte [esp + 0xc], 0x40
je 0x4024a2
mov ecx, dword [esp + 8]
inc ecx
cmp ecx, 4
jne 0x40249e
mov ecx, dword [esp + 0xc]
and ecx, 0x40
shr ecx, 6
mov dword [esp + 8], ecx
movzx ecx, byte [0x452001]
xor cl, 0xf4
mov edx, dword [esp + 0x10]
mov byte [edx], cl
inc edx
jmp 0x4024a6
mov byte [esp + 0xa4], 0x30
lea eax, [esp + 0xa5]
mov dword [esp + 4], eax
test esi, esi
je 0x402528
movzx eax, byte [section..data]
xor al, 0x14
mov byte [esp + 0xa5], al
lea eax, [esp + 0xa6]
mov dword [esp + 4], eax
neg ecx
mov edx, esi
cmp esi, ecx
jl 0x402532
mov edx, ecx
test edx, edx
mov dword [esp + 8], edx
je 0x40277b
mov ecx, dword [esp + 4]
mov eax, ecx
and eax, 3
je 0x402777
mov esi, ecx
not esi
and esi, 3
lea ebx, [edx - 1]
cmp esi, ebx
jb 0x40255d
mov esi, ebx
lea eax, [esi + 1]
push eax
push 0x30
push ecx
call fcn.0040cd70
mov ecx, dword [esp + 0x10]
add esp, 0xc
add ecx, esi
inc ecx
sub ebx, esi
mov esi, dword [esp + 0x14]
mov edx, dword [esp + 8]
jmp 0x402781
xor ebx, ebx
lea ecx, [esp + 0xa4]
jmp 0x4025a8
mov esi, ecx
mov eax, dword [esp + 0x18]
movzx eax, byte [eax + ebx]
inc ecx
mov byte [esi], al
inc ebx
cmp ebx, dword [esp + 0x20]
jae 0x40266e
test byte [esp + 0xc], 0x40
je 0x402590
inc edx
cmp edx, 4
jne 0x402590
mov edx, dword [esp + 0xc]
and edx, 0x40
shr edx, 6
movzx eax, byte [0x452001]
xor al, 0xf4
mov byte [ecx], al
inc ecx
jmp 0x402590
mov esi, dword [esp + 0x10]
mov dword [esp + 4], esi
cmp dword [esp + 0x14], 0
je 0x4025fd
movzx ecx, byte [section..data]
mov ch, cl
add ch, cl
and ch, 0x28
sub cl, ch
add cl, 0x14
mov byte [edx + 1], cl
add edx, 2
mov ecx, dword [esp + 0x40]
mov dword [esp + 4], edx
mov edx, dword [esp + 0x20]
mov esi, edx
sub esi, ecx
cmp esi, dword [esp + 0x14]
mov esi, dword [esp + 0x14]
jbe 0x402616
lea edx, [ecx + esi]
mov dword [esp + 0x20], edx
cmp eax, edx
jae 0x402640
mov esi, dword [esp + 4]
nop
nop
mov ecx, dword [esp + 0x18]
movzx ecx, byte [ecx + eax]
mov byte [esi], cl
inc esi
inc eax
mov edx, dword [esp + 0x20]
cmp eax, edx
jb 0x402620
mov dword [esp + 4], esi
mov ecx, dword [esp + 0x40]
mov esi, dword [esp + 0x14]
mov eax, edx
not eax
and eax, ecx
not ecx
and ecx, edx
sub esi, ecx
add esi, eax
lea eax, [esp + 0xa4]
mov ecx, dword [esp + 0x10]
sub ecx, eax
add ecx, 0x3000000
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 4]
jmp 0x4028ee
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x40]
cmp ebx, ecx
jae 0x4026f6
mov dword [esp + 8], edx
mov eax, ecx
not eax
and eax, ebx
not ebx
and ebx, ecx
mov ecx, ebx
sub ecx, eax
test byte [esp + 0xc], 0x40
jne 0x4029bf
test ecx, ecx
mov edx, dword [esp + 4]
je 0x4035f4
mov dword [esp + 0x1c], ecx
mov ecx, edx
and ecx, 3
je 0x4035ec
mov ecx, 2
sub ecx, esi
and ecx, 3
not eax
add ebx, eax
cmp ecx, ebx
jb 0x4026c6
mov ecx, ebx
mov dword [esp + 0x1c], ecx
lea eax, [ecx + 1]
push eax
push 0x30
push dword [esp + 0xc]
call fcn.0040cd70
add esp, 0xc
mov eax, dword [esp + 0x1c]
lea edx, [esi + eax]
add edx, 2
sub ebx, eax
mov ecx, ebx
jmp 0x4035f4
mov ecx, edx
jmp 0x4029da
mov ebx, dword [esp + 0x24]
mov esi, dword [esp + 0x14]
mov edx, dword [esp + 4]
mov ecx, edx
lea eax, [esp + 0xa4]
sub ecx, eax
add ecx, 0x3000000
mov dword [esp + 0x10], ecx
test esi, esi
je 0x40276e
movzx eax, byte [section..data]
xor al, 0x14
mov byte [edx], al
inc edx
mov ecx, edx
jmp 0x4028ee
mov byte [esp + 0x38], 3
or al, 0x30
mov byte [esp + 0x3b], al
add dword [esp + 0x2c], 8
mov ecx, dword [esp + 4]
mov eax, ecx
sub eax, dword [esp + 0x1c]
mov dword [esp + 0x40], eax
lea eax, [esp + 0xa4]
sub ecx, eax
mov dword [esp + 0x20], ecx
xor edx, edx
mov dword [esp + 0x10], 0x3000001
mov ecx, eax
mov esi, dword [esp + 0x14]
jmp 0x402a49
xor esi, esi
mov ecx, edx
jmp 0x4028ee
mov ebx, edx
jmp 0x402781
mov ebx, edx
mov ecx, dword [esp + 4]
cmp ebx, 4
jl 0x4027c6
mov eax, ebx
cmp ebx, 7
jl 0x402792
mov eax, 7
neg eax
lea esi, [ebx + eax]
add esi, 3
and esi, 0xfffffffc
lea eax, [esi + 4]
push eax
push 0x30
push ecx
mov dword [esp + 0x10], ecx
call fcn.0040cd70
mov ecx, dword [esp + 0x10]
add esp, 0xc
add ecx, esi
add ecx, 4
sub ebx, esi
add ebx, 0xfffffffc
mov esi, dword [esp + 0x14]
mov edx, dword [esp + 8]
test ebx, ebx
je 0x4027ec
push ebx
push 0x30
push ecx
mov esi, ecx
call fcn.0040cd70
mov edx, dword [esp + 0x14]
add esp, 0xc
add esi, ebx
mov dword [esp + 4], esi
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x24]
jmp 0x4027f6
mov dword [esp + 4], ecx
mov ebx, dword [esp + 0x24]
mov eax, esi
mov esi, dword [esp + 0x20]
lea ecx, [esi + edx]
cmp ecx, eax
jle 0x40280b
mov esi, dword [esp + 0x14]
sub esi, edx
mov dword [esp + 0x20], esi
mov dword [esp + 0x1c], esi
test esi, esi
je 0x40286c
mov eax, dword [esp + 0x14]
mov esi, eax
cmp eax, ecx
jl 0x40281f
mov esi, ecx
mov dword [esp + 0x10], esi
mov esi, dword [esp + 0x1c]
mov ecx, esi
and ecx, 3
je 0x402872
xor esi, esi
mov eax, dword [esp + 4]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ebx, dword [esp + 0x18]
lea edx, [ebx + 1]
mov dword [esp + 0x18], edx
movzx edx, byte [ebx]
mov byte [eax + esi], dl
inc esi
cmp ecx, esi
jne 0x402840
add eax, esi
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x1c]
sub ecx, esi
mov ebx, dword [esp + 0x24]
mov edx, dword [esp + 8]
jmp 0x402874
mov eax, dword [esp + 4]
jmp 0x4028cc
mov ecx, esi
sub edx, dword [esp + 0x10]
cmp edx, 0xfffffffc
mov eax, dword [esp + 4]
ja 0x4028cc
mov edx, dword [esp + 0x18]
lea esi, [edx + 1]
mov dword [esp + 0x18], esi
movzx edx, byte [edx]
mov byte [eax], dl
mov edx, dword [esp + 0x18]
lea esi, [edx + 1]
mov dword [esp + 0x18], esi
movzx edx, byte [edx]
mov byte [eax + 1], dl
mov edx, dword [esp + 0x18]
lea esi, [edx + 1]
mov dword [esp + 0x18], esi
movzx edx, byte [edx]
mov byte [eax + 2], dl
mov edx, dword [esp + 0x18]
lea esi, [edx + 1]
mov dword [esp + 0x18], esi
movzx edx, byte [edx]
mov byte [eax + 3], dl
add eax, 4
add ecx, 0xfffffffc
jne 0x402881
mov esi, dword [esp + 0x1c]
add esi, dword [esp + 8]
mov ecx, esi
mov edx, dword [esp + 0x14]
xor ecx, edx
not esi
and esi, edx
add esi, esi
sub esi, ecx
mov dword [esp + 0x10], 0x3000001
mov ecx, eax
mov eax, dword [esp + 0xc]
test eax, 0x100
je 0x40291a
mov dword [esp + 4], ecx
mov ecx, eax
and ecx, 0x400
sete byte [esp + 0x38]
mov byte [esp + 0x39], 0x20
cmp eax, 0x1000000
jae 0x402930
mov ecx, dword [esp + 4]
lea eax, [esp + 0xa4]
sub ecx, eax
mov dword [esp + 0x20], ecx
xor edx, edx
mov ecx, eax
jmp 0x402a49
mov edx, eax
shr edx, 0x18
test eax, 0x800
jne 0x40295a
movzx eax, byte [edx + str._kMGT]
mov edx, ecx
shr edx, 0xa
neg edx
mov byte [esp + edx + 0x3a], al
cmp ecx, 1
mov eax, 0
adc al, 1
jmp 0x4029b6
mov dword [esp + 0x14], esi
movzx edx, byte [edx + str._KMGT]
mov byte [esp + 8], dl
mov edx, eax
shl edx, 0x15
sar edx, 0x1f
mov dword [esp + 0x1c], edx
cmp ecx, 1
mov ecx, 0
adc cl, 1
mov dword [esp + 0x30], ecx
lea esi, [esp + 0x38]
movzx ecx, byte [esp + 8]
mov edx, dword [esp + 0x1c]
mov byte [edx + esi + 2], cl
and eax, 0x1800
cmp eax, 0x800
jne 0x4035d7
mov eax, dword [esp + 0x30]
movzx eax, al
mov byte [esp + eax + 0x39], 0x69
inc eax
mov esi, dword [esp + 0x14]
mov ecx, dword [esp + 4]
jmp 0x4035e3
mov ebx, dword [esp + 0x24]
mov esi, dword [esp + 0x14]
mov edx, dword [esp + 4]
test ecx, ecx
jne 0x40363d
jmp 0x402702
mov eax, esi
cmp eax, 4
jb 0x402a08
mov edx, dword [ecx]
mov esi, 0x1010100
sub esi, edx
or esi, edx
not esi
test esi, 0x80808080
jne 0x402a0c
add ecx, 4
mov edx, eax
not edx
and edx, 4
and eax, 0xfffffffb
sub eax, edx
cmp eax, 3
ja 0x4029df
test eax, eax
je 0x402a1a
lea edx, [ecx + eax]
cmp byte [ecx], 0
je 0x402a1a
inc ecx
dec eax
jne 0x402a0f
mov ecx, edx
mov edx, ecx
add dword [esp + 0x2c], 4
mov ecx, dword [esp + 8]
sub edx, ecx
mov dword [esp + 0x20], edx
mov byte [esp + 0x44], 0
mov byte [esp + 0x38], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x10], 0
xor esi, esi
xor edx, edx
mov dword [esp + 8], ecx
mov dword [esp + 0x14], esi
mov eax, dword [esp + 0x20]
cmp edx, eax
jg 0x402a5b
mov edx, eax
mov dword [esp + 0x1c], eax
movsx eax, byte [esp + 0x44]
movsx esi, byte [esp + 0x38]
mov ecx, edx
mov edx, dword [esp + 0x14]
mov dword [esp + 4], ecx
add edx, ecx
add edx, eax
add edx, esi
mov esi, dword [esp + 0x34]
cmp esi, edx
jg 0x402a83
mov esi, edx
sub esi, edx
mov dword [esp + 0x34], esi
mov ecx, dword [esp + 0x1c]
sub dword [esp + 4], ecx
mov ecx, dword [esp + 0xc]
test cl, 1
mov esi, dword [esp + 0x28]
jne 0x402ac7
test cl, 0x10
jne 0x402aad
mov dword [esp + 0xc], 0
jmp 0x402ac7
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 4]
cmp ecx, edx
jg 0x402abb
mov ecx, edx
mov dword [esp + 4], ecx
mov dword [esp + 0x34], 0
mov edx, dword [esp + 8]
mov ecx, dword [esp + 0x34]
add ecx, dword [esp + 4]
je 0x402f19
test byte [esp + 0xc], 1
jne 0x402c2d
cmp dword [esp + 0x34], 0
jle 0x402c2d
mov ecx, dword [esp + 0x34]
jmp 0x402b0e
mov ecx, dword [esp + 0x34]
sub ecx, edx
test ecx, ecx
jle 0x402c24
mov eax, esi
sub eax, edi
add eax, 0x200
mov edx, ecx
mov dword [esp + 0x34], ecx
cmp ecx, eax
jl 0x402b23
mov edx, eax
cmp dword [ebp + 8], 0
jne 0x402b2d
mov edx, dword [esp + 0x34]
test edx, edx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x28], esi
je 0x402b80
mov eax, edi
and eax, 3
je 0x402b80
mov esi, edi
not esi
and esi, 3
lea ebx, [edx - 1]
cmp esi, ebx
jb 0x402b50
mov esi, ebx
lea eax, [esi + 1]
push eax
push 0x20
push edi
call fcn.0040cd70
mov ecx, ebx
add esp, 0xc
add edi, esi
inc edi
sub ecx, esi
mov esi, dword [esp + 0x28]
mov ebx, dword [esp + 0x24]
mov edx, dword [esp + 0x1c]
cmp ecx, 4
jge 0x402b87
jmp 0x402bc7
mov ecx, edx
cmp ecx, 4
jl 0x402bc7
mov eax, ecx
cmp ecx, 7
jl 0x402b93
mov eax, 7
neg eax
lea esi, [ecx + eax]
add esi, 3
and esi, 0xfffffffc
lea eax, [esi + 4]
push eax
push 0x20
push edi
mov ebx, ecx
call fcn.0040cd70
mov ecx, ebx
add esp, 0xc
add edi, esi
add edi, 4
sub ecx, esi
add ecx, 0xfffffffc
mov esi, dword [esp + 0x28]
mov ebx, dword [esp + 0x24]
mov edx, dword [esp + 0x1c]
test ecx, ecx
je 0x402be7
push ecx
push 0x20
push edi
mov esi, ebx
mov ebx, ecx
call fcn.0040cd70
mov edx, dword [esp + 0x28]
add esp, 0xc
add edi, ebx
mov ebx, esi
mov esi, dword [esp + 0x28]
cmp dword [ebp + 8], 0
je 0x402b00
mov eax, edi
sub eax, esi
cmp eax, 0x1ff
jl 0x402b00
add dword [esp + 0x4c], eax
push eax
push dword [ebp + 0xc]
push esi
call dword [ebp + 8]
add esp, 0xc
test eax, eax
je 0x4036a3
mov edi, eax
mov esi, eax
mov edx, dword [esp + 0x1c]
jmp 0x402b00
mov dword [esp + 0x34], ecx
movzx eax, byte [esp + 0x44]
lea ecx, [esp + 0x45]
mov dword [esp + 0x18], ecx
jmp 0x402c49
mov edi, eax
mov esi, eax
movzx eax, byte [esp + 0x44]
test al, al
je 0x402d4d
movsx edx, al
mov ecx, esi
sub ecx, edi
add ecx, 0x200
cmp ecx, edx
jl 0x402c64
mov ecx, edx
cmp dword [ebp + 8], 0
jne 0x402c6c
mov ecx, edx
sub al, cl
mov byte [esp + 0x44], al
test ecx, ecx
je 0x402d0b
mov eax, ecx
and eax, 3
je 0x402d40
mov ebx, ecx
mov dword [esp + 0x28], esi
xor edx, edx
nop
nop
nop
mov esi, dword [esp + 0x18]
lea ecx, [esi + 1]
mov dword [esp + 0x18], ecx
movzx ecx, byte [esi]
mov byte [edi + edx], cl
inc edx
cmp eax, edx
jne 0x402c90
add edi, edx
mov ecx, ebx
mov eax, ebx
sub eax, edx
mov esi, dword [esp + 0x28]
mov ebx, dword [esp + 0x24]
cmp ecx, 4
jb 0x402d0b
nop
nop
nop
nop
nop
mov ecx, dword [esp + 0x18]
lea edx, [ecx + 1]
mov dword [esp + 0x18], edx
movzx ecx, byte [ecx]
mov byte [edi], cl
mov ecx, dword [esp + 0x18]
lea edx, [ecx + 1]
mov dword [esp + 0x18], edx
movzx ecx, byte [ecx]
mov byte [edi + 1], cl
mov ecx, dword [esp + 0x18]
lea edx, [ecx + 1]
mov dword [esp + 0x18], edx
movzx ecx, byte [ecx]
mov byte [edi + 2], cl
mov ecx, dword [esp + 0x18]
lea edx, [ecx + 1]
mov dword [esp + 0x18], edx
movzx ecx, byte [ecx]
mov byte [edi + 3], cl
add edi, 4
add eax, 0xfffffffc
jne 0x402cc0
cmp dword [ebp + 8], 0
je 0x402c44
mov eax, edi
sub eax, esi
cmp eax, 0x1ff
jl 0x402c44
add dword [esp + 0x4c], eax
push eax
push dword [ebp + 0xc]
push esi
call dword [ebp + 8]
add esp, 0xc
test eax, eax
jne 0x402c40
jmp 0x4036a3
mov eax, ecx
cmp ecx, 4
jae 0x402cc0
jmp 0x402d0b
mov eax, dword [esp + 0x10]
mov ecx, eax
shr ecx, 0x18
mov dword [esp + 0x1c], 0
test byte [esp + 0xc], 0x40
mov dword [esp + 0x30], ecx
je 0x402d81
and eax, 0xffffff
add eax, dword [esp + 4]
inc ecx
xor edx, edx
div ecx
mov eax, dword [esp + 0x30]
sub eax, edx
mov dword [esp + 0x1c], eax
cmp dword [esp + 4], 0
jle 0x4035c2
mov ecx, dword [esp + 4]
jmp 0x402dbc
mov esi, dword [esp + 0x28]
mov ebx, dword [esp + 0x24]
mov ecx, dword [esp + 4]
sub ecx, dword [esp + 0x10]
test ecx, ecx
mov edx, dword [esp + 8]
jle 0x402f14
mov eax, esi
sub eax, edi
add eax, 0x200
mov edx, ecx
cmp ecx, eax
jl 0x402dcd
mov edx, eax
cmp dword [ebp + 8], 0
mov eax, dword [esp + 0xc]
jne 0x402dd9
mov edx, ecx
test al, 0x40
mov dword [esp + 4], ecx
mov dword [esp + 0x28], esi
mov dword [esp + 0x10], edx
jne 0x402e30
test edx, edx
mov edx, dword [esp + 0x30]
je 0x402e3f
mov eax, edi
and eax, 3
mov ecx, dword [esp + 0x1c]
je 0x402e34
mov ebx, edi
not ebx
and ebx, 3
mov eax, dword [esp + 0x10]
lea esi, [eax - 1]
cmp ebx, esi
jb 0x402e10
mov ebx, esi
lea eax, [ebx + 1]
push eax
push 0x30
push edi
call fcn.0040cd70
add esp, 0xc
add edi, ebx
inc edi
sub esi, ebx
mov edx, dword [esp + 0x30]
jmp 0x402e43
mov esi, edx
jmp 0x402e7c
mov esi, dword [esp + 0x10]
cmp esi, 4
jge 0x402e4c
jmp 0x402e84
mov esi, dword [esp + 0x10]
mov ecx, dword [esp + 0x1c]
cmp esi, 4
jl 0x402e84
mov eax, esi
cmp esi, 7
jl 0x402e58
mov eax, 7
neg eax
lea ebx, [esi + eax]
add ebx, 3
and ebx, 0xfffffffc
lea eax, [ebx + 4]
push eax
push 0x30
push edi
call fcn.0040cd70
add esp, 0xc
add edi, ebx
add edi, 4
sub esi, ebx
add esi, 0xfffffffc
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x1c]
test esi, esi
jne 0x402efa
mov dword [esp + 0x1c], ecx
cmp dword [ebp + 8], 0
je 0x402da0
mov eax, edi
mov esi, dword [esp + 0x28]
sub eax, esi
mov ecx, eax
and ecx, 1
mov edx, eax
xor edx, 1
lea ecx, [edx + ecx*2]
cmp ecx, 0x200
jl 0x402da4
add dword [esp + 0x4c], eax
push eax
push dword [ebp + 0xc]
push esi
call dword [ebp + 8]
add esp, 0xc
test eax, eax
mov ebx, dword [esp + 0x24]
je 0x4036a3
mov edi, eax
mov esi, eax
jmp 0x402da8
movzx eax, byte [0x452001]
mov ecx, eax
add cl, al
and cl, 0xe8
sub al, cl
add al, 0xf4
xor ecx, ecx
mov byte [edi], al
inc edi
dec esi
je 0x402e88
mov al, 0x30
test byte [esp + 0xc], 0x40
je 0x402ef4
cmp ecx, edx
je 0x402ee0
mov ebx, ecx
and ebx, 1
xor ecx, 1
lea ecx, [ecx + ebx*2]
jmp 0x402ef4
movzx eax, byte [esp + 0x44]
lea ecx, [esp + 0x45]
mov dword [esp + 0x18], ecx
jmp 0x402f3d
mov edi, eax
mov esi, eax
mov edx, dword [esp + 8]
movzx eax, byte [esp + 0x44]
test al, al
je 0x40305d
movsx edx, al
mov ecx, esi
sub ecx, edi
add ecx, 0x200
cmp ecx, edx
jl 0x402f58
mov ecx, edx
cmp dword [ebp + 8], 0
jne 0x402f60
mov ecx, edx
sub al, cl
mov byte [esp + 0x44], al
test ecx, ecx
je 0x40300b
mov eax, ecx
and eax, 3
je 0x403050
mov ebx, ecx
mov dword [esp + 0x28], esi
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov esi, dword [esp + 0x18]
lea ecx, [esi + 1]
mov dword [esp + 0x18], ecx
movzx ecx, byte [esi]
mov byte [edi + edx], cl
inc edx
cmp eax, edx
jne 0x402f90
add edi, edx
mov ecx, ebx
mov eax, ebx
sub eax, edx
mov esi, dword [esp + 0x28]
mov ebx, dword [esp + 0x24]
cmp ecx, 4
jb 0x40300b
nop
nop
nop
nop
nop
mov ecx, dword [esp + 0x18]
lea edx, [ecx + 1]
mov dword [esp + 0x18], edx
movzx ecx, byte [ecx]
mov byte [edi], cl
mov ecx, dword [esp + 0x18]
lea edx, [ecx + 1]
mov dword [esp + 0x18], edx
movzx ecx, byte [ecx]
mov byte [edi + 1], cl
mov ecx, dword [esp + 0x18]
lea edx, [ecx + 1]
mov dword [esp + 0x18], edx
movzx ecx, byte [ecx]
mov byte [edi + 2], cl
mov ecx, dword [esp + 0x18]
lea edx, [ecx + 1]
mov dword [esp + 0x18], edx
movzx ecx, byte [ecx]
mov byte [edi + 3], cl
add edi, 4
add eax, 0xfffffffc
jne 0x402fc0
cmp dword [ebp + 8], 0
je 0x402f34
mov eax, edi
sub eax, esi
lea ecx, [eax + 1]
cmp ecx, 0x200
jl 0x402f34
add dword [esp + 0x4c], eax
push eax
push dword [ebp + 0xc]
push esi
call dword [ebp + 8]
add esp, 0xc
test eax, eax
jne 0x402f30
jmp 0x4036a3
mov eax, ecx
cmp ecx, 4
jae 0x402fc0
jmp 0x40300b
mov dword [esp + 0x28], esi
mov ecx, dword [esp + 0x20]
test ecx, ecx
jne 0x4032e4
mov ecx, dword [esp + 0x14]
test ecx, ecx
mov esi, dword [esp + 0x28]
jne 0x4031bc
lea eax, [esp + 0x39]
mov dword [esp + 0x18], eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx eax, byte [esp + 0x38]
test al, al
je 0x40349d
movsx ecx, al
mov eax, ecx
cmp dword [ebp + 8], 0
je 0x4030b7
mov eax, esi
sub eax, edi
add eax, 0x200
cmp eax, ecx
jl 0x4030b7
mov eax, ecx
sub cl, al
mov byte [esp + 0x38], cl
test eax, eax
je 0x40315b
mov ecx, eax
and ecx, 3
je 0x4031a0
mov dword [esp + 0x28], esi
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov esi, dword [esp + 0x18]
lea ebx, [esi + 1]
mov dword [esp + 0x18], ebx
movzx ebx, byte [esi]
mov byte [edi + edx], bl
inc edx
cmp ecx, edx
jne 0x4030e0
add edi, edx
mov ecx, eax
sub ecx, edx
mov esi, dword [esp + 0x28]
mov ebx, dword [esp + 0x24]
cmp eax, 4
jb 0x40315b
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 0x18]
lea edx, [eax + 1]
mov dword [esp + 0x18], edx
movzx eax, byte [eax]
mov byte [edi], al
mov eax, dword [esp + 0x18]
lea edx, [eax + 1]
mov dword [esp + 0x18], edx
movzx eax, byte [eax]
mov byte [edi + 1], al
mov eax, dword [esp + 0x18]
lea edx, [eax + 1]
mov dword [esp + 0x18], edx
movzx eax, byte [eax]
mov byte [edi + 2], al
mov eax, dword [esp + 0x18]
lea edx, [eax + 1]
mov dword [esp + 0x18], edx
movzx eax, byte [eax]
mov byte [edi + 3], al
add edi, 4
add ecx, 0xfffffffc
jne 0x403110
cmp dword [ebp + 8], 0
je 0x403090
mov eax, edi
sub eax, esi
lea ecx, [eax + 1]
cmp ecx, 0x200
jl 0x403090
add dword [esp + 0x4c], eax
push eax
push dword [ebp + 0xc]
push esi
call dword [ebp + 8]
add esp, 0xc
test eax, eax
je 0x4036a3
mov edi, eax
mov esi, eax
jmp 0x403090
mov ecx, eax
cmp eax, 4
jae 0x403110
jmp 0x40315b
mov ecx, dword [esp + 0x14]
sub ecx, edx
je 0x40307d
mov eax, esi
sub eax, edi
add eax, 0x200
mov edx, ecx
mov dword [esp + 0x14], ecx
cmp ecx, eax
jl 0x4031d1
mov edx, eax
cmp dword [ebp + 8], 0
jne 0x4031db
mov edx, dword [esp + 0x14]
test edx, edx
mov dword [esp + 8], edx
mov dword [esp + 0x28], esi
je 0x403230
mov eax, edi
and eax, 3
je 0x403230
mov ebx, edi
not ebx
and ebx, 3
lea esi, [edx - 1]
cmp ebx, esi
jb 0x4031fe
mov ebx, esi
lea eax, [ebx + 1]
push eax
push 0x30
push edi
call fcn.0040cd70
add esp, 0xc
add edi, ebx
inc edi
sub esi, ebx
mov ebx, dword [esp + 0x24]
mov edx, dword [esp + 8]
cmp esi, 4
jge 0x403237
jmp 0x40326f
mov esi, edx
cmp esi, 4
jl 0x40326f
mov eax, esi
cmp esi, 7
jl 0x403243
mov eax, 7
neg eax
lea ebx, [esi + eax]
add ebx, 3
and ebx, 0xfffffffc
lea eax, [ebx + 4]
push eax
push 0x30
push edi
call fcn.0040cd70
add esp, 0xc
add edi, ebx
add edi, 4
sub esi, ebx
add esi, 0xfffffffc
mov ebx, dword [esp + 0x24]
mov edx, dword [esp + 8]
test esi, esi
je 0x403285
push esi
push 0x30
push edi
call fcn.0040cd70
mov edx, dword [esp + 0x14]
add esp, 0xc
add edi, esi
mov esi, dword [esp + 0x28]
cmp dword [ebp + 8], 0
je 0x4031b0
mov eax, edi
sub eax, esi
cmp eax, 0x1ff
jl 0x4031b0
add dword [esp + 0x4c], eax
push eax
push dword [ebp + 0xc]
push esi
call dword [ebp + 8]
add esp, 0xc
test eax, eax
je 0x4036a3
mov edi, eax
mov esi, eax
mov edx, dword [esp + 8]
jmp 0x4031b0
mov edx, ebx
mov ebx, esi
mov esi, dword [esp + 8]
mov ecx, dword [esp + 4]
sub ecx, esi
je 0x40306d
mov eax, dword [esp + 0x28]
sub eax, edi
add eax, 0x200
mov esi, ecx
cmp ecx, eax
jl 0x4032f7
mov esi, eax
cmp dword [ebp + 8], 0
jne 0x4032ff
mov esi, ecx
cmp esi, 4
mov dword [esp + 8], esi
mov dword [esp + 4], ecx
jl 0x403360
lea eax, [esi - 4]
mov dword [esp + 0x1c], eax
shr eax, 2
inc eax
and eax, 7
je 0x403364
shl eax, 2
mov ebx, edx
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [ebx + edx]
mov dword [edi + edx], ecx
add edx, 4
cmp eax, edx
jne 0x403330
add edi, edx
mov esi, dword [esp + 8]
mov ecx, esi
sub ecx, edx
add ebx, edx
mov eax, ecx
mov edx, ebx
mov ebx, dword [esp + 0x24]
cmp dword [esp + 0x1c], 0x1c
jae 0x403370
jmp 0x4033b1
mov eax, esi
jmp 0x4033b1
mov ecx, esi
cmp dword [esp + 0x1c], 0x1c
jb 0x4033b1
nop
nop
nop
mov eax, dword [edx]
mov dword [edi], eax
mov eax, dword [edx + 4]
mov dword [edi + 4], eax
mov eax, dword [edx + 8]
mov dword [edi + 8], eax
mov eax, dword [edx + 0xc]
mov dword [edi + 0xc], eax
mov eax, dword [edx + 0x10]
mov dword [edi + 0x10], eax
mov eax, dword [edx + 0x14]
mov dword [edi + 0x14], eax
mov eax, dword [edx + 0x18]
mov dword [edi + 0x18], eax
mov eax, dword [edx + 0x1c]
mov dword [edi + 0x1c], eax
add edi, 0x20
add edx, 0x20
lea eax, [ecx - 0x20]
add ecx, 0xffffffdc
cmp ecx, 0xfffffff8
mov ecx, eax
jb 0x403370
test eax, eax
je 0x403441
mov ecx, eax
and ecx, 7
je 0x403490
mov esi, edx
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
movzx ebx, byte [esi + edx]
mov byte [edi + edx], bl
inc edx
cmp ecx, edx
jne 0x4033d0
add edi, edx
mov ecx, eax
sub ecx, edx
add esi, edx
mov ebx, dword [esp + 0x24]
mov edx, esi
mov esi, dword [esp + 8]
cmp eax, 8
jb 0x403441
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx eax, byte [edx]
mov byte [edi], al
movzx eax, byte [edx + 1]
mov byte [edi + 1], al
movzx eax, byte [edx + 2]
mov byte [edi + 2], al
movzx eax, byte [edx + 3]
mov byte [edi + 3], al
movzx eax, byte [edx + 4]
mov byte [edi + 4], al
movzx eax, byte [edx + 5]
mov byte [edi + 5], al
movzx eax, byte [edx + 6]
mov byte [edi + 6], al
movzx eax, byte [edx + 7]
add edx, 8
mov byte [edi + 7], al
add edi, 8
add ecx, 0xfffffff8
jne 0x403400
cmp dword [ebp + 8], 0
je 0x4032d8
mov esi, ebx
mov ebx, edx
mov eax, edi
mov edx, dword [esp + 0x28]
sub eax, edx
lea ecx, [eax + 1]
cmp ecx, 0x200
jl 0x4032d0
add dword [esp + 0x4c], eax
push eax
push dword [ebp + 0xc]
push edx
call dword [ebp + 8]
add esp, 0xc
test eax, eax
je 0x4036a3
mov edi, eax
mov dword [esp + 0x28], eax
jmp 0x4032d0
mov ecx, eax
cmp eax, 8
jae 0x403400
jmp 0x403441
test byte [esp + 0xc], 1
je 0x4034b1
cmp dword [esp + 0x34], 0
jle 0x4034b1
mov ecx, dword [esp + 0x34]
jne 0x4034c8
inc ebx
jmp 0x40103b
mov ecx, dword [esp + 0x34]
sub ecx, edx
je 0x4034b1
mov eax, esi
sub eax, edi
add eax, 0x200
mov edx, ecx
mov dword [esp + 0x34], ecx
cmp ecx, eax
jl 0x4034dd
mov edx, eax
cmp dword [ebp + 8], 0
jne 0x4034e7
mov edx, dword [esp + 0x34]
test edx, edx
mov dword [esp + 0xc], edx
mov dword [esp + 0x28], esi
je 0x403530
mov eax, edi
and eax, 3
je 0x403530
mov ebx, edi
not ebx
and ebx, 3
lea esi, [edx - 1]
cmp ebx, esi
jb 0x40350a
mov ebx, esi
lea eax, [ebx + 1]
push eax
push 0x20
push edi
call fcn.0040cd70
add esp, 0xc
add edi, ebx
inc edi
sub esi, ebx
mov ebx, dword [esp + 0x24]
cmp esi, 4
jge 0x403537
jmp 0x40356b
mov esi, edx
cmp esi, 4
jl 0x40356b
mov eax, esi
cmp esi, 7
jl 0x403543
mov eax, 7
neg eax
lea ebx, [esi + eax]
add ebx, 3
and ebx, 0xfffffffc
lea eax, [ebx + 4]
push eax
push 0x20
push edi
call fcn.0040cd70
add esp, 0xc
add edi, ebx
add edi, 4
sub esi, ebx
add esi, 0xfffffffc
mov ebx, dword [esp + 0x24]
test esi, esi
je 0x40357d
push esi
push 0x20
push edi
call fcn.0040cd70
add esp, 0xc
add edi, esi
mov esi, dword [esp + 0x28]
mov edx, dword [esp + 0xc]
cmp dword [ebp + 8], 0
je 0x4034c0
mov eax, edi
sub eax, esi
cmp eax, 0x1ff
jl 0x4034c0
add dword [esp + 0x4c], eax
push eax
push dword [ebp + 0xc]
push esi
call dword [ebp + 8]
add esp, 0xc
test eax, eax
je 0x4036a3
mov edi, eax
mov esi, eax
mov edx, dword [esp + 0xc]
jmp 0x4034c0
mov dword [esp + 0x28], esi
lea eax, [esp + 0x45]
mov dword [esp + 0x18], eax
mov edx, dword [esp + 8]
jmp 0x403061
mov esi, dword [esp + 0x14]
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x30]
mov byte [esp + 0x38], al
jmp 0x40291a
mov edx, dword [esp + 4]
mov ecx, dword [esp + 0x1c]
cmp ecx, 4
mov ebx, dword [esp + 0x24]
jb 0x403623
mov esi, ecx
and esi, 0xfffffffc
push esi
push 0x30
push edx
mov dword [esp + 0x10], edx
mov dword [esp + 0x28], ecx
call fcn.0040cd70
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x10]
add esp, 0xc
add edx, esi
and ecx, 3
mov esi, dword [esp + 0x14]
test ecx, ecx
jne 0x40363d
jmp 0x402702
mov byte [edx], 0x30
dec ecx
inc edx
test ecx, ecx
je 0x402702
test byte [esp + 0xc], 0x40
je 0x403630
mov eax, dword [esp + 8]
inc eax
mov dword [esp + 8], eax
cmp eax, 4
jne 0x403630
movzx eax, byte [0x452001]
xor al, 0xf4
mov byte [edx], al
mov dword [esp + 8], 0
inc edx
test ecx, ecx
jne 0x40363d
jmp 0x402702
fstp st(1)
fdivp st(1)
or dword [esp + 0xc], 0x4000000
jmp 0x4021a4
cmp dword [ebp + 8], 0
je 0x4036a9
mov eax, edi
sub eax, esi
test eax, eax
jle 0x4036ac
add dword [esp + 0x4c], eax
push eax
push dword [ebp + 0xc]
push esi
call dword [ebp + 8]
add esp, 0xc
mov edi, eax
mov esi, eax
jmp 0x4036ac
xor edi, edi
xor esi, esi
jmp 0x4036ac
mov byte [edi], 0
mov eax, dword [esp + 0x4c]
add eax, edi
sub eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret