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, 0x270
mov eax, dword [ebp + 0x18]
mov dword [esp + 0x28], eax
mov ecx, dword [ebp + 0x14]
mov esi, dword [ebp + 0x10]
lea eax, [esp + 0xac]
not eax
mov dword [esp + 0x5c], eax
mov eax, ecx
mov dword [esp + 0x50], 0
mov dword [esp + 0x30], esi
jmp 0x401059
mov esi, eax
mov eax, edi
movzx eax, byte [edi]
mov dword [esp + 0x30], esi
mov ecx, dword [esp + 0x30]
mov byte [ecx], al
inc ecx
mov dword [esp + 0x30], ecx
mov eax, edi
inc eax
mov dword [esp + 0x20], esi
mov edi, eax
test al, 3
je 0x401070
movzx eax, byte [eax]
jmp 0x40108e
mov eax, dword [eax]
mov esi, eax
not esi
and esi, 0x80808080
mov ecx, eax
xor ecx, 0x25252525
add ecx, 0xfefefeff
test ecx, esi
je 0x4010d2
cmp al, 0x25
je 0x401148
mov edx, dword [ebp + 8]
mov esi, dword [esp + 0x20]
test al, al
je 0x40368a
test edx, edx
je 0x40104b
mov ecx, dword [esp + 0x30]
sub ecx, esi
cmp ecx, 0x1ff
jl 0x40104b
add dword [esp + 0x50], ecx
push ecx
push dword [ebp + 0xc]
push esi
call edx
add esp, 0xc
test eax, eax
jne 0x401040
jmp 0x4036ae
mov ecx, dword [esp + 0x20]
not ecx
mov edx, dword [esp + 0x30]
jmp 0x401116
mov esi, dword [esp + 0x30]
mov dword [esi], eax
add esi, 4
mov dword [esp + 0x30], esi
mov eax, dword [edi + 4]
add edi, 4
mov esi, eax
not esi
and esi, 0x80808080
mov ebx, eax
xor ebx, 0x25252525
add ebx, 0xfefefeff
add edx, 4
test ebx, esi
jne 0x40108e
lea ebx, [eax - 0x1010101]
test esi, ebx
jne 0x401096
cmp dword [ebp + 8], 0
je 0x4010e0
mov esi, edx
xor esi, dword [esp + 0x20]
mov ebx, edx
and ebx, ecx
add ebx, ebx
sub esi, ebx
add esi, 0x200
cmp esi, 4
jge 0x4010e0
jmp 0x40108e
add edi, 2
mov ecx, edi
mov dword [esp + 8], 0
mov esi, dword [esp + 0x20]
mov edi, dword [esp + 0x30]
jmp 0x401170
or dword [esp + 8], 1
inc ecx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx eax, byte [ecx - 1]
lea edx, [eax - 0x20]
cmp edx, 0x3f
ja case.0x401180.33
jmp dword [edx*4 + 0x448564]
or dword [esp + 8], 4
inc ecx
jmp 0x401170
or dword [esp + 8], 8
inc ecx
jmp 0x401170
or dword [esp + 8], 0x400
inc ecx
jmp 0x401170
or dword [esp + 8], 0x40
inc ecx
jmp 0x401170
test dword [esp + 8], 0x100
jne 0x4011c7
or dword [esp + 8], 0x100
inc ecx
jmp 0x401170
or dword [esp + 8], 2
inc ecx
jmp 0x401170
test dword [esp + 8], 0x800
jne 0x4011ef
mov edx, dword [esp + 8]
mov eax, edx
xor eax, 0xfffff7ff
not edx
and edx, 0xfffff6ff
or edx, eax
not edx
mov dword [esp + 8], edx
inc ecx
jmp 0x401170
or dword [esp + 8], 0x1900
inc ecx
jmp 0x401170
or dword [esp + 8], 0x10
movzx eax, byte [ecx]
cmp al, 0x2a
jne 0x401226
mov eax, dword [esp + 0x28]
mov edx, dword [eax]
mov dword [esp + 0x54], edx
add eax, 4
mov dword [esp + 0x28], eax
movzx eax, byte [ecx + 1]
inc ecx
jmp 0x40127e
dec ecx
cmp al, 0x2a
je 0x401209
mov edx, eax
add dl, 0xd0
mov dword [esp + 0x54], 0
cmp dl, 9
ja 0x40127e
xor esi, esi
nop
nop
nop
nop
nop
nop
mov ebx, esi
and ebx, 0xa
mov edx, esi
or esi, 0xa
imul esi, ebx
xor ebx, 0xa
and edx, 0xfffffff5
imul edx, ebx
movzx eax, al
add esi, edx
mov edx, esi
and edx, eax
xor esi, eax
lea esi, [esi + edx*2]
add esi, 0xffffffd0
movzx eax, byte [ecx + 1]
inc ecx
mov edx, eax
add dl, 0xd0
cmp dl, 0xa
jb 0x401240
mov dword [esp + 0x54], esi
mov esi, dword [esp + 0x20]
mov dword [esp + 0x14], 0xffffffff
cmp al, 0x2e
jne 0x4012ef
movzx eax, byte [ecx + 1]
cmp al, 0x2a
jne 0x4012ac
mov eax, dword [esp + 0x28]
mov edx, dword [eax]
mov dword [esp + 0x14], edx
add eax, 4
mov dword [esp + 0x28], eax
movzx eax, byte [ecx + 2]
add ecx, 2
jmp 0x4012ef
inc ecx
mov edx, eax
add dl, 0xd0
mov dword [esp + 0x14], 0
cmp dl, 9
ja 0x4012ef
xor ebx, ebx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx eax, al
lea edx, [ebx + ebx*4]
lea ebx, [eax + edx*2]
add ebx, 0xffffffd0
movzx eax, byte [ecx + 1]
inc ecx
mov edx, eax
add dl, 0xd0
cmp dl, 0xa
jb 0x4012d0
mov dword [esp + 0x14], ebx
movzx eax, al
add eax, 0xffffffb7
cmp eax, 0x31
ja case.0x4012fa.74
jmp dword [eax*4 + 0x448664]
inc ecx
movzx edx, byte [ecx]
mov dword [esp + 0x4c], ecx
movzx eax, dl
add eax, 0xffffffbf
cmp eax, 0x37
ja case.0x401318.67
jmp dword [eax*4 + 0x44872c]
mov ecx, dword [esp + 8]
mov eax, ecx
xor eax, 0xffffffdf
or ecx, 0x20
test ecx, eax
je 0x4017bb
mov ecx, dword [esp + 0x28]
lea eax, [ecx + 8]
mov esi, dword [ecx]
mov ecx, dword [ecx + 4]
cmp dl, 0x75
je 0x4020cb
test ecx, ecx
mov ebx, dword [esp + 0x14]
mov edx, ecx
jns 0x4020c1
neg esi
mov ecx, 0
sbb ecx, edx
or dword [esp + 8], 0x80
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x28], eax
jmp 0x4020d7
movzx edx, byte [ecx + 1]
cmp dl, 0x6c
jne 0x4017a5
or dword [esp + 8], 0x20
add ecx, 2
jmp case.0x4012fa.74
lea eax, [ecx + 1]
movzx edx, byte [ecx + 1]
cmp edx, 0x33
je 0x401bdf
cmp edx, 0x36
jne 0x401bf0
cmp byte [ecx + 2], 0x34
jne 0x401be9
or dword [esp + 8], 0x20
add ecx, 3
jmp case.0x4012fa.74
cmp byte [ecx + 1], 0x68
je 0x4017ab
inc ecx
or dword [esp + 8], 0x200
jmp case.0x4012fa.74
mov eax, edx
mov edx, dword [esp + 0x14]
jmp 0x401807
mov eax, str.0123456789ABCDEFXP
cmp dl, 0x45
je 0x4013f0
mov eax, str.0123456789abcdefxp
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x28]
fld qword [eax]
mov esi, 6
mov eax, dword [esp + 0x14]
cmp eax, 0xffffffff
je 0x40140a
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 + 0x84]
mov dword [esp], eax
lea ecx, [esp + 0x28]
lea edx, [esp + 0x3c]
call fcn.004036d0
add esp, 0x18
test eax, eax
je 0x40144a
or dword [esp + 8], 0x80
add dword [esp + 0x28], 8
mov byte [esp + 0x38], 0
mov byte [esp + 0x44], 0
mov al, 0x2d
cmp byte [esp + 8], 0
js 0x401474
mov al, 0x20
test byte [esp + 8], 4
jne 0x401474
mov al, 0x2b
test byte [esp + 8], 2
je 0x40147d
mov byte [esp + 0x44], 1
mov byte [esp + 0x45], al
mov ebx, dword [esp + 0x40]
mov eax, dword [esp + 0x10]
cmp ebx, 0x7000
mov dword [esp + 4], eax
jne 0x40167c
mov dword [esp + 0x18], 0
jmp 0x402ac2
mov eax, str.0123456789ABCDEFXP
cmp dl, 0x41
je 0x4014b1
mov eax, str.0123456789abcdefxp
mov dword [esp + 4], eax
mov dword [esp + 0x58], edx
mov dword [esp + 0x2c], 6
mov eax, dword [esp + 0x14]
cmp eax, 0xffffffff
je 0x4014ce
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x28]
mov edx, dword [eax + 4]
test edx, edx
jns 0x4014e1
or dword [esp + 8], 0x80
mov eax, dword [esp + 0x28]
mov ecx, dword [eax]
mov al, 0x2d
cmp byte [esp + 8], 0
mov dword [esp + 0x34], ecx
js 0x40162c
mov al, 0x20
test byte [esp + 8], 4
jne 0x40162c
mov al, 0x2b
test byte [esp + 8], 2
jne 0x40162c
xor ebx, ebx
jmp 0x401632
mov dword [esp + 0x2c], str.0123456789ABCDEFXP
cmp dl, 0x42
je 0x40152e
mov dword [esp + 0x2c], str.0123456789abcdefxp
mov byte [esp + 0x44], 0
test byte [esp + 8], 8
je 0x401550
cmp dl, 0x42
setne al
mov word [esp + 0x44], 0x3002
shl al, 5
or al, 0x42
mov byte [esp + 0x46], al
mov dword [esp + 0x24], 0x180
mov ecx, 1
jmp 0x401876
mov esi, str.0123456789ABCDEFXP
cmp dl, 0x47
je 0x401571
mov esi, str.0123456789abcdefxp
mov eax, dword [esp + 0x28]
fld qword [eax]
mov ecx, dword [esp + 0x14]
cmp ecx, 1
mov eax, ecx
adc eax, 0
mov ebx, 6
cmp ecx, 0xffffffff
je 0x40158f
mov ebx, eax
lea eax, [ebx - 1]
or eax, 0x80000000
sub esp, 0x18
fstp qword [esp + 8]
lea ecx, [esp + 0x58]
mov dword [esp + 4], ecx
lea ecx, [esp + 0x84]
mov dword [esp], ecx
mov dword [esp + 0x10], eax
lea ecx, [esp + 0x28]
lea edx, [esp + 0x3c]
call fcn.004036d0
add esp, 0x18
test eax, eax
je 0x4015d0
or dword [esp + 8], 0x80
mov eax, dword [esp + 0x24]
cmp eax, ebx
jb 0x4015da
mov eax, ebx
mov dword [esp + 0x1c], esi
mov ecx, eax
cmp eax, 2
jb 0x4017f4
mov eax, dword [esp + 0x10]
mov dword [esp + 4], eax
mov eax, ebx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov edx, dword [esp + 4]
cmp byte [edx + ecx - 1], 0x30
jne 0x401e44
mov esi, ecx
lea edx, [eax - 1]
dec esi
mov ecx, esi
cmp esi, 2
jb 0x401e46
cmp eax, 1
mov eax, edx
jne 0x401600
jmp 0x401e46
mov byte [esp + 0x45], al
mov bl, 1
mov ecx, edx
xor ecx, 0xfff00000
mov esi, edx
or esi, 0xfffff
and esi, ecx
shr edx, 0x14
and edx, 0x7ff
mov dword [esp + 0xc], ebx
je 0x401c15
add edx, 0xfffffc01
mov dword [esp + 0x18], edx
mov ecx, 0xffffffff
add ecx, 1
mov edx, 0xfffff
adc edx, 0
or dword [esp + 0x34], ecx
or esi, edx
jmp 0x401c2c
movzx ecx, byte [eax]
mov byte [esp + 0xac], cl
lea eax, [esp + 0xad]
test esi, esi
je 0x4016a9
movzx ecx, byte [section..data]
xor cl, 0xb
mov byte [esp + 0xad], cl
lea eax, [esp + 0xae]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x24]
lea edx, [eax - 1]
cmp edx, esi
jbe 0x4016bf
lea eax, [esi + 1]
mov dword [esp + 0x24], eax
cmp eax, 2
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], eax
jb 0x401786
mov ecx, esi
cmp esi, edx
jb 0x4016d8
mov ecx, edx
lea esi, [ecx - 1]
mov edx, 1
cmp esi, 7
mov dword [esp + 0x2c], ebx
jb 0x40175d
mov dword [esp + 0x34], ecx
mov esi, ecx
and esi, 0xfffffff8
xor edx, edx
mov ebx, dword [esp + 4]
mov ecx, dword [esp + 0xc]
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 0x401700
add ecx, edx
mov dword [esp + 0xc], ecx
inc edx
mov ebx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x34]
and ecx, 7
je 0x401786
mov esi, dword [esp + 4]
add esi, edx
xor edx, edx
mov ebx, ecx
mov ecx, dword [esp + 0xc]
movzx eax, byte [esi + edx]
mov byte [ecx + edx], al
inc edx
cmp ebx, edx
jne 0x401770
add ecx, edx
mov dword [esp + 0xc], ecx
mov ebx, dword [esp + 0x2c]
mov eax, dword [esp + 0x1c]
movzx eax, byte [eax + 0xe]
mov byte [esp + 0x39], al
mov eax, ebx
dec eax
js 0x401d76
mov byte [esp + 0x3a], 0x2b
jmp 0x401d82
inc ecx
jmp 0x401305
add ecx, 2
or dword [esp + 8], 0x200
jmp case.0x4012fa.74
mov eax, dword [esp + 0x28]
mov esi, dword [eax]
add eax, 4
mov dword [esp + 0x28], eax
mov dword [esp + 0x1c], 0
cmp dl, 0x75
je 0x4020d3
test esi, esi
mov ebx, dword [esp + 0x14]
jns 0x4020d7
neg esi
or dword [esp + 8], 0x80
jmp 0x4020d7
mov edx, ebx
jmp 0x401e46
mov eax, edx
and dword [esp + 8], 0xffffffef
mov edx, 8
mov dword [esp + 0x2c], str.0123456789ABCDEFXP
mov ecx, eax
cmp cl, 0x58
je 0x40181e
mov dword [esp + 0x2c], str.0123456789abcdefxp
mov dword [esp + 0x24], 0x440
mov byte [esp + 0x44], 0
mov ecx, 4
test byte [esp + 8], 8
je 0x40187a
cmp al, 0x58
setne al
mov word [esp + 0x44], 0x3002
shl al, 5
or al, 0x58
mov byte [esp + 0x46], al
jmp 0x40187a
mov byte [esp + 0x44], 0
test byte [esp + 8], 8
je 0x401861
mov word [esp + 0x44], 0x3001
mov dword [esp + 0x24], 0x330
mov dword [esp + 0x2c], str.0123456789ABCDEFXP
mov ecx, 3
mov edx, dword [esp + 0x14]
mov dword [esp + 0x14], edx
test byte [esp + 8], 0x20
jne 0x401896
mov edx, dword [esp + 0x28]
mov eax, dword [edx]
add edx, 4
mov dword [esp + 0x28], edx
xor esi, esi
jmp 0x4018a6
mov edx, dword [esp + 0x28]
mov eax, dword [edx]
mov esi, dword [edx + 4]
add edx, 8
mov dword [esp + 0x28], edx
mov dword [esp + 0x40], 0
mov byte [esp + 0x38], 0
mov edx, eax
or edx, esi
jne 0x4018c9
mov byte [esp + 0x44], 0
cmp dword [esp + 0x14], 0
je 0x401bf9
mov edx, 0xffffffff
shl edx, cl
not edx
and edx, eax
mov ebx, dword [esp + 0x24]
mov cl, bh
shrd eax, esi, cl
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x2c]
movzx ecx, byte [ecx + edx]
mov edx, ebx
mov byte [esp + 0x26b], cl
mov cl, dh
shr esi, cl
test dh, 0x20
jne 0x401901
mov eax, dword [esp + 4]
jmp 0x401905
mov eax, esi
xor esi, esi
mov dword [esp + 0x18], edx
mov ecx, eax
or ecx, esi
jne 0x401943
mov ecx, 1
cmp dword [esp + 0x14], 2
jge 0x401943
lea eax, [esp + 0x26b]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x18]
shl eax, 0x14
and eax, 0xf000000
add eax, ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x24], ecx
xor esi, esi
jmp 0x402379
lea ecx, [esp + 0x26b]
mov dword [esp + 4], ecx
lea ebx, [esp + 0x26c]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov dword [esp + 0xc], esi
test byte [esp + 8], 0x40
jne 0x401970
mov edx, eax
jmp 0x401991
mov esi, ebx
mov edx, eax
mov ebx, dword [esp + 0x18]
inc ebx
mov dword [esp + 0x24], ebx
mov ecx, ebx
shr ecx, 4
xor ecx, ebx
test cl, 0xf
je 0x401a0f
mov dword [esp + 0x18], ebx
mov eax, dword [esp + 4]
mov dword [esp + 0x1c], eax
mov ebx, 0xffffffff
mov eax, dword [esp + 0x18]
mov cl, ah
shl ebx, cl
not ebx
and ebx, edx
mov eax, dword [esp + 0x24]
mov cl, ah
mov esi, dword [esp + 0xc]
shrd edx, esi, cl
mov ecx, dword [esp + 0x2c]
movzx ecx, byte [ecx + ebx]
mov ebx, dword [esp + 0x1c]
mov byte [ebx - 1], cl
mov cl, ah
shr esi, cl
mov dword [esp + 0x18], eax
test ah, 0x20
jne 0x4019e0
mov eax, edx
jmp 0x4019e4
mov eax, esi
xor esi, esi
lea ecx, [ebx - 1]
mov dword [esp + 4], ecx
mov ecx, eax
or ecx, esi
jne 0x401960
lea ecx, [esp + 0x26c]
sub ecx, dword [esp + 4]
cmp ecx, dword [esp + 0x14]
jl 0x401960
jmp 0x401926
and ebx, 0xfffffff0
mov dword [esp + 0x24], ebx
movzx ecx, byte [0x44b001]
mov ch, cl
add ch, cl
and ch, 0x3a
sub cl, ch
add cl, 0x9d
mov byte [esi - 2], cl
add esi, 0xfffffffe
mov dword [esp + 0x1c], esi
mov eax, dword [esp + 0x24]
mov dword [esp + 0x18], eax
jmp 0x401999
mov eax, dword [esp + 0x28]
mov eax, dword [eax]
mov ecx, str.null
test eax, eax
je 0x401a51
mov ecx, eax
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x14]
mov edx, ecx
test ecx, ecx
jns 0x401a64
mov edx, 0xffffffff
mov ebx, dword [esp + 4]
test bl, 3
je 0x402462
lea eax, [edx + ebx]
test ecx, ecx
je 0x402a9d
cmp byte [ebx], 0
je 0x402a4e
lea ecx, [ebx + 1]
lea esi, [edx - 1]
test cl, 3
je 0x402a52
test esi, esi
je 0x402a99
cmp byte [ecx], 0
je 0x402a97
mov ecx, dword [esp + 4]
add ecx, 2
lea esi, [edx - 2]
test cl, 3
je 0x402a52
test esi, esi
je 0x402a99
cmp byte [ecx], 0
je 0x402a97
mov ecx, dword [esp + 4]
add ecx, 3
lea esi, [edx - 3]
test cl, 3
je 0x402a52
test esi, esi
je 0x402a99
cmp byte [ecx], 0
je 0x402a97
mov ecx, dword [esp + 4]
add ecx, 4
add edx, 0xfffffffc
test cl, 3
je 0x402a54
test edx, edx
je 0x401b06
mov eax, ecx
mov edi, dword [esp + 0x30]
jmp 0x402a99
mov byte [esp + 0x26b], dl
mov dword [esp + 0x24], 1
mov byte [esp + 0x44], 0
mov byte [esp + 0x38], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x18], 0
lea eax, [esp + 0x26b]
mov dword [esp + 4], eax
mov dword [esp + 8], 0
xor esi, esi
xor edx, edx
mov dword [esp + 0x54], 0
jmp 0x402ac6
mov ecx, dword [esp + 0x28]
movzx eax, byte [ecx]
add ecx, 4
mov dword [esp + 0x28], ecx
mov byte [esp + 0x26b], al
mov dword [esp + 0x24], 1
mov byte [esp + 0x44], 0
mov byte [esp + 0x38], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x18], 0
lea eax, [esp + 0x26b]
jmp 0x4024c1
mov eax, dword [esp + 0x28]
fld qword [eax]
add eax, 8
mov dword [esp + 0x28], eax
test dword [esp + 8], 0x100
mov edx, dword [esp + 0x14]
jne 0x4022a1
jmp 0x402407
mov edx, dword [esp + 0x28]
mov eax, dword [edx]
mov ecx, dword [esp + 0x50]
sub ecx, esi
add ecx, edi
mov dword [eax], ecx
add edx, 4
mov dword [esp + 0x28], edx
jmp 0x40366b
cmp byte [ecx + 2], 0x32
je 0x401ea0
mov ecx, eax
jmp case.0x4012fa.74
mov dword [esp + 0x4c], eax
jmp 0x401309
mov dword [esp + 0x24], 0
mov dword [esp + 0x18], 0
lea eax, [esp + 0x26c]
jmp 0x4024c1
xor eax, eax
mov ecx, dword [esp + 0x34]
or ecx, esi
je 0x401c24
mov eax, 0xfffffc02
mov dword [esp + 0x18], eax
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x2c]
lea ecx, [eax*4]
xor ebx, ebx
mov eax, 0x8000000
shrd ebx, eax, cl
mov edx, 0x8000000
shr edx, cl
test cl, 0x20
je 0x401c51
mov ebx, edx
xor edx, edx
cmp dword [esp + 0x2c], 0xf
mov eax, dword [esp + 0x34]
jl 0x401c60
xor ebx, ebx
xor edx, edx
shld esi, eax, 8
shl eax, 8
add eax, ebx
mov dword [esp + 0x34], eax
adc esi, edx
mov edx, dword [esp + 0xc]
movzx ecx, dl
lea eax, [esp + 0x44]
mov word [ecx + eax + 1], 0x7830
or dl, 2
mov byte [esp + 0x44], dl
mov ecx, esi
shr ecx, 0x1c
mov eax, dword [esp + 4]
movzx ecx, byte [eax + ecx]
mov byte [esp + 0xac], cl
mov ebx, dword [esp + 0x2c]
test ebx, ebx
je 0x401d5a
movzx ecx, byte [section..data]
xor cl, 0xb
mov byte [esp + 0xad], cl
lea eax, [esp + 0xae]
mov dword [esp + 0x10], eax
mov ecx, ebx
cmp ebx, 0xd
mov edx, dword [esp + 0x18]
jb 0x401cd4
mov ecx, 0xd
mov eax, ebx
sub eax, ecx
jg 0x401cdc
xor eax, eax
mov dword [esp + 0x1c], eax
mov eax, ecx
and eax, 3
je 0x401ea8
mov dword [esp + 0xc], ecx
xor edx, edx
mov ebx, dword [esp + 0x34]
mov dword [esp + 0x14], eax
nop
nop
nop
nop
nop
nop
nop
mov eax, esi
shr eax, 0x18
and eax, 0xf
mov ecx, dword [esp + 4]
movzx eax, byte [ecx + eax]
shld esi, ebx, 4
mov byte [esp + edx + 0xae], al
mov eax, dword [esp + 0x14]
shl ebx, 4
inc edx
cmp eax, edx
jne 0x401d00
mov dword [esp + 0x34], ebx
lea eax, [esp + 0xae]
lea ebx, [eax + edx]
mov ecx, dword [esp + 0xc]
sub ecx, edx
mov edx, dword [esp + 0x18]
cmp dword [esp + 0x2c], 4
jae 0x401eba
lea eax, [esp + 0xae]
mov dword [esp + 0xc], eax
jmp 0x401f3d
lea ebx, [esp + 0xad]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x1c], 0
mov dword [esp + 0xc], ebx
jmp 0x401f39
mov byte [esp + 0x3a], 0x2d
mov eax, 1
sub eax, ebx
mov dword [esp + 4], eax
xor ecx, ecx
cmp eax, 0x64
setge cl
mov dword [esp + 0x2c], 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 + 0x2c]
lea esi, [eax + 4]
mov dword [esp + 0x1c], esi
add bl, 0x30
add edx, edx
lea edx, [edx + edx*4]
mov dword [esp + 0x34], edx
mov edx, dword [esp + 0x1c]
mov byte [esp + 0x38], dl
mov byte [esp + eax + 0x3c], bl
mov edx, ecx
sub edx, dword [esp + 0x34]
add dl, 0x30
mov byte [esp + eax + 0x3b], dl
mov eax, dword [esp + 4]
cmp eax, 0x64
jl 0x401e2a
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 + 0x38]
mov esi, dword [esp + 0x1c]
mov byte [esi + eax - 2], dl
mov esi, dword [esp + 0x14]
sub esi, dword [esp + 0x18]
inc esi
mov dword [esp + 0x40], ecx
mov dword [esp + 0x18], 0x3000001
jmp 0x4029ce
mov edx, eax
add dword [esp + 0x28], 8
mov dword [esp + 0x24], ecx
mov eax, dword [esp + 0x40]
cmp eax, 0xfffffffd
jl 0x401e77
cmp eax, ebx
jg 0x401e77
test eax, eax
jle 0x402454
cmp eax, ecx
jl 0x402469
xor eax, eax
mov dword [esp + 0x1c], eax
jmp 0x40247b
cmp edx, ecx
jle 0x401e8e
mov esi, ecx
mov eax, ecx
xor eax, 1
and esi, 0xfffffffe
add esi, esi
sub esi, eax
jmp 0x40144f
xor esi, esi
sub edx, 1
jb 0x40144f
mov esi, edx
jmp 0x40144f
add ecx, 3
jmp case.0x4012fa.74
lea ebx, [esp + 0xae]
cmp dword [esp + 0x2c], 4
jb 0x401d4a
mov dword [esp + 0x14], esi
mov eax, ecx
mov ecx, dword [esp + 0x34]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov dword [esp + 0xc], eax
mov eax, esi
shr eax, 0x18
and eax, 0xf
mov edx, dword [esp + 4]
movzx eax, byte [edx + eax]
mov byte [ebx], al
mov eax, esi
shr eax, 0x14
and eax, 0xf
movzx eax, byte [edx + eax]
mov byte [ebx + 1], al
mov eax, esi
shr eax, 0x10
and eax, 0xf
movzx eax, byte [edx + eax]
mov byte [ebx + 2], al
mov eax, esi
mov esi, dword [esp + 0x14]
shld esi, ecx, 0x10
shl ecx, 0x10
shr eax, 0xc
and eax, 0xf
movzx eax, byte [edx + eax]
mov byte [ebx + 3], al
mov eax, dword [esp + 0xc]
add ebx, 4
mov dword [esp + 0x14], esi
add eax, 0xfffffffc
jne 0x401ed0
lea eax, [esp + 0xae]
mov dword [esp + 0xc], eax
mov edx, dword [esp + 0x18]
cmp byte [esp + 0x58], 0x41
setne al
shl al, 5
or al, 0x50
mov byte [esp + 0x39], al
test edx, edx
js 0x401f76
mov byte [esp + 0x3a], 0x2b
cmp edx, 0x3e7
ja 0x401f85
cmp edx, 0x63
jbe 0x4020a1
mov dword [esp + 0x34], ebx
mov dword [esp + 4], 5
jmp 0x401f91
mov byte [esp + 0x3a], 0x2d
neg edx
cmp edx, 0x3e7
jbe 0x401f5f
mov dword [esp + 0x34], ebx
mov dword [esp + 4], 6
mov dword [esp + 0x14], 0
mov eax, edx
mov ecx, 0xcccccccd
mov dword [esp + 0x18], edx
mul ecx
shr edx, 2
and edx, 0xfffffffe
lea eax, [edx + edx*4]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x18]
mov esi, 0x66666667
imul esi
mov ecx, edx
mov eax, edx
shr eax, 0x1f
sar ecx, 2
add ecx, eax
mov eax, ecx
imul esi
mov ebx, dword [esp + 0x18]
sub ebx, dword [esp + 0x2c]
mov esi, dword [esp + 4]
mov eax, esi
mov byte [esp + 0x38], al
or bl, 0x30
mov byte [esp + esi + 0x38], bl
mov eax, edx
shr eax, 0x1f
sar edx, 2
add edx, eax
add edx, edx
lea edx, [edx + edx*4]
mov eax, dword [esp + 0x18]
sub ecx, edx
add cl, 0x30
mov byte [esp + esi + 0x37], cl
cmp byte [esp + 0x14], 0
mov ebx, dword [esp + 0x34]
jne 0x4028f1
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]
mov esi, dword [esp + 0x18]
sub ecx, eax
add cl, 0x30
lea eax, [esp + 0x38]
mov edx, dword [esp + 4]
mov byte [edx + eax - 2], cl
cmp esi, 0x3e8
jb 0x4028f1
mov eax, esi
mov ecx, 0x10624dd3
imul ecx
mov ecx, edx
mov eax, edx
shr eax, 0x1f
sar ecx, 6
add ecx, eax
mov eax, ecx
mov edx, 0x66666667
imul edx
mov eax, edx
shr eax, 0x1f
shr edx, 2
add edx, eax
add edx, edx
lea eax, [edx + edx*4]
sub ecx, eax
add cl, 0x30
lea eax, [esp + 0x38]
mov edx, dword [esp + 4]
mov byte [edx + eax - 3], cl
jmp 0x4028f1
cmp edx, 9
jbe 0x4028e5
mov dword [esp + 0x34], ebx
mov dword [esp + 4], 4
mov al, 1
mov dword [esp + 0x14], eax
jmp 0x401f99
mov dword [esp + 0x1c], edx
mov dword [esp + 0x28], eax
jmp 0x4020d7
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x28], eax
mov ebx, dword [esp + 0x14]
test dword [esp + 8], 0x100
jne 0x402270
mov dword [esp + 0x18], esi
movzx edx, byte [0x44b001]
mov eax, edx
add al, dl
and al, 0x3a
mov ah, dl
sub ah, al
add ah, 0x9d
mov byte [esp + 0x34], ah
xor dl, 0x9d
mov byte [esp + 0xc], dl
mov esi, 0x200
xor edx, edx
nop
mov dword [esp + 0x2c], edx
mov ecx, dword [esp + 0x18]
cmp ecx, 0x5f5e100
mov edx, dword [esp + 0x1c]
mov eax, edx
sbb eax, 0
jb 0x402150
push 0
push 0x5f5e100
push edx
push ecx
mov ebx, ecx
call fcn.0040caf0
mov dword [esp + 0x1c], edx
mov edx, ebx
imul ecx, eax, 0x5f5e100
sub edx, ecx
mov ecx, eax
jmp 0x40215c
mov dword [esp + 0x1c], 0
mov edx, ecx
xor ecx, ecx
lea eax, [esp + 0x64]
add eax, esi
mov dword [esp + 4], eax
test byte [esp + 8], 0x40
mov dword [esp + 0x18], ecx
jne 0x4021b0
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 + 0x6a], ax
add esi, 0xfffffffe
cmp ecx, 0x64
jae 0x402180
mov edx, dword [esp + 0x2c]
jmp 0x402220
mov ebx, edx
test edx, edx
mov edx, dword [esp + 0x2c]
je 0x402220
mov ecx, dword [esp + 4]
jmp 0x4021ee
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 + 0x6b], bl
dec esi
mov ebx, edx
mov edx, ecx
mov ecx, dword [esp + 4]
test ebx, ebx
je 0x402224
test byte [esp + 8], 0x40
je 0x4021c0
cmp edx, 3
je 0x402201
mov dword [esp + 4], ecx
inc edx
jmp 0x4021c4
movzx eax, byte [esp + 0x34]
mov byte [esp + esi + 0x6b], al
dec esi
dec ecx
xor edx, edx
test ebx, ebx
jne 0x4021ee
jmp 0x402224
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x18]
or eax, dword [esp + 0x1c]
jne 0x402247
jmp 0x4022e8
inc edx
mov byte [esp + esi + 0x6b], 0x30
dec esi
lea eax, [esp + esi]
add eax, 0x6c
cmp eax, ecx
je 0x402110
test byte [esp + 8], 0x40
je 0x402241
cmp edx, 3
jne 0x402240
movzx eax, byte [esp + 0xc]
mov byte [esp + esi + 0x6b], al
dec esi
dec ecx
xor edx, edx
jmp 0x402247
mov eax, 1
cmp ebx, 0xffffffff
je 0x40227c
mov eax, ebx
xor edx, edx
mov ecx, esi
cmp esi, 0x400
mov ecx, dword [esp + 0x1c]
sbb ecx, 0
jb 0x402291
mov edx, eax
mov dword [esp + 0x60], esi
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x64], eax
fild qword [esp + 0x60]
xor eax, eax
mov ecx, dword [esp + 8]
test ecx, 0x800
sete al
fld qword [eax*8 + 0x448550]
cmp ecx, 0x3ffffff
ja 0x4022e1
fld st(0)
fchs
fxch st(1)
fucom st(2)
fnstsw ax
sahf
jbe 0x402382
fxch st(2)
fucom st(1)
fnstsw ax
sahf
fxch st(2)
jbe 0x402382
fstp st(0)
fstp st(0)
jmp 0x402407
cmp byte [esp + esi + 0x6c], 0x30
sete al
cmp esi, 0x200
setne cl
mov byte [esp + 0x38], 0
mov byte [esp + 0x44], 0
mov dl, 0x2d
cmp byte [esp + 8], 0
js 0x40231e
mov dl, 0x20
test byte [esp + 8], 4
jne 0x40231e
mov dl, 0x2b
test byte [esp + 8], 2
je 0x402327
mov byte [esp + 0x44], 1
mov byte [esp + 0x45], dl
and cl, al
movzx eax, cl
add esi, eax
lea eax, [esp + esi]
add eax, 0x6c
lea ecx, [esi - 0x200]
neg ecx
mov dword [esp + 0x24], ecx
cmp esi, 0x200
jne 0x40235a
mov byte [eax - 1], 0x30
dec eax
mov dword [esp + 0x24], 1
mov ecx, 1
mov dword [esp + 4], eax
xor esi, esi
cmp dword [esp + 0x14], 0
jg 0x40236f
mov dword [esp + 0x14], 0
add ecx, 0x3000000
mov dword [esp + 0x18], ecx
mov edx, dword [esp + 0x14]
jmp 0x402ac6
fdiv st(2), st(0)
mov eax, dword [esp + 8]
lea ecx, [eax + 0x1000000]
cmp eax, 0x2ffffff
ja 0x4023ff
fucom st(2)
fnstsw ax
sahf
jbe 0x4023a7
fxch st(2)
fucom st(1)
fnstsw ax
sahf
fxch st(2)
ja 0x4023ff
fdiv st(2), st(0)
mov eax, dword [esp + 8]
lea ecx, [eax + 0x2000000]
cmp eax, 0x1ffffff
ja 0x4023ff
fucom st(2)
fnstsw ax
sahf
jbe 0x4023cc
fxch st(2)
fucom st(1)
fnstsw ax
sahf
fxch st(2)
ja 0x4023ff
fdiv st(2), st(0)
mov eax, dword [esp + 8]
lea ecx, [eax + 0x3000000]
cmp eax, 0xffffff
ja 0x4023ff
fucom st(2)
fnstsw ax
sahf
jbe 0x403679
fxch st(2)
fucom st(1)
fstp st(1)
fnstsw ax
sahf
fldz
fxch st(1)
fxch st(2)
jbe 0x403679
fstp st(0)
fstp st(0)
mov dword [esp + 8], ecx
mov eax, 6
cmp edx, 0xffffffff
je 0x402413
mov eax, edx
sub esp, 0x18
fstp qword [esp + 8]
mov ecx, eax
lea eax, [esp + 0x58]
mov dword [esp + 4], eax
lea eax, [esp + 0x84]
mov dword [esp], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x10], ecx
lea ecx, [esp + 0x28]
lea edx, [esp + 0x3c]
call fcn.004036d0
add esp, 0x18
test eax, eax
je 0x40247b
or dword [esp + 8], 0x80
jmp 0x40247b
cmp edx, ecx
jl 0x40245a
mov edx, ecx
sub edx, eax
mov dword [esp + 0x1c], edx
jmp 0x40247b
mov ecx, ebx
jmp 0x402a54
mov esi, ecx
mov ecx, eax
xor ecx, esi
not eax
and eax, esi
add eax, eax
sub eax, ecx
mov dword [esp + 0x1c], eax
mov byte [esp + 0x38], 0
mov byte [esp + 0x44], 0
mov al, 0x2d
cmp byte [esp + 8], 0
js 0x4024a0
mov al, 0x20
test byte [esp + 8], 4
jne 0x4024a0
mov al, 0x2b
test byte [esp + 8], 2
je 0x4024a9
mov byte [esp + 0x44], 1
mov byte [esp + 0x45], al
mov ecx, dword [esp + 0x40]
cmp ecx, 0x7000
jne 0x4024ca
mov dword [esp + 0x18], 0
mov eax, dword [esp + 0x10]
mov dword [esp + 4], eax
jmp 0x402ac2
test ecx, ecx
jle 0x402576
mov dword [esp + 4], 0
test byte [esp + 8], 0x40
je 0x4024fc
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 0x4026cd
xor eax, eax
lea ecx, [esp + 0xac]
mov dword [esp + 0x18], ecx
jmp 0x40253b
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
movzx ecx, byte [ecx + eax]
lea esi, [edx + 1]
mov dword [esp + 0x18], esi
mov byte [edx], cl
inc eax
mov ecx, dword [esp + 0x40]
cmp eax, ecx
jae 0x40274d
test byte [esp + 8], 0x40
je 0x402519
mov ecx, dword [esp + 4]
inc ecx
cmp ecx, 4
jne 0x402515
mov ecx, dword [esp + 8]
and ecx, 0x40
shr ecx, 6
mov dword [esp + 4], ecx
movzx ecx, byte [0x44b001]
mov edx, ecx
add dl, cl
and dl, 0x3a
sub cl, dl
add cl, 0x9d
mov edx, dword [esp + 0x18]
mov byte [edx], cl
inc edx
jmp 0x40251d
mov byte [esp + 0xac], 0x30
lea edx, [esp + 0xad]
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x4025b1
movzx eax, byte [section..data]
mov edx, eax
add dl, al
and dl, 0x16
sub al, dl
add al, 0xb
mov byte [esp + 0xad], al
lea edx, [esp + 0xae]
mov eax, dword [esp + 0x1c]
neg ecx
mov esi, eax
cmp eax, ecx
jl 0x4025bb
mov esi, ecx
test esi, esi
mov dword [esp + 4], esi
je 0x4025f4
mov eax, edx
and eax, 3
je 0x4025f4
mov ebx, edx
not ebx
and ebx, 3
dec esi
cmp ebx, esi
jb 0x4025d8
mov ebx, esi
lea eax, [ebx + 1]
push eax
push 0x30
push edx
mov dword [esp + 0x18], edx
call fcn.0040cbe0
mov edx, dword [esp + 0x18]
add esp, 0xc
add edx, ebx
inc edx
sub esi, ebx
cmp esi, 4
jl 0x402631
mov eax, esi
cmp esi, 7
jl 0x402605
mov eax, 7
neg eax
lea ebx, [esi + eax]
add ebx, 3
and ebx, 0xfffffffc
lea eax, [ebx + 4]
push eax
push 0x30
push edx
mov dword [esp + 0x18], edx
call fcn.0040cbe0
mov edx, dword [esp + 0x18]
add esp, 0xc
sub esi, ebx
add esi, 0xfffffffc
add edx, ebx
add edx, 4
test esi, esi
je 0x40264b
push esi
push 0x30
push edx
mov dword [esp + 0x18], edx
call fcn.0040cbe0
mov edx, dword [esp + 0x18]
add esp, 0xc
add edx, esi
mov ebx, dword [esp + 0x24]
mov esi, dword [esp + 4]
lea ecx, [ebx + esi]
cmp ecx, dword [esp + 0x1c]
jle 0x402666
mov ebx, dword [esp + 0x1c]
sub ebx, esi
mov dword [esp + 0x24], ebx
mov eax, edx
test ebx, ebx
je 0x40298e
mov edx, dword [esp + 0x1c]
mov dword [esp + 0xc], edx
cmp edx, ecx
jl 0x402680
mov dword [esp + 0xc], ecx
mov ecx, ebx
and ecx, 3
je 0x402936
mov dword [esp + 0x14], ebx
xor esi, esi
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ebx, dword [esp + 0x10]
lea edx, [ebx + 1]
mov dword [esp + 0x10], edx
movzx edx, byte [ebx]
mov byte [eax + esi], dl
inc esi
cmp ecx, esi
jne 0x4026a0
mov edx, eax
add edx, esi
mov eax, edx
mov ebx, dword [esp + 0x14]
mov ecx, ebx
sub ecx, esi
mov esi, dword [esp + 4]
jmp 0x402938
xor ecx, ecx
mov ebx, 0xffffffff
mov esi, 1
lea edx, [esp + 0xac]
jmp 0x40270b
mov eax, dword [esp + 0x10]
movzx eax, byte [eax + esi - 1]
mov byte [edx], al
mov eax, edx
inc edx
inc ecx
dec ebx
inc esi
cmp ecx, dword [esp + 0x24]
jae 0x4027de
test byte [esp + 8], 0x40
je 0x4026f0
mov eax, dword [esp + 4]
inc eax
mov dword [esp + 4], eax
cmp eax, 4
jne 0x4026f0
mov eax, dword [esp + 8]
and eax, 0x40
shr eax, 6
mov dword [esp + 4], eax
movzx eax, byte [0x44b001]
mov dword [esp + 0xc], edx
mov edx, eax
add dl, al
and dl, 0x3a
sub al, dl
add al, 0x9d
mov edx, dword [esp + 0xc]
mov byte [edx], al
inc edx
jmp 0x4026f0
mov esi, dword [esp + 0x18]
mov dword [esp + 0xc], esi
cmp dword [esp + 0x1c], 0
je 0x40277d
movzx ecx, byte [section..data]
mov ch, cl
add ch, cl
and ch, 0x16
sub cl, ch
add cl, 0xb
mov byte [edx + 1], cl
add edx, 2
mov ecx, dword [esp + 0x40]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x24]
mov esi, edx
sub esi, ecx
cmp esi, dword [esp + 0x1c]
jbe 0x402795
mov edx, dword [esp + 0x1c]
add edx, ecx
mov dword [esp + 0x24], edx
cmp eax, edx
jae 0x4027bc
mov esi, dword [esp + 0xc]
nop
nop
nop
mov ecx, dword [esp + 0x10]
movzx ecx, byte [ecx + eax]
mov byte [esi], cl
inc eax
inc esi
mov edx, dword [esp + 0x24]
cmp eax, edx
jb 0x4027a0
mov dword [esp + 0xc], esi
mov ecx, dword [esp + 0x40]
lea eax, [esp + 0xac]
mov ebx, dword [esp + 0x18]
sub ebx, eax
add ebx, 0x3000000
mov esi, dword [esp + 0x1c]
sub esi, edx
mov edx, ebx
add esi, ecx
jmp 0x4029a3
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0xc], eax
sub eax, ecx
jbe 0x4028b4
test byte [esp + 8], 0x40
jne 0x402884
cmp dword [esp + 0xc], ecx
je 0x402865
mov ecx, edx
and ecx, 3
je 0x402865
mov ecx, 2
sub ecx, dword [esp + 0x14]
and ecx, 3
mov eax, dword [esp + 0xc]
sub eax, esi
mov dword [esp + 0x18], ecx
mov dword [esp + 0x2c], ecx
cmp ecx, eax
mov ecx, dword [esp + 0x18]
jb 0x40282e
mov ecx, eax
mov dword [esp + 0x18], ecx
lea eax, [ecx + 1]
push eax
push 0x30
push edx
call fcn.0040cbe0
add esp, 0xc
add ebx, dword [esp + 0xc]
mov eax, dword [esp + 0x2c]
cmp ebx, eax
jb 0x40284f
mov ebx, eax
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
lea edx, [eax + ecx]
add edx, 2
mov eax, dword [esp + 0xc]
sub eax, ebx
sub eax, esi
cmp eax, 4
jb 0x402884
mov dword [edx], 0x30303030
add edx, 4
mov ecx, eax
not ecx
and ecx, 4
and eax, 0xfffffffb
sub eax, ecx
cmp eax, 3
ja 0x40286a
test eax, eax
je 0x4028b4
mov ecx, dword [esp + 4]
jmp 0x402897
mov byte [edx], 0x30
dec eax
inc edx
test eax, eax
je 0x4028b4
test byte [esp + 8], 0x40
je 0x40288e
inc ecx
cmp ecx, 4
jne 0x40288e
movzx ecx, byte [0x44b001]
xor cl, 0x9d
mov byte [edx], cl
xor ecx, ecx
jmp 0x402892
mov ecx, edx
lea eax, [esp + 0xac]
sub edx, eax
add edx, 0x3000000
cmp dword [esp + 0x1c], 0
je 0x40292e
movzx eax, byte [section..data]
xor al, 0xb
mov byte [ecx], al
mov esi, dword [esp + 0x1c]
inc ecx
mov dword [esp + 0xc], ecx
jmp 0x4029a3
mov byte [esp + 0x38], 3
or dl, 0x30
mov byte [esp + 0x3b], dl
add dword [esp + 0x28], 8
mov eax, ebx
sub eax, dword [esp + 0xc]
mov dword [esp + 0x40], eax
mov eax, ebx
not eax
lea ecx, [esp + 0xac]
and eax, ecx
and ebx, dword [esp + 0x5c]
sub ebx, eax
mov dword [esp + 0x24], ebx
xor edx, edx
mov dword [esp + 0x18], 0x3000001
mov dword [esp + 4], ecx
mov esi, dword [esp + 0x1c]
jmp 0x402ac6
mov dword [esp + 0xc], ecx
xor esi, esi
jmp 0x4029a3
mov ecx, ebx
mov edx, esi
sub edx, dword [esp + 0xc]
cmp edx, 0xfffffffc
ja 0x40298e
mov edx, dword [esp + 0x10]
lea esi, [edx + 1]
mov dword [esp + 0x10], esi
movzx edx, byte [edx]
mov byte [eax], dl
mov edx, dword [esp + 0x10]
lea esi, [edx + 1]
mov dword [esp + 0x10], esi
movzx edx, byte [edx]
mov byte [eax + 1], dl
mov edx, dword [esp + 0x10]
lea esi, [edx + 1]
mov dword [esp + 0x10], esi
movzx edx, byte [edx]
mov byte [eax + 2], dl
mov edx, dword [esp + 0x10]
lea esi, [edx + 1]
mov dword [esp + 0x10], esi
movzx edx, byte [edx]
mov byte [eax + 3], dl
add eax, 4
add ecx, 0xfffffffc
jne 0x402943
mov dword [esp + 0xc], eax
mov eax, dword [esp + 4]
add eax, ebx
mov esi, dword [esp + 0x1c]
sub esi, eax
mov edx, 0x3000001
test dword [esp + 8], 0x100
mov dword [esp + 0x18], edx
je 0x4029ce
mov ecx, dword [esp + 8]
mov eax, ecx
and eax, 0x400
sete byte [esp + 0x38]
mov byte [esp + 0x39], 0x20
cmp ecx, 0x1000000
jae 0x4029ea
mov ecx, dword [esp + 0xc]
lea eax, [esp + 0xac]
sub ecx, eax
mov dword [esp + 0x24], ecx
xor edx, edx
mov dword [esp + 4], eax
jmp 0x402ac6
mov ecx, dword [esp + 8]
shr ecx, 0x18
mov ebx, eax
shr ebx, 0xa
mov edx, 2
sub edx, ebx
mov ebx, dword [esp + 8]
cmp eax, 1
mov eax, 0
adc al, 1
test ebx, 0x800
jne 0x402a20
movzx ecx, byte [ecx + str._kMGT]
mov byte [esp + edx + 0x38], cl
jmp 0x402a44
movzx ecx, byte [ecx + str._KMGT]
mov byte [esp + edx + 0x38], cl
mov ecx, ebx
and ecx, 0x1800
cmp ecx, 0x800
jne 0x402a44
movzx eax, al
mov byte [esp + eax + 0x39], 0x69
inc eax
mov ecx, dword [esp + 0xc]
mov byte [esp + 0x38], al
jmp 0x4029d2
mov eax, ebx
jmp 0x402a9d
mov edx, esi
cmp edx, 4
jb 0x402a85
mov ebx, dword [ecx]
mov esi, ebx
not esi
mov eax, esi
and eax, 0x1010101
or esi, 0x1010101
add esi, eax
or esi, ebx
not esi
test esi, 0x80808080
jne 0x402a89
add ecx, 4
add edx, 0xfffffffc
cmp edx, 3
ja 0x402a59
test edx, edx
je 0x402a97
lea eax, [ecx + edx]
cmp byte [ecx], 0
je 0x402a97
inc ecx
dec edx
jne 0x402a8c
mov ecx, eax
mov eax, ecx
mov ebx, dword [esp + 4]
add dword [esp + 0x28], 4
sub eax, ebx
mov dword [esp + 0x24], eax
mov byte [esp + 0x44], 0
mov byte [esp + 0x38], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x18], 0
xor esi, esi
xor edx, edx
mov dword [esp + 0x1c], esi
mov ebx, dword [esp + 0x24]
cmp edx, ebx
mov ecx, edx
jg 0x402ad6
mov ecx, ebx
movsx eax, byte [esp + 0x44]
mov edx, ecx
xor edx, eax
movsx esi, byte [esp + 0x38]
add esi, dword [esp + 0x1c]
add esi, edx
mov dword [esp + 0x14], ecx
and ecx, eax
lea ecx, [esi + ecx*2]
mov esi, dword [esp + 0x54]
cmp esi, ecx
jg 0x402afd
mov esi, ecx
mov edx, esi
not edx
and edx, ecx
not ecx
and ecx, esi
sub ecx, edx
mov dword [esp + 0xc], ecx
sub dword [esp + 0x14], ebx
test byte [esp + 8], 1
jne 0x402b37
test byte [esp + 8], 0x10
mov esi, dword [esp + 0x20]
jne 0x402b3d
mov edx, dword [esp + 8]
mov ecx, edx
not ecx
or ecx, 0xffffffbf
add edx, ecx
inc edx
mov dword [esp + 8], edx
jmp 0x402b57
mov esi, dword [esp + 0x20]
jmp 0x402b57
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
cmp edx, ecx
jg 0x402b4b
mov edx, ecx
mov dword [esp + 0x14], edx
mov dword [esp + 0xc], 0
mov edx, dword [esp + 4]
mov ecx, dword [esp + 0xc]
add ecx, dword [esp + 0x14]
je 0x402fde
test byte [esp + 8], 1
jne 0x402c90
cmp dword [esp + 0xc], 0
jle 0x402c90
mov edx, dword [esp + 0xc]
jmp 0x402ba0
mov edx, dword [esp + 0xc]
sub edx, dword [esp + 0x30]
test edx, edx
jle 0x402c83
mov ecx, esi
sub ecx, edi
add ecx, 0x200
mov eax, edx
mov dword [esp + 0xc], edx
cmp edx, ecx
jl 0x402bb6
mov eax, ecx
mov ebx, dword [esp + 0xc]
cmp dword [ebp + 8], 0
je 0x402bc2
mov ebx, eax
test ebx, ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x20], esi
je 0x402bfb
mov eax, edi
and eax, 3
je 0x402bfb
mov esi, edi
not esi
and esi, 3
dec ebx
cmp esi, ebx
jb 0x402be3
mov esi, ebx
lea eax, [esi + 1]
push eax
push 0x20
push edi
call fcn.0040cbe0
add esp, 0xc
add edi, esi
inc edi
sub ebx, esi
mov esi, dword [esp + 0x20]
cmp ebx, 4
jl 0x402c34
mov eax, ebx
cmp ebx, 7
jl 0x402c0c
mov eax, 7
neg eax
lea esi, [ebx + eax]
add esi, 3
and esi, 0xfffffffc
lea eax, [esi + 4]
push eax
push 0x20
push edi
call fcn.0040cbe0
add esp, 0xc
add edi, esi
add edi, 4
sub ebx, esi
add ebx, 0xfffffffc
mov esi, dword [esp + 0x20]
test ebx, ebx
je 0x402c46
push ebx
push 0x20
push edi
call fcn.0040cbe0
add esp, 0xc
add edi, ebx
cmp dword [ebp + 8], 0
je 0x402b90
mov eax, edi
sub eax, esi
lea ecx, [eax + 1]
cmp ecx, 0x200
jl 0x402b90
add dword [esp + 0x50], eax
push eax
push dword [ebp + 0xc]
push esi
call dword [ebp + 8]
add esp, 0xc
test eax, eax
je 0x4036ae
mov edi, eax
mov esi, eax
jmp 0x402b90
mov dword [esp + 0xc], edx
movzx eax, byte [esp + 0x44]
mov edx, dword [esp + 4]
lea ecx, [esp + 0x45]
mov dword [esp + 0x10], ecx
jmp 0x402cad
mov edi, eax
mov esi, eax
mov edx, dword [esp + 4]
movzx eax, byte [esp + 0x44]
test al, al
je 0x402dad
movsx ebx, al
mov edx, esi
sub edx, edi
add edx, 0x200
cmp edx, ebx
jl 0x402cc8
mov edx, ebx
cmp dword [ebp + 8], 0
je 0x402cd0
mov ebx, edx
sub al, bl
mov byte [esp + 0x44], al
test ebx, ebx
je 0x402d6b
mov eax, ebx
and eax, 3
je 0x402da0
mov dword [esp + 0x20], esi
xor edx, edx
nop
mov esi, dword [esp + 0x10]
lea ecx, [esi + 1]
mov dword [esp + 0x10], ecx
movzx ecx, byte [esi]
mov byte [edi + edx], cl
inc edx
cmp eax, edx
jne 0x402cf0
add edi, edx
mov eax, ebx
sub eax, edx
mov esi, dword [esp + 0x20]
cmp ebx, 4
jb 0x402d6b
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [esp + 0x10]
lea edx, [ecx + 1]
mov dword [esp + 0x10], edx
movzx ecx, byte [ecx]
mov byte [edi], cl
mov ecx, dword [esp + 0x10]
lea edx, [ecx + 1]
mov dword [esp + 0x10], edx
movzx ecx, byte [ecx]
mov byte [edi + 1], cl
mov ecx, dword [esp + 0x10]
lea edx, [ecx + 1]
mov dword [esp + 0x10], edx
movzx ecx, byte [ecx]
mov byte [edi + 2], cl
mov ecx, dword [esp + 0x10]
lea edx, [ecx + 1]
mov dword [esp + 0x10], edx
movzx ecx, byte [ecx]
mov byte [edi + 3], cl
add edi, 4
add eax, 0xfffffffc
jne 0x402d20
cmp dword [ebp + 8], 0
je 0x402ca4
mov eax, edi
sub eax, esi
cmp eax, 0x1ff
jl 0x402ca4
add dword [esp + 0x50], eax
push eax
push dword [ebp + 0xc]
push esi
call dword [ebp + 8]
add esp, 0xc
test eax, eax
jne 0x402ca0
jmp 0x4036ae
mov eax, ebx
cmp ebx, 4
jae 0x402d20
jmp 0x402d6b
mov dword [esp + 0x20], esi
mov eax, dword [esp + 0x18]
mov ecx, eax
shr ecx, 0x18
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 8]
xor esi, esi
mov ebx, ecx
test cl, 0x40
je 0x402de5
and eax, 0xffffff
add eax, dword [esp + 0x14]
mov esi, dword [esp + 0x30]
lea ecx, [esi + 1]
xor edx, edx
div ecx
sub esi, edx
mov edx, dword [esp + 4]
cmp dword [esp + 0x14], 0
jle 0x40365e
mov eax, dword [esp + 0x14]
jmp 0x402e14
mov eax, dword [esp + 0x14]
sub eax, dword [esp + 0x18]
test eax, eax
mov edx, dword [esp + 4]
jle 0x402fd5
mov dword [esp + 0x14], eax
mov ecx, eax
cmp dword [ebp + 8], 0
je 0x402e37
mov eax, dword [esp + 0x20]
sub eax, edi
add eax, 0x200
mov ecx, dword [esp + 0x14]
mov edx, ecx
cmp ecx, eax
jl 0x402e37
mov ecx, eax
mov eax, ebx
test al, 0x40
mov dword [esp + 0x18], ecx
jne 0x402e90
test ecx, ecx
je 0x402ea0
mov eax, edi
and eax, 3
je 0x402ea0
mov eax, edi
not eax
and eax, 3
dec ecx
cmp eax, ecx
jb 0x402e5a
mov eax, ecx
mov dword [esp + 0x34], eax
inc eax
push eax
push 0x30
push edi
mov dword [esp + 0x38], ecx
call fcn.0040cbe0
mov edx, dword [esp + 0x38]
add esp, 0xc
mov eax, dword [esp + 0x34]
add edi, eax
inc edi
sub edx, eax
cmp edx, 4
jge 0x402ea7
jmp 0x402ee6
mov edx, ecx
jmp 0x402ee6
mov edx, ecx
cmp edx, 4
jl 0x402ee6
mov eax, edx
cmp edx, 7
jl 0x402eb3
mov eax, 7
neg eax
add eax, edx
add eax, 3
and eax, 0xfffffffc
mov dword [esp + 0x34], eax
add eax, 4
push eax
push 0x30
push edi
mov dword [esp + 0x38], edx
call fcn.0040cbe0
mov edx, dword [esp + 0x38]
add esp, 0xc
mov eax, dword [esp + 0x34]
add edi, eax
add edi, 4
sub edx, eax
add edx, 0xfffffffc
test edx, edx
je 0x402f30
test dl, 1
jne 0x402f00
mov eax, edx
cmp edx, 1
jne 0x402f97
jmp 0x402f30
mov al, 0x30
mov ecx, ebx
test cl, 0x40
je 0x402f1d
cmp esi, dword [esp + 0x30]
jne 0x402f1c
movzx eax, byte [0x44b001]
xor al, 0x9d
xor esi, esi
jmp 0x402f1d
inc esi
mov byte [edi], al
inc edi
lea eax, [edx - 1]
cmp edx, 1
jne 0x402f97
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [ebp + 8], 0
je 0x402e00
mov eax, edi
mov edx, dword [esp + 0x20]
sub eax, edx
lea ecx, [eax + 1]
cmp ecx, 0x200
jl 0x402e00
add dword [esp + 0x50], eax
push eax
push dword [ebp + 0xc]
push edx
call dword [ebp + 8]
add esp, 0xc
test eax, eax
je 0x4036ae
mov edi, eax
mov dword [esp + 0x20], eax
jmp 0x402e00
movzx ecx, byte [0x44b001]
xor cl, 0x9d
xor esi, esi
mov byte [edi + 1], cl
add edi, 2
add eax, 0xfffffffe
je 0x402f30
mov cl, 0x30
mov edx, ebx
test dl, 0x40
je 0x402fc1
cmp esi, dword [esp + 0x30]
jne 0x402fc0
movzx edx, byte [0x44b001]
xor dl, 0x9d
xor esi, esi
jmp 0x402fc3
inc esi
mov dl, 0x30
mov byte [edi], dl
mov edx, ebx
test dl, 0x40
je 0x402f8c
cmp esi, dword [esp + 0x30]
je 0x402f80
inc esi
jmp 0x402f8c
movzx eax, byte [esp + 0x44]
mov esi, dword [esp + 0x20]
lea ecx, [esp + 0x45]
mov dword [esp + 0x10], ecx
jmp 0x402ffd
mov edi, eax
mov esi, eax
mov edx, dword [esp + 4]
movzx eax, byte [esp + 0x44]
test al, al
je 0x4030fd
movsx ebx, al
mov edx, esi
sub edx, edi
add edx, 0x200
cmp edx, ebx
jl 0x403018
mov edx, ebx
cmp dword [ebp + 8], 0
je 0x403020
mov ebx, edx
sub al, bl
mov byte [esp + 0x44], al
test ebx, ebx
je 0x4030bb
mov eax, ebx
and eax, 3
je 0x4030f0
mov dword [esp + 0x20], esi
xor edx, edx
nop
mov esi, dword [esp + 0x10]
lea ecx, [esi + 1]
mov dword [esp + 0x10], ecx
movzx ecx, byte [esi]
mov byte [edi + edx], cl
inc edx
cmp eax, edx
jne 0x403040
add edi, edx
mov eax, ebx
sub eax, edx
mov esi, dword [esp + 0x20]
cmp ebx, 4
jb 0x4030bb
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [esp + 0x10]
lea edx, [ecx + 1]
mov dword [esp + 0x10], edx
movzx ecx, byte [ecx]
mov byte [edi], cl
mov ecx, dword [esp + 0x10]
lea edx, [ecx + 1]
mov dword [esp + 0x10], edx
movzx ecx, byte [ecx]
mov byte [edi + 1], cl
mov ecx, dword [esp + 0x10]
lea edx, [ecx + 1]
mov dword [esp + 0x10], edx
movzx ecx, byte [ecx]
mov byte [edi + 2], cl
mov ecx, dword [esp + 0x10]
lea edx, [ecx + 1]
mov dword [esp + 0x10], edx
movzx ecx, byte [ecx]
mov byte [edi + 3], cl
add edi, 4
add eax, 0xfffffffc
jne 0x403070
cmp dword [ebp + 8], 0
je 0x402ff4
mov eax, edi
sub eax, esi
cmp eax, 0x1ff
jl 0x402ff4
add dword [esp + 0x50], eax
push eax
push dword [ebp + 0xc]
push esi
call dword [ebp + 8]
add esp, 0xc
test eax, eax
jne 0x402ff0
jmp 0x4036ae
mov eax, ebx
cmp ebx, 4
jae 0x403070
jmp 0x4030bb
mov dword [esp + 0x20], esi
mov esi, dword [esp + 0x24]
test esi, esi
jne 0x40325a
mov edx, dword [esp + 0x1c]
test edx, edx
mov esi, dword [esp + 0x20]
jne 0x40341e
lea eax, [esp + 0x39]
mov dword [esp + 0x10], eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ecx, byte [esp + 0x38]
test cl, cl
je 0x403506
movsx eax, cl
mov edx, esi
sub edx, edi
add edx, 0x200
cmp edx, eax
jl 0x403150
mov edx, eax
cmp dword [ebp + 8], 0
je 0x403158
mov eax, edx
sub cl, al
mov byte [esp + 0x38], cl
test eax, eax
je 0x4031fb
mov ecx, eax
and ecx, 3
je 0x403240
mov dword [esp + 0x20], esi
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov esi, dword [esp + 0x10]
lea ebx, [esi + 1]
mov dword [esp + 0x10], ebx
movzx ebx, byte [esi]
mov byte [edi + edx], bl
inc edx
cmp ecx, edx
jne 0x403180
add edi, edx
mov ecx, eax
sub ecx, edx
mov esi, dword [esp + 0x20]
cmp eax, 4
jb 0x4031fb
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 0x10]
lea edx, [eax + 1]
mov dword [esp + 0x10], edx
movzx eax, byte [eax]
mov byte [edi], al
mov eax, dword [esp + 0x10]
lea edx, [eax + 1]
mov dword [esp + 0x10], edx
movzx eax, byte [eax]
mov byte [edi + 1], al
mov eax, dword [esp + 0x10]
lea edx, [eax + 1]
mov dword [esp + 0x10], edx
movzx eax, byte [eax]
mov byte [edi + 2], al
mov eax, dword [esp + 0x10]
lea edx, [eax + 1]
mov dword [esp + 0x10], edx
movzx eax, byte [eax]
mov byte [edi + 3], al
add edi, 4
add ecx, 0xfffffffc
jne 0x4031b0
cmp dword [ebp + 8], 0
je 0x403130
mov eax, edi
sub eax, esi
lea ecx, [eax + 1]
cmp ecx, 0x200
jl 0x403130
add dword [esp + 0x50], eax
push eax
push dword [ebp + 0xc]
push esi
call dword [ebp + 8]
add esp, 0xc
test eax, eax
je 0x4036ae
mov edi, eax
mov esi, eax
jmp 0x403130
mov ecx, eax
cmp eax, 4
jae 0x4031b0
jmp 0x4031fb
sub esi, dword [esp + 0x30]
je 0x40310d
mov ecx, esi
cmp dword [ebp + 8], 0
je 0x40327f
mov ecx, dword [esp + 0x20]
mov eax, ecx
xor eax, edi
not ecx
and ecx, edi
add ecx, ecx
sub eax, ecx
add eax, 0x200
mov ecx, esi
cmp esi, eax
jl 0x40327f
mov ecx, eax
cmp ecx, 4
mov dword [esp + 0x30], ecx
jl 0x4032e0
lea ebx, [ecx - 4]
mov eax, ebx
shr eax, 2
inc eax
and eax, 7
je 0x4032e4
mov dword [esp + 0x14], ebx
mov dword [esp + 4], esi
shl eax, 2
mov ebx, edx
xor edx, edx
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 0x4032b0
add edi, edx
mov ecx, dword [esp + 0x30]
sub ecx, edx
add ebx, edx
mov eax, ecx
mov edx, ebx
mov esi, dword [esp + 4]
mov ebx, dword [esp + 0x14]
cmp ebx, 0x1c
jae 0x4032f0
jmp 0x403331
mov eax, ecx
jmp 0x403331
cmp ebx, 0x1c
jb 0x403331
nop
nop
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 edx, 0x20
add edi, 0x20
lea eax, [ecx - 0x20]
add ecx, 0xffffffdc
cmp ecx, 0xfffffff8
mov ecx, eax
jb 0x4032f0
test eax, eax
je 0x4033b1
mov ecx, eax
and ecx, 7
je 0x403400
mov dword [esp + 4], 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 0x403350
add edi, edx
mov ecx, eax
sub ecx, edx
add esi, edx
mov edx, esi
mov esi, dword [esp + 4]
cmp eax, 8
jb 0x4033b1
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 0x403370
cmp dword [ebp + 8], 0
je 0x403250
mov eax, edi
mov ecx, dword [esp + 0x20]
sub eax, ecx
cmp eax, 0x1ff
jl 0x403250
mov ebx, esi
mov esi, edx
add dword [esp + 0x50], eax
push eax
push dword [ebp + 0xc]
push ecx
call dword [ebp + 8]
add esp, 0xc
test eax, eax
je 0x4036ae
mov edi, eax
mov dword [esp + 0x20], eax
mov edx, esi
mov esi, ebx
jmp 0x403250
mov ecx, eax
cmp eax, 8
jae 0x403370
jmp 0x4033b1
mov edx, dword [esp + 0x1c]
sub edx, dword [esp + 0x30]
je 0x40311d
mov ecx, esi
sub ecx, edi
add ecx, 0x200
mov eax, edx
mov dword [esp + 0x1c], edx
cmp edx, ecx
jl 0x403434
mov eax, ecx
mov ecx, dword [esp + 0x1c]
cmp dword [ebp + 8], 0
je 0x403440
mov ecx, eax
test ecx, ecx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x20], esi
je 0x403480
mov eax, edi
and eax, 3
je 0x403480
mov ebx, edi
not ebx
and ebx, 3
lea esi, [ecx - 1]
cmp ebx, esi
jb 0x403463
mov ebx, esi
lea eax, [ebx + 1]
push eax
push 0x30
push edi
call fcn.0040cbe0
add esp, 0xc
add edi, ebx
inc edi
sub esi, ebx
cmp esi, 4
jge 0x403487
jmp 0x4034b7
mov esi, ecx
cmp esi, 4
jl 0x4034b7
mov eax, esi
cmp esi, 7
jl 0x403493
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.0040cbe0
add esp, 0xc
add edi, ebx
add edi, 4
sub esi, ebx
add esi, 0xfffffffc
test esi, esi
je 0x4034c9
push esi
push 0x30
push edi
call fcn.0040cbe0
add esp, 0xc
add edi, esi
mov esi, dword [esp + 0x20]
cmp dword [ebp + 8], 0
je 0x403410
mov eax, edi
sub eax, esi
cmp eax, 0x1ff
jl 0x403410
add dword [esp + 0x50], eax
push eax
push dword [ebp + 0xc]
push esi
call dword [ebp + 8]
add esp, 0xc
test eax, eax
je 0x4036ae
mov edi, eax
mov esi, eax
jmp 0x403410
test byte [esp + 8], 1
je 0x40366b
mov ebx, dword [esp + 0xc]
test ebx, ebx
mov eax, dword [esp + 0x4c]
jle 0x40366f
jne 0x40353c
jmp 0x40366f
mov eax, dword [esp + 0x4c]
sub ebx, edx
je 0x40366f
mov ecx, ebx
cmp dword [ebp + 8], 0
je 0x403559
mov eax, esi
sub eax, edi
add eax, 0x200
mov ecx, ebx
cmp ebx, eax
jl 0x403555
mov ecx, eax
mov eax, dword [esp + 0x4c]
test ecx, ecx
mov dword [esp + 8], ecx
mov dword [esp + 0x20], esi
mov dword [esp + 0xc], ebx
je 0x4035c0
mov eax, edi
and eax, 3
je 0x4035b0
mov ebx, edi
not ebx
and ebx, 3
lea esi, [ecx - 1]
cmp ebx, esi
jb 0x403580
mov ebx, esi
lea eax, [ebx + 1]
push eax
push 0x20
push edi
call fcn.0040cbe0
add esp, 0xc
add edi, ebx
inc edi
sub esi, ebx
mov eax, dword [esp + 0x4c]
mov ebx, dword [esp + 0xc]
cmp esi, 4
jge 0x4035c7
jmp 0x4035ff
mov esi, ecx
mov eax, dword [esp + 0x4c]
cmp esi, 4
jge 0x4035c7
jmp 0x4035ff
mov esi, ecx
cmp esi, 4
jl 0x4035ff
mov eax, esi
cmp esi, 7
jl 0x4035d3
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.0040cbe0
add esp, 0xc
add edi, ebx
add edi, 4
sub esi, ebx
add esi, 0xfffffffc
mov eax, dword [esp + 0x4c]
mov ebx, dword [esp + 0xc]
test esi, esi
je 0x403615
push esi
push 0x20
push edi
call fcn.0040cbe0
mov eax, dword [esp + 0x58]
add esp, 0xc
add edi, esi
mov esi, dword [esp + 0x20]
mov edx, dword [esp + 8]
cmp dword [ebp + 8], 0
je 0x403534
mov eax, edi
sub eax, esi
lea ecx, [eax + 1]
cmp ecx, 0x200
jl 0x403530
add dword [esp + 0x50], eax
push eax
push dword [ebp + 0xc]
push esi
call dword [ebp + 8]
add esp, 0xc
test eax, eax
je 0x4036ae
mov edi, eax
mov esi, eax
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + 8]
jmp 0x403534
lea eax, [esp + 0x45]
mov dword [esp + 0x10], eax
jmp 0x403101
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x30], edi
inc eax
jmp 0x401059
fstp st(1)
fdivp st(1)
or dword [esp + 8], 0x4000000
jmp 0x402407
test edx, edx
je 0x4036b4
mov ecx, dword [esp + 0x30]
mov eax, ecx
sub eax, esi
test eax, eax
jle 0x4036bb
add dword [esp + 0x50], eax
push eax
push dword [ebp + 0xc]
push esi
call edx
add esp, 0xc
mov ecx, eax
mov esi, eax
jmp 0x4036bb
xor ecx, ecx
xor esi, esi
jmp 0x4036bb
mov ecx, dword [esp + 0x30]
mov byte [ecx], 0
mov eax, dword [esp + 0x50]
add eax, ecx
sub eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret