Function at 0x401000
Capabilities:
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 + 0x20], 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 0x4010af
cmp al, 0x25
je 0x401108
test al, al
mov esi, dword [esp + 0x28]
je 0x4036a0
cmp dword [ebp + 8], 0
je 0x401037
mov ecx, edi
sub ecx, esi
lea edx, [ecx + 1]
cmp edx, 0x200
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 0x4036c3
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 ebx, ebx
jmp 0x401123
mov edx, 1
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
or ebx, edx
inc ecx
movzx eax, byte [ecx - 1]
lea esi, [eax - 0x20]
cmp esi, 0x3f
ja case.0x401134.33
mov edx, 2
jmp dword [esi*4 + 0x448564]
mov edx, 4
jmp case.0x401134.43
mov edx, 0x400
jmp case.0x401134.43
mov edx, 0x100
test ebx, 0x100
je case.0x401134.43
mov edx, ebx
and edx, 0x800
add edx, 0x800
jmp case.0x401134.43
mov edx, 8
jmp case.0x401134.43
mov edx, 0x40
jmp case.0x401134.43
or ebx, 0x10
movzx eax, byte [ecx]
jmp 0x40117d
dec ecx
mov dword [esp + 0xc], ebx
cmp al, 0x2a
mov esi, dword [esp + 0x28]
jne 0x40119d
mov eax, dword [esp + 0x20]
mov ebx, dword [eax]
add eax, 4
mov dword [esp + 0x20], eax
movzx eax, byte [ecx + 1]
inc ecx
jmp 0x4011cb
mov edx, eax
add dl, 0xd0
xor ebx, ebx
cmp dl, 9
ja 0x4011cb
xor ebx, ebx
nop
nop
nop
nop
nop
movzx eax, al
lea edx, [ebx + ebx*4]
lea ebx, [eax + edx*2]
add ebx, 0xffffffd0
movzx eax, byte [ecx + 1]
inc ecx
mov edx, eax
add dl, 0xd0
cmp dl, 0xa
jb 0x4011b0
mov dword [esp + 0x10], 0xffffffff
cmp al, 0x2e
mov dword [esp + 0x44], ebx
jne 0x401257
movzx eax, byte [ecx + 1]
cmp al, 0x2a
jne 0x4011fd
mov eax, dword [esp + 0x20]
mov edx, dword [eax]
mov dword [esp + 0x10], edx
add eax, 4
mov dword [esp + 0x20], eax
movzx eax, byte [ecx + 2]
add ecx, 2
jmp 0x401257
inc ecx
mov edx, eax
add dl, 0xd0
mov dword [esp + 0x10], 0
cmp dl, 9
ja 0x401257
xor ebx, ebx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov edx, ebx
and edx, 0xfffffff5
mov esi, ebx
and esi, 0xa
or ebx, 0xa
imul ebx, esi
xor esi, 0xa
imul esi, edx
add ebx, esi
movzx eax, al
add ebx, eax
add ebx, 0xffffffd0
movzx eax, byte [ecx + 1]
inc ecx
mov edx, eax
add dl, 0xd0
cmp dl, 0xa
jb 0x401220
mov dword [esp + 0x10], ebx
mov esi, dword [esp + 0x28]
movzx eax, al
add eax, 0xffffffb7
cmp eax, 0x31
ja case.0x401262.74
jmp dword [eax*4 + 0x448664]
inc ecx
movzx edx, byte [ecx]
mov ebx, ecx
movzx eax, dl
add eax, 0xffffffbf
cmp eax, 0x37
mov dword [esp + 0x50], ebx
ja case.0x401282.67
jmp dword [eax*4 + 0x44872c]
test byte [esp + 0xc], 0x20
jne 0x40174c
mov eax, dword [esp + 0x20]
mov ecx, dword [eax]
add eax, 4
mov dword [esp + 0x20], eax
mov dword [esp + 8], 0
cmp dl, 0x75
je 0x4020f5
test ecx, ecx
mov esi, dword [esp + 0x10]
jns 0x4020d9
neg ecx
mov dword [esp + 0x18], ecx
mov edx, dword [esp + 0xc]
or edx, 0x80
jmp 0x402117
movzx edx, byte [ecx + 1]
cmp dl, 0x6c
jne 0x40179b
or dword [esp + 0xc], 0x20
add ecx, 2
jmp case.0x401262.74
lea ebx, [ecx + 1]
movzx edx, byte [ecx + 1]
cmp edx, 0x33
je 0x401bdd
cmp edx, 0x36
jne 0x40126f
cmp byte [ecx + 2], 0x34
jne 0x401be7
or dword [esp + 0xc], 0x20
add ecx, 3
jmp case.0x401262.74
cmp byte [ecx + 1], 0x68
je 0x4017a1
inc ecx
or dword [esp + 0xc], 0x200
jmp case.0x401262.74
mov eax, str.0123456789ABCDEFXP
cmp dl, 0x45
je 0x401341
mov eax, str.0123456789abcdefxp
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x20]
fld qword [eax]
mov esi, 6
mov eax, dword [esp + 0x10]
cmp eax, 0xffffffff
je 0x40135b
mov esi, eax
mov eax, esi
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 + 0x2c]
lea edx, [esp + 0x3c]
call fcn.004036e0
add esp, 0x18
test eax, eax
je 0x401398
or dword [esp + 0xc], 0x80
add dword [esp + 0x20], 8
mov byte [esp + 0x30], 0
mov byte [esp + 0x3c], 0
mov edx, dword [esp + 0xc]
mov ecx, edx
xor ecx, 0xffffff7f
or edx, 0x80
mov al, 0x2d
test edx, ecx
jne 0x4013d1
mov al, 0x20
test byte [esp + 0xc], 4
jne 0x4013d1
mov al, 0x2b
test byte [esp + 0xc], 2
je 0x4013da
mov byte [esp + 0x3c], 1
mov byte [esp + 0x3d], al
mov ecx, dword [esp + 0x38]
mov dword [esp + 8], 0
mov eax, dword [esp + 0x14]
cmp ecx, 0x7000
mov dword [esp + 0x18], eax
je 0x402977
mov dword [esp + 4], ecx
movzx ecx, byte [eax]
mov byte [esp + 0xa4], cl
lea eax, [esp + 0xa5]
test esi, esi
je 0x40142b
movzx ecx, byte [section..data]
xor cl, 0xd8
mov byte [esp + 0xa5], cl
lea eax, [esp + 0xa6]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x24]
lea edx, [eax - 1]
cmp edx, esi
jbe 0x401441
lea eax, [esi + 1]
mov dword [esp + 0x24], eax
cmp eax, 2
mov dword [esp + 0x1c], esi
mov dword [esp + 8], eax
jb 0x401502
mov ebx, esi
cmp esi, edx
jb 0x40145a
mov ebx, edx
lea esi, [ebx - 1]
mov edx, 1
cmp esi, 7
jb 0x4014d9
mov dword [esp + 0x48], ebx
mov esi, ebx
and esi, 0xfffffff8
xor edx, edx
mov ebx, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
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 0x401480
add ecx, edx
mov dword [esp + 0x10], ecx
inc edx
mov ebx, dword [esp + 0x48]
and ebx, 7
je 0x401502
mov esi, dword [esp + 0x18]
add esi, edx
xor edx, edx
mov ecx, dword [esp + 0x10]
nop
nop
nop
nop
nop
nop
movzx eax, byte [esi + edx]
mov byte [ecx + edx], al
inc edx
cmp ebx, edx
jne 0x4014f0
add ecx, edx
mov dword [esp + 0x10], ecx
mov eax, dword [esp + 0x2c]
movzx eax, byte [eax + 0xe]
mov byte [esp + 0x31], al
mov ecx, dword [esp + 4]
mov eax, ecx
dec eax
js 0x401db6
mov byte [esp + 0x32], 0x2b
jmp 0x401dc2
mov eax, str.0123456789ABCDEFXP
cmp dl, 0x41
je 0x401534
mov eax, str.0123456789abcdefxp
mov dword [esp + 8], eax
mov dword [esp + 0x54], edx
mov dword [esp + 0x2c], 6
mov eax, dword [esp + 0x10]
cmp eax, 0xffffffff
mov ecx, dword [esp + 0x20]
je 0x401555
mov dword [esp + 0x2c], eax
mov dword [esp + 0x20], ecx
mov ebx, dword [ecx + 4]
mov edx, dword [esp + 0xc]
mov ecx, edx
or ecx, 0x80
mov eax, ecx
mov esi, ebx
test ebx, ebx
js 0x401572
mov eax, edx
mov edx, dword [esp + 0x20]
mov edx, dword [edx]
mov dword [esp + 4], edx
mov edx, eax
xor edx, 0xffffff7f
mov bl, 0x2d
test edx, ecx
mov dword [esp + 0xc], eax
jne 0x4016d1
mov bl, 0x20
test al, 4
jne 0x4016d1
mov bl, 0x2b
test al, 2
jne 0x4016d1
mov dword [esp + 0x1c], 0
jmp 0x4016db
mov dword [esp + 0x2c], str.0123456789ABCDEFXP
cmp dl, 0x42
je 0x4015c8
mov dword [esp + 0x2c], str.0123456789abcdefxp
mov byte [esp + 0x3c], 0
test byte [esp + 0xc], 8
je 0x4015ea
cmp dl, 0x42
setne al
mov word [esp + 0x3c], 0x3002
shl al, 5
or al, 0x42
mov byte [esp + 0x3e], al
mov dword [esp + 0x24], 0x180
mov dword [esp + 4], 1
test byte [esp + 0xc], 0x20
je 0x401829
mov edx, dword [esp + 0x20]
mov esi, dword [edx]
mov ecx, dword [edx + 4]
mov eax, 8
jmp 0x401836
mov esi, str.0123456789ABCDEFXP
cmp dl, 0x47
je 0x401627
mov esi, str.0123456789abcdefxp
mov eax, dword [esp + 0x20]
fld qword [eax]
mov ecx, dword [esp + 0x10]
cmp ecx, 1
mov eax, ecx
adc eax, 0
mov edx, 6
cmp ecx, 0xffffffff
je 0x401645
mov edx, eax
mov dword [esp + 0x1c], edx
lea eax, [edx - 1]
or eax, 0x80000000
sub esp, 0x18
fstp qword [esp + 8]
lea ecx, [esp + 0x50]
mov dword [esp + 4], ecx
lea ecx, [esp + 0x7c]
mov dword [esp], ecx
mov dword [esp + 0x10], eax
lea ecx, [esp + 0x2c]
lea edx, [esp + 0x3c]
call fcn.004036e0
add esp, 0x18
test eax, eax
je 0x401687
or dword [esp + 0xc], 0x80
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x1c]
cmp ecx, edx
jb 0x401695
mov ecx, edx
mov dword [esp + 0x2c], esi
mov eax, ecx
cmp ecx, 2
jb 0x401715
mov ecx, dword [esp + 0x14]
mov dword [esp + 4], ecx
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [esp + 4]
cmp byte [ecx + eax - 1], 0x30
jne 0x401715
mov esi, eax
lea ecx, [edx - 1]
dec esi
mov eax, esi
cmp esi, 2
jb 0x401717
cmp edx, 1
mov edx, ecx
jne 0x4016b0
jmp 0x401717
mov byte [esp + 0x3d], bl
mov al, 1
mov dword [esp + 0x1c], eax
mov ebx, esi
and esi, 0xfffff
shr ebx, 0x14
and ebx, 0x7ff
mov ecx, dword [esp + 4]
je 0x401c0e
add ebx, 0xfffffc01
mov eax, 0xffffffff
add ecx, eax
mov eax, 0xfffff
adc esi, eax
add ecx, 1
adc esi, 0
jmp 0x401c21
mov ecx, edx
add dword [esp + 0x20], 8
mov dword [esp + 0x24], eax
mov edx, dword [esp + 0x38]
cmp edx, 0xfffffffd
jl 0x4017b1
cmp edx, dword [esp + 0x1c]
jg 0x4017b1
test edx, edx
jle 0x4020ca
mov esi, eax
sub esi, edx
jg 0x402498
xor esi, esi
jmp 0x402498
mov ecx, dword [esp + 0x20]
lea esi, [ecx + 8]
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
cmp dl, 0x75
je 0x402103
mov dword [esp + 4], esi
test ecx, ecx
mov esi, dword [esp + 0x10]
mov edx, ecx
jns 0x4020e3
neg eax
mov dword [esp + 0x18], eax
mov ecx, 0
sbb ecx, edx
mov edx, dword [esp + 0xc]
or edx, 0x80
mov dword [esp + 8], ecx
mov eax, dword [esp + 4]
mov dword [esp + 0x20], eax
jmp 0x402117
inc ecx
jmp 0x40126d
add ecx, 2
or dword [esp + 0xc], 0x200
jmp case.0x401262.74
cmp ecx, eax
jle 0x401e88
mov esi, eax
xor eax, 1
and esi, 0xfffffffe
add esi, esi
sub esi, eax
jmp 0x40139d
and dword [esp + 0xc], 0xffffffef
mov dword [esp + 0x10], 8
mov dword [esp + 0x2c], str.0123456789ABCDEFXP
cmp dl, 0x58
je 0x4017ec
mov dword [esp + 0x2c], str.0123456789abcdefxp
mov dword [esp + 0x24], 0x440
mov byte [esp + 0x3c], 0
mov dword [esp + 4], 4
test byte [esp + 0xc], 8
je 0x40181e
cmp dl, 0x58
setne al
mov word [esp + 0x3c], 0x3002
shl al, 5
or al, 0x58
mov byte [esp + 0x3e], al
test byte [esp + 0xc], 0x20
jne 0x401605
mov edx, dword [esp + 0x20]
mov esi, dword [edx]
xor ecx, ecx
mov eax, 4
add edx, eax
mov dword [esp + 0x20], edx
mov dword [esp + 0x38], 0
mov byte [esp + 0x30], 0
mov eax, esi
or eax, ecx
mov edx, ecx
jne 0x401861
mov byte [esp + 0x3c], 0
cmp dword [esp + 0x10], 0
je 0x401bee
mov eax, 0xffffffff
mov ecx, dword [esp + 4]
shl eax, cl
not eax
and eax, esi
mov dword [esp + 4], esi
mov esi, edx
mov edx, dword [esp + 0x24]
mov cl, dh
shrd dword [esp + 4], esi, cl
mov ecx, dword [esp + 0x2c]
movzx eax, byte [ecx + eax]
mov byte [esp + 0x263], al
mov cl, dh
shr esi, cl
mov dword [esp + 8], edx
test dh, 0x20
jne 0x4018a3
mov eax, dword [esp + 4]
jmp 0x4018a7
mov eax, esi
xor esi, esi
mov dword [esp + 4], eax
mov dword [esp + 0x18], esi
or eax, esi
mov eax, dword [esp + 0x10]
jne 0x4018cd
mov ecx, 1
cmp eax, 2
jge 0x4018cd
lea edx, [esp + 0x263]
jmp 0x4019ca
lea edx, [esp + 0x263]
lea ebx, [esp + 0x264]
nop
nop
nop
nop
nop
test byte [esp + 0xc], 0x40
jne 0x401900
mov dword [esp + 0x1c], edx
mov eax, dword [esp + 4]
mov edx, dword [esp + 8]
jmp 0x401958
mov dword [esp + 0x1c], ebx
mov ebx, edx
mov esi, dword [esp + 8]
lea edx, [esi + 1]
mov dword [esp + 0x24], edx
mov ecx, edx
shr ecx, 4
mov eax, 0xe
sub eax, esi
xor eax, ecx
not eax
test al, 0xf
jne 0x401950
and edx, 0xfffffff0
mov dword [esp + 0x24], edx
movzx eax, byte [0x44b001]
xor al, 0xc7
mov ecx, dword [esp + 0x1c]
mov byte [ecx - 2], al
add ecx, 0xfffffffe
mov dword [esp + 0x1c], ecx
mov edx, dword [esp + 0x24]
jmp 0x401954
mov dword [esp + 0x1c], ebx
mov eax, dword [esp + 4]
mov ebx, 0xffffffff
mov cl, dh
shl ebx, cl
not ebx
and ebx, eax
mov edx, dword [esp + 0x24]
mov cl, dh
mov esi, dword [esp + 0x18]
shrd eax, esi, cl
mov dword [esp + 4], eax
mov eax, dword [esp + 0x2c]
movzx eax, byte [eax + ebx]
mov ecx, dword [esp + 0x1c]
mov ebx, ecx
mov byte [ecx - 1], al
mov cl, dh
shr esi, cl
mov ecx, esi
mov dword [esp + 8], edx
test dh, 0x20
jne 0x4019a0
mov eax, dword [esp + 4]
jmp 0x4019a4
mov eax, ecx
xor ecx, ecx
lea edx, [ebx - 1]
mov dword [esp + 4], eax
mov dword [esp + 0x18], ecx
or eax, ecx
jne 0x4018e0
lea ecx, [esp + 0x264]
sub ecx, edx
cmp ecx, dword [esp + 0x10]
jl 0x4018e0
mov dword [esp + 0x18], edx
mov edx, dword [esp + 8]
shl edx, 0x14
and edx, 0xf000000
mov eax, edx
and eax, ecx
xor edx, ecx
lea eax, [edx + eax*2]
mov dword [esp + 8], eax
mov dword [esp + 0x24], ecx
xor esi, esi
jmp 0x4023c4
mov byte [esp + 0x3c], 0
test byte [esp + 0xc], 8
je 0x401a06
mov word [esp + 0x3c], 0x3001
mov dword [esp + 0x24], 0x330
mov dword [esp + 0x2c], str.0123456789ABCDEFXP
mov dword [esp + 4], 3
test byte [esp + 0xc], 0x20
je 0x401829
jmp 0x401605
mov eax, dword [esp + 0x20]
mov eax, dword [eax]
mov edx, str.null
test eax, eax
je 0x401a3f
mov edx, eax
mov ecx, dword [esp + 0x10]
mov eax, ecx
test ecx, ecx
jns 0x401a4e
mov eax, 0xffffffff
test dl, 3
mov dword [esp + 0x18], edx
je 0x402859
mov ebx, edx
add edx, eax
test ecx, ecx
je 0x402950
cmp byte [ebx], 0
je 0x40294e
mov ecx, eax
not ecx
lea ecx, [ecx + eax*2]
mov dword [esp + 4], ecx
lea ecx, [ebx + 1]
test cl, 3
je 0x402980
cmp dword [esp + 4], 0
je 0x402950
cmp byte [ecx], 0
je 0x402892
mov esi, dword [esp + 4]
add esi, esi
sub esi, eax
mov eax, dword [esp + 0x18]
lea ecx, [eax + 2]
test cl, 3
je 0x403688
test esi, esi
je 0x402950
cmp byte [ecx], 0
je 0x402892
mov eax, esi
not eax
lea eax, [eax + esi*2]
mov ecx, dword [esp + 0x18]
add ecx, 3
test cl, 3
je 0x40285b
test eax, eax
je 0x402950
cmp byte [ecx], 0
je 0x402892
add eax, eax
sub eax, esi
mov ecx, dword [esp + 0x18]
add ecx, 4
test cl, 3
je 0x40285b
test eax, eax
jne 0x402892
jmp 0x402950
mov byte [esp + 0x263], dl
mov dword [esp + 0x24], 1
mov byte [esp + 0x3c], 0
mov byte [esp + 0x30], 0
mov dword [esp + 0x38], 0
mov dword [esp + 8], 0
lea eax, [esp + 0x263]
mov dword [esp + 0x18], eax
mov dword [esp + 0xc], 0
xor esi, esi
xor ecx, ecx
mov dword [esp + 0x44], 0
jmp 0x402ac9
mov ecx, dword [esp + 0x20]
movzx eax, byte [ecx]
add ecx, 4
mov dword [esp + 0x20], ecx
mov byte [esp + 0x263], al
mov dword [esp + 0x24], 1
mov byte [esp + 0x3c], 0
mov byte [esp + 0x30], 0
mov dword [esp + 0x38], 0
mov dword [esp + 8], 0
lea eax, [esp + 0x263]
mov dword [esp + 0x18], eax
jmp 0x402977
mov eax, dword [esp + 0x20]
fld qword [eax]
add eax, 8
mov dword [esp + 0x20], eax
test dword [esp + 0xc], 0x100
jne 0x4022d9
jmp 0x402452
mov edx, dword [esp + 0x20]
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 + 0x20], edx
jmp 0x403581
cmp byte [ecx + 2], 0x32
je 0x401e9a
mov ecx, ebx
jmp case.0x401262.74
mov dword [esp + 0x24], 0
mov dword [esp + 8], 0
lea eax, [esp + 0x264]
mov dword [esp + 0x18], eax
jmp 0x402977
xor ebx, ebx
or ecx, esi
je 0x401c19
mov ebx, 0xfffffc02
mov dword [esp + 0x38], ebx
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x2c]
shld esi, ecx, 8
shl ecx, 8
cmp eax, 0xe
mov dword [esp + 0x48], ebx
mov dword [esp + 4], ecx
jg 0x401c92
mov edx, eax
and edx, 4
mov ecx, eax
or ecx, 4
imul ecx, edx
xor edx, 4
mov ebx, eax
and ebx, 0xfb
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 0x401c70
mov ebx, edx
xor edx, edx
mov eax, dword [esp + 4]
mov ecx, eax
and ecx, ebx
xor eax, ebx
mov ebx, esi
and ebx, edx
xor esi, edx
shld ebx, ecx, 1
add ecx, ecx
add eax, ecx
mov dword [esp + 4], eax
adc esi, ebx
mov ebx, dword [esp + 0x48]
mov edx, dword [esp + 0x1c]
movzx ecx, dl
lea eax, [esp + 0x3c]
mov word [ecx + eax + 1], 0x7830
or dl, 2
mov byte [esp + 0x3c], dl
mov ecx, esi
shr ecx, 0x1c
mov eax, dword [esp + 8]
movzx ecx, byte [eax + ecx]
mov byte [esp + 0xa4], cl
cmp dword [esp + 0x2c], 0
je 0x401d98
movzx ecx, byte [section..data]
mov edx, ecx
add dl, cl
and dl, 0xb0
sub cl, dl
add cl, 0xd8
mov byte [esp + 0xa5], cl
lea eax, [esp + 0xa6]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x2c]
mov edx, eax
cmp eax, 0xd
jb 0x401cff
mov edx, 0xd
sub eax, edx
mov dword [esp + 0x1c], eax
mov ecx, dword [esp + 0x20]
jg 0x401d13
mov dword [esp + 0x1c], 0
mov dword [esp + 0x10], edx
mov eax, edx
and eax, 3
je 0x401ea2
xor ebx, ebx
mov edx, dword [esp + 4]
mov dword [esp + 0x18], eax
nop
nop
nop
nop
mov ecx, esi
mov eax, esi
shr eax, 0x18
and eax, 0xf
mov esi, dword [esp + 8]
movzx eax, byte [esi + eax]
shld ecx, edx, 4
mov esi, ecx
mov byte [esp + ebx + 0xa6], al
mov eax, dword [esp + 0x18]
shl edx, 4
inc ebx
cmp eax, ebx
jne 0x401d30
mov dword [esp + 4], edx
lea eax, [esp + 0xa6]
lea edx, [eax + ebx]
sub dword [esp + 0x10], ebx
mov ecx, dword [esp + 0x20]
mov ebx, dword [esp + 0x48]
cmp dword [esp + 0x2c], 4
jae 0x401eb4
mov dword [esp + 8], edx
lea eax, [esp + 0xa6]
mov dword [esp + 0x10], eax
mov esi, dword [esp + 0x1c]
jmp 0x401f41
lea eax, [esp + 0xa5]
mov dword [esp + 0x14], eax
xor esi, esi
mov dword [esp + 0x10], eax
mov dword [esp + 8], eax
mov ecx, dword [esp + 0x20]
jmp 0x401f41
mov byte [esp + 0x32], 0x2d
mov eax, 1
sub eax, ecx
mov dword [esp + 4], eax
xor ecx, ecx
cmp eax, 0x64
setge cl
mov dword [esp + 0x18], ecx
mov ecx, 0x66666667
imul ecx
mov ecx, edx
mov eax, edx
shr eax, 0x1f
sar ecx, 2
add ecx, eax
lea eax, [ecx + ecx]
lea eax, [eax + eax*4]
mov ebx, dword [esp + 4]
sub ebx, eax
mov eax, ecx
mov edx, 0x66666667
imul edx
mov eax, edx
shr eax, 0x1f
sar edx, 2
add edx, eax
mov eax, dword [esp + 0x18]
lea esi, [eax + 4]
add bl, 0x30
add edx, edx
lea edx, [edx + edx*4]
mov dword [esp + 0x2c], edx
mov edx, esi
mov dword [esp + 0x48], esi
mov byte [esp + 0x30], dl
mov byte [esp + eax + 0x34], bl
mov esi, dword [esp + 4]
mov edx, ecx
sub edx, dword [esp + 0x2c]
add dl, 0x30
mov byte [esp + eax + 0x33], dl
cmp esi, 0x64
jl 0x401e6a
mov eax, esi
mov ecx, 0x51eb851f
mul ecx
mov ecx, edx
shr ecx, 5
mov eax, ecx
mov edx, 0x1999999a
mul edx
add edx, edx
lea eax, [edx + edx*4]
mov edx, ecx
sub edx, eax
or dl, 0x30
lea eax, [esp + 0x30]
mov esi, dword [esp + 0x48]
mov byte [esi + eax - 2], dl
mov esi, dword [esp + 0x1c]
sub esi, dword [esp + 8]
inc esi
mov dword [esp + 0x38], ecx
mov dword [esp + 8], 0x3000001
mov edx, dword [esp + 0x10]
jmp 0x402ab6
xor esi, esi
sub ecx, 1
jb 0x40139d
mov esi, ecx
jmp 0x40139d
add ecx, 3
jmp case.0x401262.74
lea edx, [esp + 0xa6]
cmp dword [esp + 0x2c], 4
jb 0x401d80
mov dword [esp + 0x18], esi
mov eax, dword [esp + 0x10]
nop
nop
nop
nop
mov dword [esp + 0x10], eax
mov eax, esi
shr eax, 0x18
and eax, 0xf
mov ebx, dword [esp + 8]
movzx eax, byte [ebx + eax]
mov byte [edx], al
mov eax, esi
shr eax, 0x14
and eax, 0xf
movzx eax, byte [ebx + eax]
mov byte [edx + 1], al
mov eax, esi
shr eax, 0x10
and eax, 0xf
movzx eax, byte [ebx + eax]
mov byte [edx + 2], al
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 4]
shld ecx, eax, 0x10
shl eax, 0x10
mov dword [esp + 4], eax
shr esi, 0xc
and esi, 0xf
movzx eax, byte [ebx + esi]
mov byte [edx + 3], al
mov eax, dword [esp + 0x10]
add edx, 4
mov dword [esp + 0x18], ecx
mov esi, ecx
add eax, 0xfffffffc
jne 0x401ec0
mov dword [esp + 8], edx
lea eax, [esp + 0xa6]
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x48]
mov eax, dword [esp + 0x54]
cmp al, 0x41
setne al
shl al, 5
or al, 0x50
mov byte [esp + 0x31], al
test ebx, ebx
js 0x401f7b
mov byte [esp + 0x32], 0x2b
cmp ebx, 0x3e7
ja 0x401f8a
cmp ebx, 0x63
jbe 0x4020aa
mov dword [esp + 0x1c], esi
mov dword [esp + 4], 5
jmp 0x401f96
mov byte [esp + 0x32], 0x2d
neg ebx
cmp ebx, 0x3e7
jbe 0x401f64
mov dword [esp + 0x1c], esi
mov dword [esp + 4], 6
mov dword [esp + 0x18], 0
mov eax, ebx
mov ecx, 0xcccccccd
mul ecx
shr edx, 2
and edx, 0xfffffffe
lea esi, [edx + edx*4]
mov eax, ebx
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 dword [esp + 0x48], ebx
mov eax, ebx
sub eax, esi
mov ebx, dword [esp + 4]
mov byte [esp + 0x30], bl
or al, 0x30
mov byte [esp + ebx + 0x30], 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 + 0x2f], cl
cmp byte [esp + 0x18], 0
mov ecx, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
jne 0x4028a5
mov ebx, dword [esp + 0x48]
mov eax, ebx
mov ecx, 0x51eb851f
imul ecx
mov ecx, edx
mov eax, edx
shr eax, 0x1f
sar ecx, 5
add ecx, eax
mov eax, ecx
mov edx, 0x66666667
imul edx
mov eax, edx
shr eax, 0x1f
sar edx, 2
add edx, eax
add edx, edx
lea eax, [edx + edx*4]
sub ecx, eax
add cl, 0x30
lea eax, [esp + 0x30]
mov edx, dword [esp + 4]
mov byte [edx + eax - 2], cl
mov ecx, dword [esp + 0x20]
cmp ebx, 0x3e8
jb 0x4028a5
mov eax, dword [esp + 0x48]
mov ecx, 0x10624dd3
imul ecx
mov ecx, edx
mov eax, edx
shr eax, 0x1f
sar ecx, 6
add ecx, eax
mov eax, ecx
mov edx, 0x66666667
imul edx
mov eax, edx
shr eax, 0x1f
shr edx, 2
add edx, eax
add edx, edx
lea eax, [edx + edx*4]
sub ecx, eax
add cl, 0x30
lea eax, [esp + 0x30]
mov edx, dword [esp + 4]
mov byte [edx + eax - 3], cl
mov ecx, dword [esp + 0x20]
jmp 0x4028a5
cmp ebx, 9
jbe 0x402899
mov dword [esp + 0x1c], esi
mov dword [esp + 4], 4
mov al, 1
mov dword [esp + 0x18], eax
jmp 0x401f9e
cmp ecx, eax
jl 0x4020d0
mov ecx, eax
sub ecx, edx
mov esi, ecx
jmp 0x402498
mov dword [esp + 0x18], ecx
mov edx, dword [esp + 0xc]
jmp 0x402117
mov dword [esp + 8], edx
mov ecx, dword [esp + 4]
mov dword [esp + 0x20], ecx
mov edx, dword [esp + 0xc]
jmp 0x402113
mov dword [esp + 0x18], ecx
mov edx, dword [esp + 0xc]
mov esi, dword [esp + 0x10]
jmp 0x402117
mov dword [esp + 8], ecx
mov dword [esp + 0x20], esi
mov edx, dword [esp + 0xc]
mov esi, dword [esp + 0x10]
mov dword [esp + 0x18], eax
mov dword [esp + 0xc], edx
test edx, 0x100
jne 0x4022a0
movzx eax, byte [0x44b001]
xor al, 0xc7
mov byte [esp + 0x1c], al
mov esi, 0x200
xor edx, edx
nop
nop
nop
nop
nop
mov dword [esp + 0x2c], edx
mov ecx, dword [esp + 0x18]
cmp ecx, 0x5f5e100
mov edx, dword [esp + 8]
mov eax, edx
sbb eax, 0
jb 0x402180
push 0
push 0x5f5e100
push edx
push ecx
mov ebx, ecx
call fcn.0040cb50
mov dword [esp + 8], edx
mov edx, ebx
imul ecx, eax, 0x5f5e100
sub edx, ecx
mov ecx, eax
jmp 0x40218c
mov dword [esp + 8], 0
mov edx, ecx
xor ecx, ecx
lea eax, [esp + 0x5c]
add eax, esi
mov dword [esp + 4], eax
test byte [esp + 0xc], 0x40
mov dword [esp + 0x18], ecx
jne 0x4021e0
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 0x4021b0
mov edx, dword [esp + 0x2c]
jmp 0x402250
mov ebx, edx
test edx, edx
mov edx, dword [esp + 0x2c]
je 0x402250
mov ecx, dword [esp + 4]
jmp 0x40221e
mov dword [esp + 4], ecx
mov ecx, edx
mov eax, ebx
mov edx, 0xcccccccd
mul edx
shr edx, 3
lea eax, [edx + edx]
lea eax, [eax + eax*4]
sub ebx, eax
or bl, 0x30
mov byte [esp + esi + 0x63], bl
dec esi
mov ebx, edx
mov edx, ecx
mov ecx, dword [esp + 4]
test ebx, ebx
je 0x402254
test byte [esp + 0xc], 0x40
je 0x4021f0
cmp edx, 3
je 0x402231
mov dword [esp + 4], ecx
inc edx
jmp 0x4021f4
movzx eax, byte [esp + 0x1c]
mov byte [esp + esi + 0x63], al
dec esi
dec ecx
xor edx, edx
test ebx, ebx
jne 0x40221e
jmp 0x402254
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x18]
or eax, dword [esp + 8]
jne 0x402277
jmp 0x402320
inc edx
mov byte [esp + esi + 0x63], 0x30
dec esi
lea eax, [esp + esi]
add eax, 0x64
cmp eax, ecx
je 0x402140
test byte [esp + 0xc], 0x40
je 0x402271
cmp edx, 3
jne 0x402270
movzx eax, byte [esp + 0x1c]
mov byte [esp + esi + 0x63], al
dec esi
dec ecx
xor edx, edx
jmp 0x402277
mov eax, 1
cmp esi, 0xffffffff
je 0x4022ac
mov eax, esi
xor edx, edx
mov ecx, dword [esp + 0x18]
mov esi, ecx
cmp ecx, 0x400
mov ecx, dword [esp + 8]
sbb ecx, 0
jb 0x4022c5
mov edx, eax
mov dword [esp + 0x10], edx
mov dword [esp + 0x58], esi
mov eax, dword [esp + 8]
mov dword [esp + 0x5c], eax
fild qword [esp + 0x58]
xor eax, eax
mov ecx, dword [esp + 0xc]
test ecx, 0x800
sete al
fld qword [eax*8 + 0x448550]
cmp ecx, 0x3ffffff
ja 0x402319
fld st(0)
fchs
fxch st(1)
fucom st(2)
fnstsw ax
sahf
jbe 0x4023cd
fxch st(2)
fucom st(1)
fnstsw ax
sahf
fxch st(2)
jbe 0x4023cd
fstp st(0)
fstp st(0)
jmp 0x402452
cmp byte [esp + esi + 0x64], 0x30
sete ch
cmp esi, 0x200
setne cl
mov byte [esp + 0x30], 0
mov byte [esp + 0x3c], 0
mov eax, dword [esp + 0xc]
mov ebx, eax
xor ebx, 0xffffff7f
or eax, 0x80
mov dl, 0x2d
test eax, ebx
jne 0x402364
mov dl, 0x20
test byte [esp + 0xc], 4
jne 0x402364
mov dl, 0x2b
test byte [esp + 0xc], 2
je 0x40236d
mov byte [esp + 0x3c], 1
mov byte [esp + 0x3d], dl
and cl, ch
movzx eax, cl
add esi, eax
lea eax, [esp + esi]
add eax, 0x64
lea ecx, [esi - 0x200]
neg ecx
mov dword [esp + 8], ecx
mov dword [esp + 0x24], ecx
cmp esi, 0x200
jne 0x4023a7
mov byte [eax - 1], 0x30
dec eax
mov dword [esp + 0x24], 1
mov dword [esp + 8], 1
mov dword [esp + 0x18], eax
xor esi, esi
cmp dword [esp + 0x10], 0
jg 0x4023bc
mov dword [esp + 0x10], 0
add dword [esp + 8], 0x3000000
mov ecx, dword [esp + 0x10]
jmp 0x402ac9
fdiv st(2), st(0)
mov eax, dword [esp + 0xc]
lea ecx, [eax + 0x1000000]
cmp eax, 0x2ffffff
ja 0x40244a
fucom st(2)
fnstsw ax
sahf
jbe 0x4023f2
fxch st(2)
fucom st(1)
fnstsw ax
sahf
fxch st(2)
ja 0x40244a
fdiv st(2), st(0)
mov eax, dword [esp + 0xc]
lea ecx, [eax + 0x2000000]
cmp eax, 0x1ffffff
ja 0x40244a
fucom st(2)
fnstsw ax
sahf
jbe 0x402417
fxch st(2)
fucom st(1)
fnstsw ax
sahf
fxch st(2)
ja 0x40244a
fdiv st(2), st(0)
mov eax, dword [esp + 0xc]
lea ecx, [eax + 0x3000000]
cmp eax, 0xffffff
ja 0x40244a
fucom st(2)
fnstsw ax
sahf
jbe 0x40368f
fxch st(2)
fucom st(1)
fstp st(1)
fnstsw ax
sahf
fldz
fxch st(1)
fxch st(2)
jbe 0x40368f
fstp st(0)
fstp st(0)
mov dword [esp + 0xc], ecx
mov esi, 6
mov eax, dword [esp + 0x10]
cmp eax, 0xffffffff
je 0x402462
mov esi, 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 + 0x10], esi
lea ecx, [esp + 0x2c]
lea edx, [esp + 0x3c]
call fcn.004036e0
add esp, 0x18
test eax, eax
je 0x402498
or dword [esp + 0xc], 0x80
mov byte [esp + 0x30], 0
mov byte [esp + 0x3c], 0
mov edx, dword [esp + 0xc]
mov ecx, edx
xor ecx, 0xffffff7f
or edx, 0x80
mov al, 0x2d
test edx, ecx
jne 0x4024cc
mov al, 0x20
test byte [esp + 0xc], 4
jne 0x4024cc
mov al, 0x2b
test byte [esp + 0xc], 2
je 0x4024d5
mov byte [esp + 0x3c], 1
mov byte [esp + 0x3d], al
mov ecx, dword [esp + 0x38]
cmp ecx, 0x7000
jne 0x4024f6
mov dword [esp + 8], 0
mov eax, dword [esp + 0x14]
mov dword [esp + 0x18], eax
jmp 0x402977
test ecx, ecx
mov dword [esp + 0x1c], esi
jle 0x40259d
mov dword [esp + 4], 0
test byte [esp + 0xc], 0x40
je 0x40252c
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 + 0x24]
jae 0x4026e9
xor eax, eax
lea ecx, [esp + 0xa4]
mov dword [esp + 8], ecx
jmp 0x40256b
mov dword [esp + 4], ecx
mov edx, dword [esp + 8]
mov ecx, dword [esp + 0x14]
movzx ecx, byte [ecx + eax]
lea esi, [edx + 1]
mov dword [esp + 8], esi
mov byte [edx], cl
inc eax
mov ecx, dword [esp + 0x38]
cmp eax, ecx
jae 0x402748
test byte [esp + 0xc], 0x40
je 0x402549
mov ecx, dword [esp + 4]
inc ecx
cmp ecx, 4
jne 0x402545
mov ecx, dword [esp + 0xc]
and ecx, 0x40
shr ecx, 6
mov dword [esp + 4], ecx
movzx ecx, byte [0x44b001]
xor cl, 0xc7
mov edx, dword [esp + 8]
mov byte [edx], cl
inc edx
jmp 0x40254d
mov byte [esp + 0xa4], 0x30
lea edx, [esp + 0xa5]
test esi, esi
je 0x4025d0
movzx eax, byte [section..data]
mov edx, eax
add dl, al
and dl, 0xb0
sub al, dl
add al, 0xd8
mov byte [esp + 0xa5], al
lea edx, [esp + 0xa6]
neg ecx
mov ebx, esi
cmp esi, ecx
jl 0x4025da
mov ebx, ecx
test ebx, ebx
mov dword [esp + 4], ebx
je 0x402617
mov eax, edx
and eax, 3
je 0x402617
mov esi, edx
not esi
and esi, 3
dec ebx
cmp esi, ebx
jb 0x4025f7
mov esi, ebx
lea eax, [esi + 1]
push eax
push 0x30
push edx
mov dword [esp + 0x1c], edx
call fcn.0040cd50
mov edx, dword [esp + 0x1c]
add esp, 0xc
add edx, esi
inc edx
sub ebx, esi
mov esi, dword [esp + 0x1c]
cmp ebx, 4
jl 0x402658
mov eax, ebx
cmp ebx, 7
jl 0x402628
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 + 0x1c], edx
call fcn.0040cd50
mov edx, dword [esp + 0x1c]
add esp, 0xc
add edx, esi
add edx, 4
sub ebx, esi
add ebx, 0xfffffffc
mov esi, dword [esp + 0x1c]
test ebx, ebx
je 0x402672
push ebx
push 0x30
push edx
mov esi, edx
call fcn.0040cd50
mov edx, esi
mov esi, dword [esp + 0x28]
add esp, 0xc
add edx, ebx
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 4]
add eax, ecx
mov dword [esp + 0x10], eax
cmp eax, esi
jle 0x40268e
mov ecx, esi
sub ecx, dword [esp + 4]
mov dword [esp + 0x24], ecx
test ecx, ecx
mov dword [esp + 8], ecx
je 0x402938
mov ecx, esi
mov eax, dword [esp + 0x10]
cmp esi, eax
jl 0x4026a8
mov esi, eax
mov ecx, eax
mov dword [esp + 0x10], ecx
mov eax, dword [esp + 8]
mov ecx, eax
and ecx, 3
je 0x4028d6
xor esi, esi
nop
nop
nop
mov ebx, dword [esp + 0x14]
mov eax, edx
lea edx, [ebx + 1]
mov dword [esp + 0x14], edx
movzx edx, byte [ebx]
mov byte [eax + esi], dl
mov edx, eax
inc esi
cmp ecx, esi
jne 0x4026c0
add edx, esi
mov eax, edx
mov ecx, dword [esp + 8]
sub ecx, esi
jmp 0x4028da
xor ebx, ebx
lea edx, [esp + 0xa4]
mov ecx, dword [esp + 4]
jmp 0x402718
mov esi, edx
mov eax, dword [esp + 0x14]
movzx eax, byte [eax + ebx]
inc edx
mov byte [esi], al
inc ebx
cmp ebx, dword [esp + 0x24]
jae 0x4027df
test byte [esp + 0xc], 0x40
je 0x402700
inc ecx
cmp ecx, 4
jne 0x402700
mov esi, dword [esp + 0xc]
and esi, 0x40
shr esi, 6
movzx eax, byte [0x44b001]
mov ecx, eax
add cl, al
and cl, 0x8e
sub al, cl
mov ecx, esi
add al, 0xc7
mov byte [edx], al
inc edx
jmp 0x402700
mov esi, dword [esp + 8]
mov dword [esp + 0x10], esi
cmp dword [esp + 0x1c], 0
je 0x40276f
movzx ecx, byte [section..data]
xor cl, 0xd8
mov byte [edx + 1], cl
add edx, 2
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x24]
mov esi, edx
sub esi, ecx
cmp esi, dword [esp + 0x1c]
mov esi, dword [esp + 0x1c]
jbe 0x402788
lea edx, [ecx + esi]
mov dword [esp + 0x24], edx
cmp eax, edx
jae 0x4027b0
mov esi, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
movzx ecx, byte [ecx + eax]
mov byte [esi], cl
inc esi
inc eax
mov edx, dword [esp + 0x24]
cmp eax, edx
jb 0x402790
mov dword [esp + 0x10], esi
mov ecx, dword [esp + 0x38]
mov esi, dword [esp + 0x1c]
mov eax, ecx
not eax
and eax, edx
not edx
and edx, ecx
sub esi, eax
add esi, edx
mov dword [esp + 0x1c], esi
lea eax, [esp + 0xa4]
mov ecx, dword [esp + 8]
sub ecx, eax
mov eax, ecx
add eax, 0x3000000
mov edx, dword [esp + 0x10]
jmp 0x402a2b
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x38]
cmp ebx, ecx
jae 0x4029f6
mov eax, ecx
xor eax, ebx
not ebx
and ebx, ecx
add ebx, ebx
mov ecx, ebx
sub ecx, eax
test byte [esp + 0xc], 0x40
jne 0x4029c5
mov dword [esp + 8], ecx
test ecx, ecx
je 0x402989
mov ecx, edx
and ecx, 3
je 0x402989
mov ecx, 2
sub ecx, esi
and ecx, 3
not eax
add ebx, eax
cmp ecx, ebx
jb 0x402833
mov ecx, ebx
mov dword [esp + 8], ecx
lea eax, [ecx + 1]
push eax
push 0x30
push edx
call fcn.0040cd50
add esp, 0xc
mov eax, dword [esp + 8]
sub ebx, eax
lea edx, [esi + eax]
add edx, 2
mov ecx, ebx
jmp 0x40298d
mov ecx, edx
cmp eax, 4
jb 0x402880
mov edx, dword [ecx]
mov esi, 0x1010100
sub esi, edx
or esi, edx
not esi
test esi, 0x80808080
jne 0x402884
add ecx, 4
add eax, 0xfffffffc
cmp eax, 3
ja 0x402860
test eax, eax
je 0x402892
lea edx, [ecx + eax]
cmp byte [ecx], 0
je 0x402892
inc ecx
dec eax
jne 0x402887
mov ecx, edx
mov edx, ecx
jmp 0x402950
mov byte [esp + 0x30], 3
or bl, 0x30
mov byte [esp + 0x33], bl
add ecx, 8
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 8]
mov eax, ecx
sub eax, dword [esp + 0x10]
mov dword [esp + 0x38], eax
lea eax, [esp + 0xa4]
sub ecx, eax
mov dword [esp + 0x24], ecx
xor ecx, ecx
mov dword [esp + 8], 0x3000001
jmp 0x402ac5
mov ecx, eax
mov eax, edx
mov edx, dword [esp + 4]
sub edx, dword [esp + 0x10]
cmp edx, 0xfffffffc
mov edx, eax
ja 0x402938
mov eax, edx
mov edx, dword [esp + 0x14]
lea esi, [edx + 1]
mov dword [esp + 0x14], esi
movzx edx, byte [edx]
mov byte [eax], dl
mov edx, dword [esp + 0x14]
lea esi, [edx + 1]
mov dword [esp + 0x14], esi
movzx edx, byte [edx]
mov byte [eax + 1], dl
mov edx, dword [esp + 0x14]
lea esi, [edx + 1]
mov dword [esp + 0x14], esi
movzx edx, byte [edx]
mov byte [eax + 2], dl
mov edx, dword [esp + 0x14]
lea esi, [edx + 1]
mov dword [esp + 0x14], esi
movzx edx, byte [edx]
mov byte [eax + 3], dl
mov edx, eax
add edx, 4
add ecx, 0xfffffffc
jne 0x4028e9
mov eax, dword [esp + 4]
add eax, dword [esp + 8]
sub dword [esp + 0x1c], eax
mov eax, 0x3000001
jmp 0x402a2b
mov edx, ebx
add dword [esp + 0x20], 4
sub edx, dword [esp + 0x18]
mov dword [esp + 0x24], edx
mov byte [esp + 0x3c], 0
mov byte [esp + 0x30], 0
mov dword [esp + 0x38], 0
mov dword [esp + 8], 0
xor esi, esi
xor ecx, ecx
jmp 0x402ac9
mov eax, dword [esp + 4]
jmp 0x40285b
mov ecx, dword [esp + 8]
cmp ecx, 4
jb 0x4029c5
mov dword [esp + 8], ecx
mov esi, dword [esp + 8]
and esi, 0xfffffffc
push esi
push 0x30
push edx
mov dword [esp + 0x1c], edx
call fcn.0040cd50
mov edx, dword [esp + 0x1c]
add esp, 0xc
add edx, esi
mov ecx, dword [esp + 8]
and ecx, 3
test ecx, ecx
jne 0x4029c9
jmp 0x4029f6
mov byte [edx], 0x30
dec ecx
inc edx
test ecx, ecx
je 0x4029f6
test byte [esp + 0xc], 0x40
je 0x4029c0
mov eax, dword [esp + 4]
inc eax
mov dword [esp + 4], eax
cmp eax, 4
jne 0x4029c0
movzx eax, byte [0x44b001]
xor al, 0xc7
mov byte [edx], al
mov dword [esp + 4], 0
inc edx
test ecx, ecx
jne 0x4029c9
mov esi, edx
lea eax, [esp + 0xa4]
sub edx, eax
mov eax, edx
add eax, 0x3000000
cmp dword [esp + 0x1c], 0
je 0x402a21
mov ecx, eax
movzx eax, byte [section..data]
xor al, 0xd8
mov byte [esi], al
mov eax, ecx
inc esi
jmp 0x402a29
mov dword [esp + 0x1c], 0
mov edx, esi
mov dword [esp + 8], eax
mov esi, dword [esp + 0xc]
test esi, 0x100
je 0x402a54
mov eax, esi
and eax, 0x400
sete byte [esp + 0x30]
mov byte [esp + 0x31], 0x20
cmp esi, 0x1000000
jae 0x402a5a
mov esi, dword [esp + 0x1c]
jmp 0x402ab6
mov dword [esp + 0x10], edx
mov ecx, esi
shr ecx, 0x18
mov ebx, eax
shr ebx, 0xa
mov edx, 2
sub edx, ebx
cmp eax, 1
mov eax, 0
adc al, 1
test esi, 0x800
jne 0x402a8e
movzx ecx, byte [ecx + str._kMGT]
mov byte [esp + edx + 0x30], cl
jmp 0x402aaa
movzx ecx, byte [ecx + str._KMGT]
mov byte [esp + edx + 0x30], cl
test esi, 0x1000
jne 0x402aaa
movzx eax, al
mov byte [esp + eax + 0x31], 0x69
inc eax
mov esi, dword [esp + 0x1c]
mov edx, dword [esp + 0x10]
mov byte [esp + 0x30], al
lea eax, [esp + 0xa4]
sub edx, eax
mov dword [esp + 0x24], edx
xor ecx, ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], esi
mov eax, dword [esp + 0x24]
cmp ecx, eax
jg 0x402ad7
mov ecx, eax
mov dword [esp + 4], eax
movsx eax, byte [esp + 0x3c]
movsx esi, byte [esp + 0x30]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x10], ecx
add edx, ecx
add edx, eax
add edx, esi
mov esi, dword [esp + 0x44]
cmp esi, edx
jg 0x402afd
mov esi, edx
sub esi, edx
mov dword [esp + 0x44], esi
mov ecx, dword [esp + 4]
sub dword [esp + 0x10], ecx
mov ecx, dword [esp + 0xc]
test cl, 1
mov esi, dword [esp + 0x28]
jne 0x402b41
test cl, 0x10
jne 0x402b27
mov dword [esp + 0xc], 0
jmp 0x402b41
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x10]
cmp ecx, edx
jg 0x402b35
mov ecx, edx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x44], 0
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x44]
add ecx, dword [esp + 0x10]
je 0x402ffe
test byte [esp + 0xc], 1
jne 0x402c70
cmp dword [esp + 0x44], 0
jle 0x402c70
mov ecx, dword [esp + 0x44]
jmp 0x402b7e
mov ecx, dword [esp + 0x44]
sub ecx, edx
test ecx, ecx
jle 0x402c67
mov eax, esi
sub eax, edi
add eax, 0x200
mov edx, ecx
cmp ecx, eax
jl 0x402b8f
mov edx, eax
cmp dword [ebp + 8], 0
jne 0x402b97
mov edx, ecx
mov dword [esp + 0x44], ecx
test edx, edx
mov dword [esp + 0x28], esi
je 0x402be0
mov eax, edi
and eax, 3
je 0x402be0
mov ebx, edi
not ebx
and ebx, 3
mov dword [esp + 4], edx
lea esi, [edx - 1]
cmp ebx, esi
jb 0x402bbe
mov ebx, esi
lea eax, [ebx + 1]
push eax
push 0x20
push edi
call fcn.0040cd50
add esp, 0xc
add edi, ebx
inc edi
sub esi, ebx
mov edx, dword [esp + 4]
cmp esi, 4
jl 0x402c0e
jmp 0x402bf0
mov esi, edx
cmp esi, 4
jl 0x402c0e
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov dword [edi], 0x20202020
mov eax, esi
and eax, 0x7ffffffb
not esi
and esi, 4
sub eax, esi
add edi, 4
mov esi, eax
cmp eax, 3
jg 0x402bf0
test esi, esi
je 0x402c24
push esi
push 0x20
push edi
mov ebx, edx
call fcn.0040cd50
mov edx, ebx
add esp, 0xc
add edi, esi
mov esi, dword [esp + 0x28]
cmp dword [ebp + 8], 0
je 0x402b70
mov eax, edi
sub eax, esi
cmp eax, 0x1ff
jl 0x402b70
mov ecx, esi
mov esi, edx
add dword [esp + 0x4c], eax
push eax
push dword [ebp + 0xc]
push ecx
call dword [ebp + 8]
add esp, 0xc
test eax, eax
je 0x4036c3
mov edi, eax
mov edx, esi
mov esi, edi
jmp 0x402b70
mov dword [esp + 0x44], ecx
movzx eax, byte [esp + 0x3c]
lea ecx, [esp + 0x3d]
mov dword [esp + 0x14], ecx
jmp 0x402c89
mov edi, eax
mov esi, eax
movzx eax, byte [esp + 0x3c]
test al, al
je 0x402d9d
movsx edx, al
mov ecx, esi
sub ecx, edi
add ecx, 0x200
cmp ecx, edx
jl 0x402ca4
mov ecx, edx
cmp dword [ebp + 8], 0
jne 0x402cac
mov ecx, edx
sub al, cl
mov byte [esp + 0x3c], al
test ecx, ecx
je 0x402d4b
mov eax, ecx
and eax, 3
je 0x402d90
mov ebx, ecx
mov dword [esp + 0x28], esi
xor edx, edx
nop
nop
nop
mov esi, dword [esp + 0x14]
lea ecx, [esi + 1]
mov dword [esp + 0x14], ecx
movzx ecx, byte [esi]
mov byte [edi + edx], cl
inc edx
cmp eax, edx
jne 0x402cd0
add edi, edx
mov ecx, ebx
mov eax, ebx
sub eax, edx
mov esi, dword [esp + 0x28]
cmp ecx, 4
jb 0x402d4b
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [esp + 0x14]
lea edx, [ecx + 1]
mov dword [esp + 0x14], edx
movzx ecx, byte [ecx]
mov byte [edi], cl
mov ecx, dword [esp + 0x14]
lea edx, [ecx + 1]
mov dword [esp + 0x14], edx
movzx ecx, byte [ecx]
mov byte [edi + 1], cl
mov ecx, dword [esp + 0x14]
lea edx, [ecx + 1]
mov dword [esp + 0x14], edx
movzx ecx, byte [ecx]
mov byte [edi + 2], cl
mov ecx, dword [esp + 0x14]
lea edx, [ecx + 1]
mov dword [esp + 0x14], edx
movzx ecx, byte [ecx]
mov byte [edi + 3], cl
add edi, 4
add eax, 0xfffffffc
jne 0x402d00
cmp dword [ebp + 8], 0
je 0x402c84
mov eax, edi
sub eax, esi
lea ecx, [eax + 1]
cmp ecx, 0x200
jl 0x402c84
add dword [esp + 0x4c], eax
push eax
push dword [ebp + 0xc]
push esi
call dword [ebp + 8]
add esp, 0xc
test eax, eax
jne 0x402c80
jmp 0x4036c3
mov eax, ecx
cmp ecx, 4
jae 0x402d00
jmp 0x402d4b
mov dword [esp + 0x28], esi
mov eax, dword [esp + 8]
mov ecx, eax
shr ecx, 0x18
mov dword [esp + 4], ecx
xor esi, esi
test byte [esp + 0xc], 0x40
je 0x402de1
mov ecx, eax
or ecx, 0xffffff
xor eax, 0xff000000
and eax, ecx
add eax, dword [esp + 0x10]
mov esi, dword [esp + 4]
mov edx, esi
and edx, 1
mov ecx, esi
xor ecx, 1
lea ecx, [ecx + edx*2]
xor edx, edx
div ecx
sub esi, edx
mov ecx, dword [esp + 0x10]
test ecx, ecx
jle 0x403677
mov dword [esp + 8], ecx
jmp 0x402e26
mov ecx, dword [esp + 0x10]
mov eax, ecx
not eax
mov edx, dword [esp + 8]
and eax, edx
not edx
and edx, ecx
sub edx, eax
mov ecx, edx
mov dword [esp + 8], edx
test edx, edx
mov edx, dword [esp + 0x18]
jle 0x402ff5
mov eax, dword [esp + 0x28]
sub eax, edi
add eax, 0x200
mov dword [esp + 0x10], ecx
cmp ecx, eax
jl 0x402ea0
mov dword [esp + 8], eax
cmp dword [ebp + 8], 0
je 0x402ea6
test byte [esp + 0xc], 0x40
jne 0x402eb5
cmp dword [esp + 8], 0
je 0x402ec0
mov eax, edi
and eax, 3
je 0x402ec0
mov edx, edi
not edx
and edx, 3
mov eax, dword [esp + 8]
lea ecx, [eax - 1]
cmp edx, ecx
jb 0x402e6c
mov edx, ecx
mov dword [esp + 0x48], edx
lea eax, [edx + 1]
push eax
push 0x30
push edi
mov dword [esp + 0x38], ecx
call fcn.0040cd50
mov ecx, dword [esp + 0x38]
add esp, 0xc
mov eax, dword [esp + 0x48]
add edi, eax
inc edi
sub ecx, eax
cmp ecx, 4
jge 0x402ec9
jmp 0x402f08
cmp dword [ebp + 8], 0
jne 0x402e43
mov eax, dword [esp + 0x10]
mov dword [esp + 8], eax
test byte [esp + 0xc], 0x40
je 0x402e4a
mov ecx, dword [esp + 8]
jmp 0x402f08
mov ecx, dword [esp + 8]
cmp ecx, 4
jl 0x402f08
mov eax, ecx
cmp ecx, 7
jl 0x402ed5
mov eax, 7
neg eax
add eax, ecx
add eax, 3
and eax, 0xfffffffc
mov dword [esp + 0x48], eax
add eax, 4
push eax
push 0x30
push edi
mov dword [esp + 0x38], ecx
call fcn.0040cd50
mov ecx, dword [esp + 0x38]
add esp, 0xc
mov eax, dword [esp + 0x48]
add edi, eax
add edi, 4
sub ecx, eax
add ecx, 0xfffffffc
test ecx, ecx
je 0x402f50
test cl, 1
jne 0x402f20
mov eax, ecx
cmp ecx, 1
jne 0x402fb7
jmp 0x402f50
mov al, 0x30
test byte [esp + 0xc], 0x40
je 0x402f3d
cmp esi, dword [esp + 4]
jne 0x402f3c
movzx eax, byte [0x44b001]
xor al, 0xc7
xor esi, esi
jmp 0x402f3d
inc esi
mov byte [edi], al
inc edi
lea eax, [ecx - 1]
cmp ecx, 1
jne 0x402fb7
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [ebp + 8], 0
je 0x402e00
mov eax, edi
mov edx, dword [esp + 0x28]
sub eax, edx
lea ecx, [eax + 1]
cmp ecx, 0x200
jl 0x402e00
add dword [esp + 0x4c], eax
push eax
push dword [ebp + 0xc]
push edx
call dword [ebp + 8]
add esp, 0xc
test eax, eax
je 0x4036c3
mov edi, eax
mov dword [esp + 0x28], eax
jmp 0x402e00
movzx ecx, byte [0x44b001]
xor cl, 0xc7
xor esi, esi
mov byte [edi + 1], cl
add edi, 2
add eax, 0xfffffffe
je 0x402f50
mov cl, 0x30
test byte [esp + 0xc], 0x40
je 0x402fe1
cmp esi, dword [esp + 4]
jne 0x402fe0
movzx edx, byte [0x44b001]
xor dl, 0xc7
xor esi, esi
jmp 0x402fe3
inc esi
mov dl, 0x30
mov byte [edi], dl
test byte [esp + 0xc], 0x40
je 0x402fac
cmp esi, dword [esp + 4]
je 0x402fa0
inc esi
jmp 0x402fac
movzx eax, byte [esp + 0x3c]
mov esi, dword [esp + 0x28]
lea ecx, [esp + 0x3d]
mov dword [esp + 0x14], ecx
jmp 0x40301d
mov edi, eax
mov esi, eax
mov edx, dword [esp + 0x18]
movzx eax, byte [esp + 0x3c]
test al, al
je 0x40313d
movsx edx, al
mov ecx, esi
sub ecx, edi
add ecx, 0x200
cmp ecx, edx
jl 0x403038
mov ecx, edx
cmp dword [ebp + 8], 0
jne 0x403040
mov ecx, edx
sub al, cl
mov byte [esp + 0x3c], al
test ecx, ecx
je 0x4030eb
mov eax, ecx
and eax, 3
je 0x403130
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 + 0x14]
lea ecx, [esi + 1]
mov dword [esp + 0x14], ecx
movzx ecx, byte [esi]
mov byte [edi + edx], cl
inc edx
cmp eax, edx
jne 0x403070
add edi, edx
mov ecx, ebx
mov eax, ebx
sub eax, edx
mov esi, dword [esp + 0x28]
cmp ecx, 4
jb 0x4030eb
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [esp + 0x14]
lea edx, [ecx + 1]
mov dword [esp + 0x14], edx
movzx ecx, byte [ecx]
mov byte [edi], cl
mov ecx, dword [esp + 0x14]
lea edx, [ecx + 1]
mov dword [esp + 0x14], edx
movzx ecx, byte [ecx]
mov byte [edi + 1], cl
mov ecx, dword [esp + 0x14]
lea edx, [ecx + 1]
mov dword [esp + 0x14], edx
movzx ecx, byte [ecx]
mov byte [edi + 2], cl
mov ecx, dword [esp + 0x14]
lea edx, [ecx + 1]
mov dword [esp + 0x14], edx
movzx ecx, byte [ecx]
mov byte [edi + 3], cl
add edi, 4
add eax, 0xfffffffc
jne 0x4030a0
cmp dword [ebp + 8], 0
je 0x403014
mov eax, edi
sub eax, esi
lea ecx, [eax + 1]
cmp ecx, 0x200
jl 0x403014
add dword [esp + 0x4c], eax
push eax
push dword [ebp + 0xc]
push esi
call dword [ebp + 8]
add esp, 0xc
test eax, eax
jne 0x403010
jmp 0x4036c3
mov eax, ecx
cmp ecx, 4
jae 0x4030a0
jmp 0x4030eb
mov dword [esp + 0x28], esi
mov esi, dword [esp + 0x24]
test esi, esi
jne 0x4033cc
mov eax, dword [esp + 0x1c]
test eax, eax
mov esi, dword [esp + 0x28]
mov ebx, dword [esp + 0x50]
jne 0x4032ac
lea eax, [esp + 0x31]
mov dword [esp + 0x14], eax
nop
nop
nop
nop
nop
nop
nop
movzx eax, byte [esp + 0x30]
test al, al
je 0x40356d
movsx edx, al
mov eax, esi
not eax
mov dword [esp + 4], eax
mov ecx, edx
cmp dword [ebp + 8], 0
je 0x4031ae
mov eax, esi
mov ecx, esi
xor ecx, edi
mov esi, dword [esp + 4]
and esi, edi
add esi, esi
sub ecx, esi
add ecx, 0x200
cmp ecx, edx
jl 0x4031ac
mov ecx, edx
mov esi, eax
sub dl, cl
mov byte [esp + 0x30], dl
test ecx, ecx
je 0x40324b
mov edx, ecx
and edx, 3
je 0x403290
mov dword [esp + 0x28], esi
xor esi, esi
nop
nop
nop
mov ebx, dword [esp + 0x14]
lea eax, [ebx + 1]
mov dword [esp + 0x14], eax
movzx eax, byte [ebx]
mov byte [edi + esi], al
inc esi
cmp edx, esi
jne 0x4031d0
add edi, esi
mov edx, ecx
sub edx, esi
mov esi, dword [esp + 0x28]
mov ebx, dword [esp + 0x50]
cmp ecx, 4
jb 0x40324b
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 0x14]
lea ecx, [eax + 1]
mov dword [esp + 0x14], ecx
movzx eax, byte [eax]
mov byte [edi], al
mov eax, dword [esp + 0x14]
lea ecx, [eax + 1]
mov dword [esp + 0x14], ecx
movzx eax, byte [eax]
mov byte [edi + 1], al
mov eax, dword [esp + 0x14]
lea ecx, [eax + 1]
mov dword [esp + 0x14], ecx
movzx eax, byte [eax]
mov byte [edi + 2], al
mov eax, dword [esp + 0x14]
lea ecx, [eax + 1]
mov dword [esp + 0x14], ecx
movzx eax, byte [eax]
mov byte [edi + 3], al
add edi, 4
add edx, 0xfffffffc
jne 0x403200
cmp dword [ebp + 8], 0
je 0x403170
mov eax, edi
xor eax, esi
mov ecx, dword [esp + 4]
and ecx, edi
add ecx, ecx
sub ecx, eax
cmp ecx, 0x1ff
jl 0x403170
add dword [esp + 0x4c], ecx
push ecx
push dword [ebp + 0xc]
push esi
call dword [ebp + 8]
add esp, 0xc
test eax, eax
je 0x4036c3
mov edi, eax
mov esi, eax
jmp 0x403170
mov edx, ecx
cmp ecx, 4
jae 0x403200
jmp 0x40324b
mov eax, dword [esp + 0x1c]
sub eax, edx
je 0x403161
mov dword [esp + 0x1c], eax
mov edx, eax
cmp dword [ebp + 8], 0
je 0x4032cd
mov eax, esi
sub eax, edi
add eax, 0x200
mov ecx, dword [esp + 0x1c]
mov edx, ecx
cmp ecx, eax
jl 0x4032cd
mov edx, eax
test edx, edx
mov dword [esp + 4], edx
mov dword [esp + 0x28], esi
je 0x403320
mov eax, edi
and eax, 3
je 0x403320
mov ebx, edi
not ebx
and ebx, 3
lea esi, [edx - 1]
cmp ebx, esi
jb 0x4032f0
mov ebx, esi
lea eax, [ebx + 1]
push eax
push 0x30
push edi
call fcn.0040cd50
add esp, 0xc
add edi, ebx
inc edi
sub esi, ebx
mov ebx, dword [esp + 0x50]
mov edx, dword [esp + 4]
cmp esi, 4
jge 0x403327
jmp 0x40335f
mov esi, edx
cmp esi, 4
jl 0x40335f
mov eax, esi
cmp esi, 7
jl 0x403333
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.0040cd50
add esp, 0xc
add edi, ebx
add edi, 4
sub esi, ebx
add esi, 0xfffffffc
mov ebx, dword [esp + 0x50]
mov edx, dword [esp + 4]
test esi, esi
je 0x403375
push esi
push 0x30
push edi
call fcn.0040cd50
mov edx, dword [esp + 0x10]
add esp, 0xc
add edi, esi
mov esi, dword [esp + 0x28]
cmp dword [ebp + 8], 0
je 0x4032a0
mov eax, edi
sub eax, esi
cmp eax, 0x1ff
jl 0x4032a0
add dword [esp + 0x4c], eax
push eax
push dword [ebp + 0xc]
push esi
call dword [ebp + 8]
add esp, 0xc
test eax, eax
je 0x4036c3
mov edi, eax
mov esi, eax
mov edx, dword [esp + 4]
jmp 0x4032a0
mov edx, ebx
sub esi, dword [esp + 4]
je 0x40314d
mov eax, dword [esp + 0x28]
sub eax, edi
add eax, 0x200
mov ecx, esi
cmp esi, eax
jl 0x4033df
mov ecx, eax
cmp dword [ebp + 8], 0
jne 0x4033e7
mov ecx, esi
cmp ecx, 4
mov dword [esp + 4], ecx
jl 0x403440
lea eax, [ecx - 4]
mov dword [esp + 8], eax
shr eax, 2
inc eax
and eax, 7
je 0x403444
shl eax, 2
mov ebx, edx
xor edx, edx
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 0x403410
add edi, edx
mov ecx, dword [esp + 4]
sub ecx, edx
add ebx, edx
mov eax, ecx
mov edx, ebx
cmp dword [esp + 8], 0x1c
jae 0x403450
jmp 0x403491
mov eax, ecx
jmp 0x403491
cmp dword [esp + 8], 0x1c
jb 0x403491
nop
nop
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 0x403450
test eax, eax
je 0x403511
mov ecx, eax
and ecx, 7
je 0x403560
mov dword [esp + 8], esi
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 0x4034b0
add edi, edx
mov ecx, eax
sub ecx, edx
add esi, edx
mov edx, esi
mov esi, dword [esp + 8]
cmp eax, 8
jb 0x403511
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 0x4034d0
cmp dword [ebp + 8], 0
je 0x4033c2
mov ebx, edx
mov eax, edi
mov edx, dword [esp + 0x28]
sub eax, edx
lea ecx, [eax + 1]
cmp ecx, 0x200
jl 0x4033c0
add dword [esp + 0x4c], eax
push eax
push dword [ebp + 0xc]
push edx
call dword [ebp + 8]
add esp, 0xc
test eax, eax
je 0x4036c3
mov edi, eax
mov dword [esp + 0x28], eax
jmp 0x4033c0
mov ecx, eax
cmp eax, 8
jae 0x4034d0
jmp 0x403511
test byte [esp + 0xc], 1
je 0x403581
cmp dword [esp + 0x44], 0
jle 0x403581
mov ecx, dword [esp + 0x44]
jne 0x40359a
inc ebx
jmp 0x40103b
mov ecx, dword [esp + 0x44]
sub ecx, dword [esp + 0xc]
je 0x403581
mov eax, esi
sub eax, edi
add eax, 0x200
mov edx, ecx
cmp ecx, eax
jl 0x4035ab
mov edx, eax
cmp dword [ebp + 8], 0
jne 0x4035b3
mov edx, ecx
test edx, edx
mov dword [esp + 0x44], ecx
mov dword [esp + 0xc], edx
je 0x403600
mov eax, edi
and eax, 3
je 0x403600
mov dword [esp + 0x28], esi
mov esi, edi
not esi
and esi, 3
lea ebx, [edx - 1]
cmp esi, ebx
jb 0x4035da
mov esi, ebx
lea eax, [esi + 1]
push eax
push 0x20
push edi
call fcn.0040cd50
add esp, 0xc
add edi, esi
inc edi
sub ebx, esi
mov esi, dword [esp + 0x28]
cmp ebx, 4
jl 0x40362c
jmp 0x403610
mov ebx, edx
cmp ebx, 4
jl 0x40362c
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov dword [edi], 0x20202020
mov eax, ebx
and eax, 0xfffffffb
add eax, eax
xor ebx, 4
sub eax, ebx
add edi, 4
mov ebx, eax
cmp eax, 3
jg 0x403610
test ebx, ebx
je 0x40363e
push ebx
push 0x20
push edi
call fcn.0040cd50
add esp, 0xc
add edi, ebx
mov ebx, dword [esp + 0x50]
cmp dword [ebp + 8], 0
je 0x403590
mov eax, edi
sub eax, esi
cmp eax, 0x1ff
jl 0x403590
add dword [esp + 0x4c], eax
push eax
push dword [ebp + 0xc]
push esi
call dword [ebp + 8]
add esp, 0xc
test eax, eax
je 0x4036c3
mov edi, eax
mov esi, eax
jmp 0x403590
lea eax, [esp + 0x3d]
mov dword [esp + 0x14], eax
mov edx, dword [esp + 0x18]
jmp 0x403141
mov eax, esi
jmp 0x40285b
fstp st(1)
fdivp st(1)
or dword [esp + 0xc], 0x4000000
jmp 0x402452
cmp dword [ebp + 8], 0
je 0x4036c9
mov eax, edi
sub eax, esi
test eax, eax
jle 0x4036cc
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 0x4036cc
xor edi, edi
xor esi, esi
jmp 0x4036cc
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