Function at 0x401000
Capabilities:
Encode data using xor
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x268
mov eax, dword [ebp + 0x18]
mov dword [esp + 0x28], eax
mov eax, dword [ebp + 0x14]
mov edi, dword [ebp + 0x10]
mov dword [esp + 0x4c], 0
mov esi, edi
jmp 0x401036
mov byte [edi], al
inc edi
mov eax, ebx
inc eax
test al, 3
mov dword [esp + 0x2c], esi
mov ebx, eax
je 0x401050
movzx eax, byte [eax]
jmp 0x4010d0
mov eax, dword [eax]
mov ecx, eax
xor ecx, 0xdadadada
add ecx, 0x1010101
or ecx, eax
not ecx
test ecx, 0x80808080
jne 0x4010d0
mov ecx, esi
sub ecx, edi
add ecx, 0x200
jmp 0x4010a8
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx + 4]
add ebx, 4
mov edx, eax
xor edx, 0xdadadada
add edx, 0x1010101
or edx, eax
not edx
add ecx, 0xfffffffc
test edx, 0x80808080
jne 0x4010d0
mov edx, eax
not edx
lea esi, [eax - 0x1010101]
and esi, edx
test esi, 0x80808080
jne 0x4010d4
cmp dword [ebp + 8], 0
je 0x401080
cmp ecx, 4
jge 0x401080
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp al, 0x25
je 0x401129
test al, al
mov esi, dword [esp + 0x2c]
je 0x40384f
cmp dword [ebp + 8], 0
je 0x401030
mov edx, edi
not edx
and edx, esi
mov ecx, esi
not ecx
and ecx, edi
sub ecx, edx
cmp ecx, 0x1ff
jl 0x401030
add dword [esp + 0x4c], ecx
push ecx
push dword [ebp + 0xc]
push esi
call dword [ebp + 8]
add esp, 0xc
test eax, eax
je 0x403872
mov edi, eax
mov eax, ebx
movzx eax, byte [ebx]
mov esi, edi
jmp 0x401030
mov ecx, ebx
add ecx, 2
xor ebx, ebx
jmp 0x401150
mov eax, ebx
xor eax, 1
add eax, ebx
and ebx, 0xfffffffe
sub eax, ebx
inc ecx
mov ebx, eax
nop
nop
nop
nop
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.0x40115c.33
jmp dword [edx*4 + 0x44c564]
or ebx, 4
inc ecx
jmp 0x401150
or ebx, 8
inc ecx
jmp 0x401150
or ebx, 0x400
inc ecx
jmp 0x401150
or ebx, 0x40
inc ecx
jmp 0x401150
test ebx, 0x100
jne 0x401195
or ebx, 0x100
inc ecx
jmp 0x401150
or ebx, 2
inc ecx
jmp 0x401150
test ebx, 0x800
jne 0x4011a6
or ebx, 0x800
inc ecx
jmp 0x401150
or ebx, 0x1000
inc ecx
jmp 0x401150
or ebx, 0x10
movzx eax, byte [ecx]
jmp 0x4011b8
dec ecx
cmp al, 0x2a
mov esi, dword [esp + 0x2c]
jne 0x4011d8
mov eax, dword [esp + 0x28]
mov edx, dword [eax]
mov dword [esp + 0x34], edx
add eax, 4
mov dword [esp + 0x28], eax
movzx eax, byte [ecx + 1]
inc ecx
jmp 0x401213
mov edx, eax
add dl, 0xd0
mov dword [esp + 0x34], 0
cmp dl, 9
ja 0x401213
mov dword [esp + 0x1c], ebx
xor ebx, ebx
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 0x4011f0
mov dword [esp + 0x34], ebx
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0x14], 0xffffffff
cmp al, 0x2e
jne 0x401283
movzx eax, byte [ecx + 1]
cmp al, 0x2a
jne 0x401241
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 0x401283
inc ecx
mov edx, eax
add dl, 0xd0
mov dword [esp + 0x14], 0
cmp dl, 9
ja 0x401283
xor esi, esi
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx eax, al
lea edx, [esi + esi*4]
lea esi, [eax + edx*2]
add esi, 0xffffffd0
movzx eax, byte [ecx + 1]
inc ecx
mov edx, eax
add dl, 0xd0
cmp dl, 0xa
jb 0x401260
mov dword [esp + 0x14], esi
mov esi, dword [esp + 0x2c]
movzx eax, al
add eax, 0xffffffb7
cmp eax, 0x31
ja case.0x40128e.74
jmp dword [eax*4 + 0x44c664]
inc ecx
movzx edx, byte [ecx]
mov dword [esp + 0x50], ecx
movzx eax, dl
add eax, 0xffffffbf
cmp eax, 0x37
ja case.0x4012ac.67
jmp dword [eax*4 + 0x44c72c]
test bl, 0x20
jne 0x401696
mov eax, dword [esp + 0x28]
mov ecx, dword [eax]
add eax, 4
mov dword [esp + 0x28], eax
mov dword [esp + 0xc], 0
cmp dl, 0x75
je 0x401cc8
test ecx, ecx
jns 0x401cc8
neg ecx
mov dword [esp + 4], ecx
or ebx, 0x80
jmp 0x401ccc
movzx edx, byte [ecx + 1]
cmp dl, 0x6c
jne 0x4016d5
or ebx, 0x20
add ecx, 2
jmp case.0x40128e.74
lea eax, [ecx + 1]
movzx edx, byte [ecx + 1]
cmp edx, 0x33
je 0x401b2a
cmp edx, 0x36
jne 0x401b3b
cmp byte [ecx + 2], 0x34
jne 0x401b34
mov eax, ebx
xor eax, 0x20
add eax, ebx
mov edx, ebx
and edx, 0xffffffdf
sub eax, edx
add ecx, 3
mov ebx, eax
jmp case.0x40128e.74
cmp byte [ecx + 1], 0x68
je 0x4016db
inc ecx
or ebx, 0x200
jmp case.0x40128e.74
mov eax, str.0123456789ABCDEFXP
cmp dl, 0x45
je 0x401368
mov eax, str.0123456789abcdefxp
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x28]
fld qword [eax]
mov eax, 6
mov ecx, dword [esp + 0x14]
cmp ecx, 0xffffffff
je 0x401382
mov eax, ecx
mov dword [esp + 0xc], eax
or eax, 0x80000000
sub esp, 0x18
mov dword [esp + 0x10], eax
fstp qword [esp + 8]
lea eax, [esp + 0x58]
mov dword [esp + 4], eax
lea eax, [esp + 0x7c]
mov dword [esp], eax
lea ecx, [esp + 0x30]
lea edx, [esp + 0x3c]
call fcn.00403890
add esp, 0x18
test eax, eax
je 0x4013bf
or ebx, 0x80
add dword [esp + 0x28], 8
mov byte [esp + 0x38], 0
mov byte [esp + 0x44], 0
mov al, 0x2d
test bl, bl
js 0x4013e2
mov al, 0x20
test bl, 4
jne 0x4013e2
mov al, 0x2b
test bl, 2
je 0x4013eb
mov byte [esp + 0x44], 1
mov byte [esp + 0x45], al
mov edx, dword [esp + 0x40]
mov dword [esp + 0x10], 0
mov eax, dword [esp + 0x18]
cmp edx, 0x7000
mov dword [esp + 0x1c], ebx
jne 0x401610
mov dword [esp + 0xc], 0
jmp 0x402ae8
mov eax, str.0123456789ABCDEFXP
cmp dl, 0x41
je 0x401427
mov eax, str.0123456789abcdefxp
mov dword [esp + 8], eax
mov dword [esp + 0x54], edx
mov dword [esp + 0x20], 6
mov eax, dword [esp + 0x14]
cmp eax, 0xffffffff
je 0x401444
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x28]
mov edx, dword [eax + 4]
test edx, edx
jns 0x401455
or ebx, 0x80
mov eax, dword [esp + 0x28]
mov ecx, dword [eax]
mov al, 0x2d
test bl, bl
mov dword [esp + 0x30], ecx
js 0x4015bc
mov al, 0x20
test bl, 4
jne 0x4015bc
mov al, 0x2b
test bl, 2
jne 0x4015bc
mov dword [esp + 4], 0
jmp 0x4015c6
mov dword [esp + 0x30], str.0123456789ABCDEFXP
cmp dl, 0x42
je 0x4014a1
mov dword [esp + 0x30], str.0123456789abcdefxp
mov byte [esp + 0x44], 0
test bl, 8
je 0x4014c1
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
test bl, 0x20
je 0x401748
mov eax, dword [esp + 0x28]
mov edx, dword [eax]
mov dword [esp + 8], edx
mov edx, dword [eax + 4]
add eax, 8
mov dword [esp + 0x28], eax
jmp 0x40175b
mov dword [esp + 0x1c], ebx
mov eax, str.0123456789ABCDEFXP
cmp dl, 0x47
je 0x401503
mov eax, str.0123456789abcdefxp
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x28]
fld qword [eax]
mov ecx, dword [esp + 0x14]
cmp ecx, 1
mov eax, ecx
adc eax, 0
mov esi, 6
cmp ecx, 0xffffffff
je 0x401525
mov esi, eax
lea eax, [esi - 1]
or eax, 0x80000000
sub esp, 0x18
fstp qword [esp + 8]
lea ecx, [esp + 0x58]
mov dword [esp + 4], ecx
lea ecx, [esp + 0x7c]
mov dword [esp], ecx
mov dword [esp + 0x10], eax
lea ecx, [esp + 0x30]
lea edx, [esp + 0x3c]
call fcn.00403890
add esp, 0x18
test eax, eax
je 0x401563
or dword [esp + 0x1c], 0x80
mov eax, dword [esp + 0x24]
cmp eax, esi
jb 0x40156d
mov eax, esi
mov ecx, eax
mov dword [esp + 0xc], eax
cmp eax, 2
jb 0x4016e9
mov edx, dword [esp + 0x18]
mov ebx, esi
mov ecx, esi
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov esi, dword [esp + 0xc]
cmp byte [edx + esi - 1], 0x30
jne 0x401f94
dec esi
lea eax, [ecx - 1]
mov dword [esp + 0xc], esi
cmp esi, 2
jb 0x401f96
cmp ecx, 1
mov ecx, eax
jne 0x401590
jmp 0x401f96
mov byte [esp + 0x45], al
mov al, 1
mov dword [esp + 4], eax
mov ecx, edx
xor ecx, 0xfff00000
mov esi, edx
or esi, 0xfffff
and esi, ecx
shr edx, 0x14
and edx, 0x7ff
mov dword [esp + 0x1c], ebx
je 0x401b60
add edx, 0xfffffc01
mov dword [esp + 0x14], edx
mov ecx, 0xffffffff
add ecx, 1
mov edx, 0xfffff
adc edx, 0
or dword [esp + 0x30], ecx
or esi, edx
jmp 0x401b77
mov dword [esp + 4], eax
movzx ecx, byte [eax]
mov byte [esp + 0xa4], cl
lea eax, [esp + 0xa5]
cmp dword [esp + 0xc], 0
je 0x401644
movzx ecx, byte [section..data]
xor cl, 0xf9
mov byte [esp + 0xa5], cl
lea eax, [esp + 0xa6]
mov dword [esp + 0x30], edx
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x24]
lea ecx, [eax - 1]
cmp ecx, dword [esp + 0xc]
jbe 0x40166c
mov edx, dword [esp + 0xc]
mov ecx, edx
and ecx, 1
xor edx, 1
lea eax, [edx + ecx*2]
mov dword [esp + 0x24], eax
cmp eax, 2
mov dword [esp + 0x10], eax
jb 0x4022b8
lea ecx, [eax - 1]
lea esi, [eax - 2]
mov edx, 1
cmp esi, 7
jae 0x40220e
mov eax, dword [esp + 0x20]
jmp 0x40228d
mov ecx, dword [esp + 0x28]
lea eax, [ecx + 8]
mov dword [esp + 8], eax
mov eax, dword [ecx]
mov dword [esp + 4], eax
mov eax, dword [ecx + 4]
cmp dl, 0x75
je 0x401cba
test eax, eax
jns 0x401cba
neg dword [esp + 4]
mov ecx, 0
sbb ecx, eax
or ebx, 0x80
mov dword [esp + 0xc], ecx
jmp 0x401cbe
inc ecx
jmp 0x401299
add ecx, 2
or ebx, 0x200
jmp case.0x40128e.74
mov ebx, esi
mov eax, esi
jmp 0x401f96
and ebx, 0xffffffef
mov dword [esp + 0x14], 8
mov dword [esp + 0x30], str.0123456789ABCDEFXP
cmp dl, 0x58
je 0x401712
mov dword [esp + 0x30], str.0123456789abcdefxp
mov dword [esp + 0x24], 0x440
mov byte [esp + 0x44], 0
mov ecx, 4
test bl, 8
je 0x40173f
cmp dl, 0x58
setne al
mov word [esp + 0x44], 0x3002
shl al, 5
or al, 0x58
mov byte [esp + 0x46], al
test bl, 0x20
jne 0x4014d7
mov eax, dword [esp + 0x28]
mov edx, dword [eax]
mov dword [esp + 8], edx
add eax, 4
mov dword [esp + 0x28], eax
xor edx, edx
mov dword [esp + 0x40], 0
mov byte [esp + 0x38], 0
mov eax, dword [esp + 8]
or eax, edx
mov dword [esp + 0x1c], ebx
jne 0x401784
mov byte [esp + 0x44], 0
cmp dword [esp + 0x14], 0
je 0x401b44
mov eax, 0xffffffff
shl eax, cl
not eax
mov esi, dword [esp + 8]
and eax, esi
mov dword [esp + 0x20], edx
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x10], ecx
mov cl, ch
mov edx, dword [esp + 0x20]
shrd esi, edx, cl
mov dword [esp + 8], esi
mov esi, dword [esp + 0x20]
mov ecx, dword [esp + 0x30]
movzx eax, byte [ecx + eax]
mov byte [esp + 0x263], al
mov eax, dword [esp + 0x10]
mov cl, ah
shr esi, cl
test ah, 0x20
jne 0x4017d6
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 8]
jmp 0x4017de
mov eax, esi
xor esi, esi
mov ecx, dword [esp + 0x14]
mov dword [esp + 8], eax
or eax, esi
jne 0x401800
mov eax, 1
cmp ecx, 2
jge 0x401800
lea ecx, [esp + 0x263]
mov dword [esp + 4], ecx
jmp 0x401918
mov dword [esp + 0x20], esi
lea eax, [esp + 0x263]
mov dword [esp + 4], eax
lea edx, [esp + 0x264]
mov ecx, dword [esp + 8]
nop
nop
nop
nop
nop
nop
mov dword [esp + 8], ecx
test bl, 0x40
jne 0x401840
mov ecx, dword [esp + 0x10]
mov esi, dword [esp + 4]
jmp 0x401890
mov ebx, dword [esp + 0x10]
lea ecx, [ebx + 1]
mov dword [esp + 0x24], ecx
mov eax, ecx
shr eax, 4
xor eax, ecx
mov esi, dword [esp + 4]
test al, 0xf
jne 0x401890
mov eax, 0xfffffffe
sub eax, ebx
not eax
and eax, 0xfffffff0
mov dword [esp + 0x24], eax
movzx eax, byte [0x44f001]
mov ecx, eax
add cl, al
and cl, 0x20
sub al, cl
add al, 0x10
mov byte [edx - 2], al
add edx, 0xfffffffe
mov ecx, dword [esp + 0x24]
mov esi, edx
nop
nop
nop
nop
nop
nop
nop
nop
mov dword [esp + 0xc], esi
mov ebx, 0xffffffff
mov cl, ch
shl ebx, cl
not ebx
mov eax, dword [esp + 8]
and ebx, eax
mov edx, dword [esp + 0x24]
mov cl, dh
mov esi, dword [esp + 0x20]
shrd eax, esi, cl
mov dword [esp + 8], eax
mov eax, dword [esp + 0x30]
movzx eax, byte [eax + ebx]
mov ecx, dword [esp + 0xc]
mov byte [ecx - 1], al
mov cl, dh
shr esi, cl
mov dword [esp + 0x10], edx
test dh, 0x20
jne 0x4018e0
mov ebx, dword [esp + 0x1c]
mov ecx, dword [esp + 8]
jmp 0x4018e8
mov ecx, esi
xor esi, esi
mov ebx, dword [esp + 0x1c]
mov edx, dword [esp + 0xc]
lea eax, [edx - 1]
mov dword [esp + 4], eax
mov eax, ecx
mov dword [esp + 0x20], esi
or eax, esi
jne 0x401820
mov esi, edx
lea eax, [esp + 0x264]
sub eax, dword [esp + 4]
cmp eax, dword [esp + 0x14]
jl 0x401820
mov ecx, dword [esp + 0x10]
shl ecx, 0x14
and ecx, 0xf000000
add ecx, eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x24], eax
mov dword [esp + 0xc], 0
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 4]
jmp 0x402c23
mov byte [esp + 0x44], 0
test bl, 8
je 0x401955
mov word [esp + 0x44], 0x3001
mov dword [esp + 0x24], 0x330
mov dword [esp + 0x30], str.0123456789ABCDEFXP
mov ecx, 3
test bl, 0x20
je 0x401748
jmp 0x4014d7
mov eax, dword [esp + 0x28]
mov eax, dword [eax]
mov dword [esp + 4], str.null
test eax, eax
je 0x40198e
mov dword [esp + 4], eax
mov eax, dword [esp + 0x14]
mov ecx, eax
test eax, eax
jns 0x40199d
mov ecx, 0xffffffff
mov eax, dword [esp + 4]
test al, 3
mov dword [esp + 0x1c], ebx
je 0x402b8b
mov dword [esp + 8], ecx
add ecx, eax
mov dword [esp + 0xc], ecx
cmp dword [esp + 0x14], 0
je 0x402875
cmp byte [eax], 0
je 0x40290c
lea edx, [eax + 1]
mov eax, dword [esp + 8]
dec eax
mov ecx, edx
test dl, 3
je 0x402947
test eax, eax
je 0x401a59
cmp byte [ecx], 0
je 0x402b81
mov eax, dword [esp + 4]
lea edx, [eax + 2]
mov ecx, dword [esp + 8]
lea eax, [ecx - 2]
mov dword [esp + 0x10], edx
test dl, 3
je 0x402b85
test eax, eax
je 0x401a59
mov edx, dword [esp + 0x10]
cmp byte [edx], 0
je 0x403839
mov eax, dword [esp + 4]
lea edx, [eax + 3]
lea eax, [ecx - 3]
mov dword [esp + 0x10], edx
test dl, 3
je 0x402b85
test eax, eax
je 0x401a59
mov edx, dword [esp + 0x10]
cmp byte [edx], 0
je 0x403839
mov eax, dword [esp + 4]
add eax, 4
add ecx, 0xfffffffc
test al, 3
je 0x402b8b
test ecx, ecx
je 0x401a59
mov dword [esp + 0xc], eax
mov ebx, dword [esp + 4]
mov eax, dword [esp + 0xc]
jmp 0x402bf4
mov byte [esp + 0x263], dl
mov dword [esp + 0x24], 1
mov byte [esp + 0x44], 0
mov byte [esp + 0x38], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x10], 0
lea ebx, [esp + 0x263]
mov dword [esp + 0x1c], 0
mov dword [esp + 0xc], 0
xor edx, edx
mov dword [esp + 0x34], 0
jmp 0x402c23
mov dword [esp + 0x1c], ebx
mov ecx, dword [esp + 0x28]
movzx eax, byte [ecx]
add ecx, 4
mov dword [esp + 0x28], ecx
mov byte [esp + 0x263], al
mov dword [esp + 0x24], 1
mov byte [esp + 0x44], 0
mov byte [esp + 0x38], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x10], 0
lea ebx, [esp + 0x263]
jmp 0x402c19
mov eax, dword [esp + 0x28]
fld qword [eax]
add eax, 8
mov dword [esp + 0x28], eax
jmp 0x401d24
mov edx, dword [esp + 0x28]
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 + 0x28], edx
jmp 0x40382f
cmp byte [ecx + 2], 0x32
je 0x401fff
mov ecx, eax
jmp case.0x40128e.74
mov dword [esp + 0x50], eax
jmp 0x40129d
mov dword [esp + 0x24], 0
mov dword [esp + 0x10], 0
lea ebx, [esp + 0x264]
jmp 0x402c19
xor eax, eax
mov ecx, dword [esp + 0x30]
or ecx, esi
je 0x401b6f
mov eax, 0xfffffc02
mov dword [esp + 0x14], eax
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x20]
lea ecx, [eax*4]
xor ebx, ebx
mov eax, 0x8000000
shrd ebx, eax, cl
mov edx, 0x8000000
shr edx, cl
test cl, 0x20
je 0x401b9c
mov ebx, edx
xor edx, edx
cmp dword [esp + 0x20], 0xf
mov eax, dword [esp + 0x30]
jl 0x401bab
xor ebx, ebx
xor edx, edx
shld esi, eax, 8
shl eax, 8
add eax, ebx
mov dword [esp + 0x30], eax
adc esi, edx
mov edx, dword [esp + 4]
movzx ecx, dl
lea eax, [esp + 0x44]
mov word [ecx + eax + 1], 0x7830
or dl, 2
mov byte [esp + 0x44], dl
mov ecx, esi
shr ecx, 0x1c
mov eax, dword [esp + 8]
movzx ecx, byte [eax + ecx]
mov byte [esp + 0xa4], cl
mov ebx, dword [esp + 0x20]
test ebx, ebx
je 0x401ca6
movzx ecx, byte [section..data]
mov edx, ecx
add dl, cl
and dl, 0xf2
sub cl, dl
add cl, 0xf9
mov byte [esp + 0xa5], cl
lea eax, [esp + 0xa6]
mov dword [esp + 0x18], eax
mov ecx, ebx
cmp ebx, 0xd
jb 0x401c24
mov ecx, 0xd
sub ebx, ecx
jg 0x401c2a
xor ebx, ebx
mov eax, ecx
and eax, 3
mov dword [esp + 0xc], ebx
je 0x402007
mov dword [esp + 4], ecx
xor ebx, ebx
mov edx, dword [esp + 0x30]
mov dword [esp + 0x10], eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, esi
shr eax, 0x18
and eax, 0xf
mov ecx, dword [esp + 8]
movzx eax, byte [ecx + eax]
shld esi, edx, 4
mov byte [esp + ebx + 0xa6], al
mov eax, dword [esp + 0x10]
shl edx, 4
inc ebx
cmp eax, ebx
jne 0x401c50
mov dword [esp + 0x30], edx
lea eax, [esp + 0xa6]
lea edx, [eax + ebx]
mov ecx, dword [esp + 4]
sub ecx, ebx
mov ebx, dword [esp + 0xc]
cmp dword [esp + 0x20], 4
jae 0x402019
lea esi, [esp + 0xa6]
jmp 0x402099
lea edx, [esp + 0xa5]
mov dword [esp + 0x18], edx
xor ebx, ebx
mov esi, edx
jmp 0x402099
mov dword [esp + 0xc], eax
mov eax, dword [esp + 8]
mov dword [esp + 0x28], eax
jmp 0x401ccc
mov dword [esp + 4], ecx
mov eax, ebx
xor eax, 0xfffffeff
mov ecx, ebx
or ecx, 0x100
test ecx, eax
je 0x401d77
mov eax, 1
mov ecx, dword [esp + 0x14]
cmp ecx, 0xffffffff
je 0x401cf3
mov eax, ecx
mov dword [esp + 0x14], 0
cmp dword [esp + 4], 0x400
mov ecx, dword [esp + 0xc]
sbb ecx, 0
jb 0x401d10
mov dword [esp + 0x14], eax
mov eax, dword [esp + 4]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0xc]
mov dword [esp + 0x5c], eax
fild qword [esp + 0x58]
test ebx, 0x100
je 0x402443
xor eax, eax
test ebx, 0x800
sete al
fld qword [eax*8 + 0x44c550]
cmp ebx, 0x3ffffff
ja 0x401f8d
fld st(0)
fchs
fxch st(1)
fucom st(2)
fnstsw ax
sahf
jbe 0x4023c9
fxch st(2)
fucom st(1)
fnstsw ax
sahf
fxch st(2)
jbe 0x4023c9
fstp st(0)
fstp st(0)
jmp 0x402443
movzx ecx, byte [0x44f001]
mov eax, ecx
xor al, 0x10
mov byte [esp + 0x30], al
mov eax, ecx
add al, cl
and al, 0x20
sub cl, al
add cl, 0x10
mov byte [esp + 0x10], cl
mov esi, 0x200
xor edx, edx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], edx
mov ecx, dword [esp + 4]
cmp ecx, 0x5f5e100
mov edx, dword [esp + 0xc]
mov eax, edx
sbb eax, 0
jb 0x401de0
push 0
push 0x5f5e100
push edx
push ecx
mov dword [esp + 0x14], ecx
call fcn.0040cb60
mov dword [esp + 0xc], edx
mov edx, dword [esp + 4]
imul ecx, eax, 0x5f5e100
sub edx, ecx
mov ecx, eax
jmp 0x401dec
mov dword [esp + 0xc], 0
mov edx, ecx
xor ecx, ecx
lea eax, [esp + 0x5c]
add eax, esi
mov dword [esp + 8], eax
test bl, 0x40
mov dword [esp + 4], ecx
jne 0x401e40
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 0x401e00
mov ebx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
jmp 0x401eb0
mov eax, edx
test edx, edx
mov edx, dword [esp + 0x20]
je 0x401eb0
mov ecx, dword [esp + 8]
jmp 0x401e82
mov dword [esp + 8], ecx
mov ecx, edx
mov ebx, eax
mov edx, 0xcccccccd
mul edx
shr edx, 3
lea eax, [edx + edx]
lea eax, [eax + eax*4]
sub ebx, eax
or bl, 0x30
mov byte [esp + esi + 0x63], bl
dec esi
mov eax, edx
mov edx, ecx
mov ecx, dword [esp + 8]
mov ebx, dword [esp + 0x1c]
test eax, eax
je 0x401eb4
test bl, 0x40
je 0x401e50
cmp edx, 3
je 0x401e93
mov dword [esp + 8], ecx
inc edx
jmp 0x401e54
mov edx, eax
movzx eax, byte [esp + 0x30]
mov byte [esp + esi + 0x63], al
mov eax, edx
dec esi
dec ecx
xor edx, edx
test eax, eax
jne 0x401e82
jmp 0x401eb4
mov ecx, dword [esp + 8]
mov eax, dword [esp + 4]
or eax, dword [esp + 0xc]
jne 0x401ec7
jmp 0x401eee
inc edx
mov byte [esp + esi + 0x63], 0x30
dec esi
lea eax, [esp + esi]
add eax, 0x64
cmp eax, ecx
je 0x401da0
test bl, 0x40
je 0x401ec1
cmp edx, 3
jne 0x401ec0
movzx eax, byte [esp + 0x10]
mov byte [esp + esi + 0x63], al
dec esi
dec ecx
xor edx, edx
jmp 0x401ec7
cmp byte [esp + esi + 0x64], 0x30
sete al
cmp esi, 0x200
setne cl
mov byte [esp + 0x38], 0
mov byte [esp + 0x44], 0
mov dl, 0x2d
test bl, bl
js 0x401f1d
mov dl, 0x20
test bl, 4
jne 0x401f1d
mov dl, 0x2b
test bl, 2
je 0x401f26
mov byte [esp + 0x44], 1
mov byte [esp + 0x45], dl
and cl, al
movzx eax, cl
add esi, eax
lea ebx, [esp + esi]
add ebx, 0x64
lea eax, [esi - 0x200]
neg eax
mov dword [esp + 0x24], eax
cmp esi, 0x200
jne 0x401f59
mov byte [ebx - 1], 0x30
dec ebx
mov dword [esp + 0x24], 1
mov eax, 1
cmp dword [esp + 0x14], 0
jg 0x401f68
mov dword [esp + 0x14], 0
mov dword [esp + 0xc], 0
mov ecx, eax
and ecx, 0x3000000
xor eax, 0x3000000
lea eax, [eax + ecx*2]
mov dword [esp + 0x10], eax
mov edx, dword [esp + 0x14]
jmp 0x402c23
fstp st(0)
jmp 0x402443
mov eax, ecx
add dword [esp + 0x28], 8
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x40]
cmp ecx, 0xfffffffd
jl 0x401fcf
cmp ecx, ebx
jg 0x401fcf
test ecx, ecx
jle 0x4023b0
sub dword [esp + 0xc], ecx
jg 0x401fc6
mov dword [esp + 0xc], 0
mov ebx, dword [esp + 0x1c]
jmp 0x40249a
mov ecx, dword [esp + 0xc]
cmp eax, ecx
jle 0x401fe5
dec ecx
mov dword [esp + 0xc], ecx
mov ebx, dword [esp + 0x1c]
jmp 0x4013c4
mov dword [esp + 0xc], 0
sub eax, 1
jb 0x401ff6
mov dword [esp + 0xc], eax
mov ebx, dword [esp + 0x1c]
jmp 0x4013c4
add ecx, 3
jmp case.0x40128e.74
lea edx, [esp + 0xa6]
cmp dword [esp + 0x20], 4
jb 0x401c9a
mov dword [esp + 0x10], esi
mov eax, ecx
mov ecx, dword [esp + 0x30]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov dword [esp + 4], 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 eax, esi
mov esi, dword [esp + 0x10]
shld esi, ecx, 0x10
shl ecx, 0x10
shr eax, 0xc
and eax, 0xf
movzx eax, byte [ebx + eax]
mov byte [edx + 3], al
mov eax, dword [esp + 4]
add edx, 4
mov dword [esp + 0x10], esi
add eax, 0xfffffffc
jne 0x402030
lea esi, [esp + 0xa6]
mov ebx, dword [esp + 0xc]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x54]
cmp cl, 0x41
setne cl
shl cl, 5
or cl, 0x50
mov byte [esp + 0x39], cl
test eax, eax
js 0x4020bc
mov byte [esp + 0x3a], 0x2b
jmp 0x4020c3
mov byte [esp + 0x3a], 0x2d
neg eax
cmp eax, 0x3e7
mov dword [esp + 0xc], ebx
mov dword [esp + 4], edx
mov dword [esp + 0x10], esi
ja 0x4020e9
cmp eax, 0x63
jbe 0x4021f2
mov dword [esp + 8], 5
jmp 0x4020f1
mov dword [esp + 8], 6
mov dword [esp + 0x20], 0
mov ecx, 0xcccccccd
mov dword [esp + 0x14], eax
mul ecx
shr edx, 2
and edx, 0xfffffffe
lea esi, [edx + edx*4]
mov eax, dword [esp + 0x14]
mov ebx, 0x66666667
imul ebx
mov ecx, edx
mov eax, edx
shr eax, 0x1f
sar ecx, 2
add ecx, eax
mov eax, ecx
imul ebx
mov eax, dword [esp + 0x14]
sub eax, esi
mov ebx, dword [esp + 8]
mov byte [esp + 0x38], bl
or al, 0x30
mov byte [esp + ebx + 0x38], al
mov eax, edx
shr eax, 0x1f
sar edx, 2
add edx, eax
add edx, edx
lea edx, [edx + edx*4]
mov eax, dword [esp + 0x14]
sub ecx, edx
add cl, 0x30
mov byte [esp + ebx + 0x37], cl
cmp byte [esp + 0x20], 0
jne 0x402844
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 ebx, dword [esp + 0x14]
sub ecx, eax
add cl, 0x30
lea eax, [esp + 0x38]
mov edx, dword [esp + 8]
mov byte [edx + eax - 2], cl
cmp ebx, 0x3e8
jb 0x402844
mov eax, ebx
mov ecx, 0x10624dd3
imul ecx
mov ecx, edx
mov eax, edx
shr eax, 0x1f
sar ecx, 6
add ecx, eax
mov eax, ecx
mov edx, 0x66666667
imul edx
mov eax, edx
shr eax, 0x1f
shr edx, 2
add edx, eax
add edx, edx
lea eax, [edx + edx*4]
sub ecx, eax
add cl, 0x30
lea eax, [esp + 0x38]
mov edx, dword [esp + 8]
mov byte [edx + eax - 3], cl
jmp 0x402844
cmp eax, 9
jbe 0x402839
mov dword [esp + 8], 4
mov cl, 1
mov dword [esp + 0x20], ecx
jmp 0x4020f9
mov dword [esp + 8], ecx
mov esi, ecx
and esi, 0xfffffff8
xor edx, edx
mov ebx, dword [esp + 4]
mov ecx, dword [esp + 0x14]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx eax, byte [ebx + edx + 1]
mov byte [ecx + edx], al
movzx eax, byte [ebx + edx + 2]
mov byte [ecx + edx + 1], al
movzx eax, byte [ebx + edx + 3]
mov byte [ecx + edx + 2], al
movzx eax, byte [ebx + edx + 4]
mov byte [ecx + edx + 3], al
movzx eax, byte [ebx + edx + 5]
mov byte [ecx + edx + 4], al
movzx eax, byte [ebx + edx + 6]
mov byte [ecx + edx + 5], al
movzx eax, byte [ebx + edx + 7]
mov byte [ecx + edx + 6], al
movzx eax, byte [ebx + edx + 8]
mov byte [ecx + edx + 7], al
add edx, 8
cmp esi, edx
jne 0x402230
add ecx, edx
mov dword [esp + 0x14], ecx
inc edx
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 8]
and ecx, 7
je 0x4022bc
add dword [esp + 4], edx
xor edx, edx
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 4]
movzx eax, byte [eax + edx]
mov byte [ecx + edx], al
inc edx
cmp dword [esp + 8], edx
jne 0x4022a0
add ecx, edx
mov dword [esp + 0x14], ecx
mov eax, dword [esp + 0x20]
movzx eax, byte [eax + 0xe]
mov byte [esp + 0x39], al
mov eax, dword [esp + 0x30]
test eax, eax
jle 0x4022d6
dec eax
mov byte [esp + 0x3a], 0x2b
mov esi, eax
jmp 0x4022e2
mov byte [esp + 0x3a], 0x2d
mov esi, 1
sub esi, eax
cmp esi, 0x64
mov eax, 4
sbb eax, 0xffffffff
mov dword [esp + 8], eax
mov eax, esi
mov ecx, 0xcccccccd
mul ecx
shr edx, 2
and edx, 0xfffffffe
lea eax, [edx + edx*4]
mov dword [esp + 4], eax
mov ebx, esi
mov eax, esi
mov ecx, 0x66666667
imul ecx
mov ecx, edx
mov eax, edx
shr eax, 0x1f
sar ecx, 2
add ecx, eax
mov eax, ecx
mov edx, 0x66666667
imul edx
sub ebx, dword [esp + 4]
mov eax, edx
shr eax, 0x1f
sar edx, 2
add edx, eax
add edx, edx
lea edx, [edx + edx*4]
mov eax, ecx
sub eax, edx
or bl, 0x30
mov edx, dword [esp + 8]
mov byte [esp + 0x38], dl
mov byte [esp + edx + 0x38], bl
add al, 0x30
mov byte [esp + edx + 0x37], al
cmp esi, 0x64
jb 0x402396
mov ebx, edx
mov eax, esi
mov ecx, 0x51eb851f
imul ecx
mov ecx, edx
mov eax, edx
shr eax, 0x1f
sar ecx, 5
add ecx, eax
mov eax, ecx
mov edx, 0x66666667
imul edx
mov eax, edx
shr eax, 0x1f
shr edx, 2
add edx, eax
add edx, edx
lea eax, [edx + edx*4]
mov edx, ecx
sub edx, eax
add dl, 0x30
lea eax, [esp + 0x38]
mov byte [ebx + eax - 2], dl
mov edx, dword [esp + 0xc]
sub edx, dword [esp + 0x10]
inc edx
mov dword [esp + 0x40], ecx
mov dword [esp + 0x10], 0x3000001
jmp 0x402ad3
mov edx, dword [esp + 0xc]
cmp eax, edx
jl 0x4023ba
mov eax, edx
sub eax, ecx
mov dword [esp + 0xc], eax
mov ebx, dword [esp + 0x1c]
jmp 0x40249a
fdiv st(2), st(0)
lea ecx, [ebx + 0x1000000]
cmp ebx, 0x2ffffff
ja 0x40243d
fucom st(2)
fnstsw ax
sahf
jbe 0x4023eb
fxch st(2)
fucom st(1)
fnstsw ax
sahf
fxch st(2)
ja 0x40243d
fdiv st(2), st(0)
lea ecx, [ebx + 0x2000000]
cmp ebx, 0x1ffffff
ja 0x40243d
fucom st(2)
fnstsw ax
sahf
jbe 0x40240d
fxch st(2)
fucom st(1)
fnstsw ax
sahf
fxch st(2)
ja 0x40243d
fdiv st(2), st(0)
lea ecx, [ebx + 0x3000000]
cmp ebx, 0xffffff
ja 0x40243d
fucom st(2)
fnstsw ax
sahf
jbe 0x403840
fxch st(2)
fucom st(1)
fstp st(1)
fnstsw ax
sahf
fldz
fxch st(1)
fxch st(2)
jbe 0x403840
fstp st(0)
fstp st(0)
mov ebx, ecx
mov ecx, 6
mov eax, dword [esp + 0x14]
cmp eax, 0xffffffff
je 0x402453
mov ecx, eax
sub esp, 0x18
fstp qword [esp + 8]
lea eax, [esp + 0x58]
mov dword [esp + 4], eax
lea eax, [esp + 0x7c]
mov dword [esp], eax
mov dword [esp + 0x24], ecx
mov dword [esp + 0x10], ecx
lea ecx, [esp + 0x30]
lea edx, [esp + 0x3c]
call fcn.00403890
add esp, 0x18
test eax, eax
je 0x40249a
mov eax, ebx
xor eax, 0x80
add eax, ebx
mov ecx, ebx
and ecx, 0xffffff7f
sub eax, ecx
mov ebx, eax
mov byte [esp + 0x38], 0
mov byte [esp + 0x44], 0
mov al, 0x2d
test bl, bl
js 0x4024b8
mov al, 0x20
test bl, 4
jne 0x4024b8
mov al, 0x2b
test bl, 2
je 0x4024c1
mov byte [esp + 0x44], 1
mov byte [esp + 0x45], al
mov ecx, dword [esp + 0x40]
cmp ecx, 0x7000
mov dword [esp + 0x1c], ebx
jne 0x4024e2
mov dword [esp + 0x10], 0
mov ebx, dword [esp + 0x18]
jmp 0x402c19
test ecx, ecx
jle 0x4025a7
mov dword [esp + 8], 0
test bl, 0x40
je 0x40252a
mov eax, ecx
xor eax, 0x258
mov dword [esp + 4], ecx
mov ecx, dword [esp + 4]
not ecx
and ecx, 0x258
add ecx, ecx
sub ecx, eax
mov eax, ecx
mov edx, 0xaaaaaaab
mul edx
shr edx, 1
lea eax, [edx + edx*2]
sub ecx, eax
mov dword [esp + 8], ecx
mov ecx, dword [esp + 4]
cmp ecx, dword [esp + 0x24]
jae 0x402648
mov dword [esp + 4], 0
lea ecx, [esp + 0xa4]
mov dword [esp + 0x10], ecx
jmp 0x402579
mov dword [esp + 8], ecx
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
mov esi, dword [esp + 4]
movzx ecx, byte [ecx + esi]
lea edx, [eax + 1]
mov dword [esp + 0x10], edx
mov edx, eax
mov byte [eax], cl
inc esi
mov ecx, dword [esp + 0x40]
mov dword [esp + 4], esi
cmp esi, ecx
jae 0x4026b4
test bl, 0x40
je 0x40254d
mov ecx, dword [esp + 8]
inc ecx
cmp ecx, 4
jne 0x402549
mov ecx, ebx
and ecx, 0x40
shr ecx, 6
mov dword [esp + 8], ecx
movzx ecx, byte [0x44f001]
xor cl, 0x10
mov eax, dword [esp + 0x10]
mov byte [eax], cl
inc eax
jmp 0x402551
mov byte [esp + 0xa4], 0x30
lea edx, [esp + 0xa5]
cmp dword [esp + 0xc], 0
je 0x4025dd
movzx eax, byte [section..data]
mov edx, eax
add dl, al
and dl, 0xf2
sub al, dl
add al, 0xf9
mov byte [esp + 0xa5], al
lea edx, [esp + 0xa6]
neg ecx
mov dword [esp + 4], ecx
mov eax, dword [esp + 0xc]
mov ecx, eax
cmp eax, dword [esp + 4]
mov eax, dword [esp + 4]
jl 0x4025f5
mov ecx, eax
test ecx, ecx
mov dword [esp + 4], ecx
je 0x402954
lea eax, [ecx + 3]
xor esi, esi
mov dword [esp + 0x10], ecx
mov dword [esp + 8], eax
lea eax, [edx + esi]
mov ebx, edx
mov edx, eax
xor edx, 0xfffffffc
mov ecx, eax
or ecx, 3
test ecx, edx
je 0x402880
mov byte [ebx + esi], 0x30
dec dword [esp + 0x10]
inc esi
mov eax, dword [esp + 8]
dec eax
mov ecx, dword [esp + 4]
cmp ecx, esi
mov edx, ebx
jne 0x40260a
add edx, esi
mov ebx, dword [esp + 0x1c]
jmp 0x402954
xor ebx, ebx
mov esi, 0xffffffff
lea ecx, [esp + 0xa4]
jmp 0x402679
mov edx, ecx
mov eax, dword [esp + 0x18]
movzx eax, byte [eax + ebx]
inc ecx
mov byte [edx], al
inc ebx
dec esi
cmp ebx, dword [esp + 0x24]
jae 0x402735
test byte [esp + 0x1c], 0x40
je 0x402660
mov edx, dword [esp + 8]
mov eax, edx
and eax, 1
xor edx, 1
lea edx, [edx + eax*2]
mov dword [esp + 8], edx
cmp edx, 4
jne 0x402660
mov eax, dword [esp + 0x1c]
and eax, 0x40
shr eax, 6
mov dword [esp + 8], eax
movzx eax, byte [0x44f001]
xor al, 0x10
mov byte [ecx], al
inc ecx
jmp 0x402660
mov edx, dword [esp + 0x10]
cmp dword [esp + 0xc], 0
je 0x4026d5
movzx ecx, byte [section..data]
xor cl, 0xf9
mov byte [eax + 1], cl
add eax, 2
mov ecx, dword [esp + 0x40]
mov edx, eax
mov ebx, dword [esp + 0x24]
mov esi, ebx
sub esi, ecx
cmp esi, dword [esp + 0xc]
jbe 0x4026f2
mov esi, edx
mov edx, dword [esp + 0xc]
lea ebx, [ecx + edx]
mov edx, esi
mov dword [esp + 0x24], ebx
mov eax, dword [esp + 4]
mov dword [esp + 8], ebx
cmp eax, ebx
jae 0x4027cc
mov ebx, dword [esp + 0x1c]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [esp + 0x18]
movzx ecx, byte [ecx + eax]
mov byte [edx], cl
inc edx
inc eax
mov ecx, dword [esp + 0x24]
cmp eax, ecx
jb 0x402710
mov dword [esp + 8], ecx
mov dword [esp + 0x14], edx
mov ecx, dword [esp + 0x40]
jmp 0x4027d4
mov dword [esp + 0x14], edx
mov eax, dword [esp + 0x40]
mov dword [esp + 0x10], eax
sub eax, ebx
jbe 0x402802
test byte [esp + 0x1c], 0x40
mov edx, ecx
jne 0x4028fb
mov ecx, dword [esp + 0x10]
cmp ecx, ebx
je 0x402af5
mov dword [esp + 4], eax
mov eax, edx
and eax, 3
je 0x402af1
mov eax, 2
sub eax, dword [esp + 0x14]
and eax, 3
not ebx
add ecx, ebx
mov dword [esp + 4], eax
mov dword [esp + 0x20], eax
cmp eax, ecx
mov eax, dword [esp + 4]
jb 0x402793
mov eax, ecx
mov dword [esp + 4], eax
inc eax
push eax
push 0x30
push edx
call fcn.0040cc50
add esp, 0xc
mov ecx, dword [esp + 0x10]
add esi, ecx
mov eax, dword [esp + 0x20]
cmp esi, eax
jb 0x4027b4
mov esi, eax
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 4]
add edx, eax
add edx, 2
sub ecx, esi
add ebx, ecx
mov eax, ebx
jmp 0x402af5
mov dword [esp + 0x14], edx
mov ebx, dword [esp + 0x1c]
lea eax, [esp + 0xa4]
mov edx, dword [esp + 0x10]
sub edx, eax
add edx, 0x3000000
mov dword [esp + 0x10], edx
mov eax, dword [esp + 0xc]
sub eax, dword [esp + 8]
add eax, ecx
mov dword [esp + 0xc], eax
mov edx, dword [esp + 0x14]
jmp 0x402a48
mov ebx, dword [esp + 0x1c]
mov edx, ecx
mov ecx, edx
lea eax, [esp + 0xa4]
sub ecx, eax
add ecx, 0x3000000
mov dword [esp + 0x10], ecx
cmp dword [esp + 0xc], 0
je 0x4028ee
movzx eax, byte [section..data]
xor al, 0xf9
mov byte [edx], al
inc edx
jmp 0x402a48
mov byte [esp + 0x38], 3
or al, 0x30
mov byte [esp + 0x3b], al
add dword [esp + 0x28], 8
mov ecx, dword [esp + 4]
mov eax, ecx
sub eax, dword [esp + 0x10]
mov dword [esp + 0x40], eax
lea eax, [esp + 0xa4]
sub ecx, eax
mov dword [esp + 0x24], ecx
xor edx, edx
mov dword [esp + 0x10], 0x3000001
mov ebx, eax
jmp 0x402c23
mov ebx, eax
mov eax, dword [esp + 0xc]
jmp 0x402bf4
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 4]
mov eax, ecx
sub eax, esi
cmp eax, 4
jl 0x402915
mov edx, esi
mov dword [esp + 0x14], ebx
mov esi, dword [esp + 0x10]
cmp esi, 7
jl 0x4028a9
mov esi, 7
mov eax, ecx
sub eax, esi
mov ebx, edx
sub eax, edx
add eax, 3
and eax, 0xfffffffc
add eax, 4
push eax
push 0x30
push dword [esp + 0x28]
call fcn.0040cc50
mov ecx, dword [esp + 0x10]
add esp, 0xc
mov edx, dword [esp + 8]
sub edx, esi
and edx, 0xfffffffc
mov eax, dword [esp + 0x14]
add eax, edx
add eax, ebx
add eax, 4
mov esi, ecx
sub esi, edx
mov edx, esi
sub edx, ebx
add edx, 0xfffffffc
jmp 0x40291d
mov dword [esp + 0xc], 0
jmp 0x402a48
mov ebx, dword [esp + 0x1c]
test eax, eax
jne 0x402b40
jmp 0x402808
mov ecx, eax
mov ebx, eax
jmp 0x402bf4
mov esi, eax
mov eax, dword [esp + 0x20]
mov edx, esi
test edx, edx
mov ebx, dword [esp + 0x1c]
je 0x402952
push edx
push 0x30
push eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x14], edx
call fcn.0040cc50
mov ecx, dword [esp + 0x10]
add esp, 0xc
mov edx, dword [esp + 0x20]
add edx, dword [esp + 8]
jmp 0x402954
mov edx, eax
mov eax, ecx
mov ecx, edx
jmp 0x402b8b
mov edx, eax
mov esi, dword [esp + 0x24]
add ecx, esi
cmp ecx, dword [esp + 0xc]
jle 0x40296c
mov esi, dword [esp + 0xc]
sub esi, dword [esp + 4]
mov dword [esp + 0x24], esi
mov eax, edx
test esi, esi
mov dword [esp + 8], esi
je 0x402a22
mov edx, dword [esp + 0xc]
mov dword [esp + 0x10], edx
cmp edx, ecx
jl 0x40298a
mov dword [esp + 0x10], ecx
mov ecx, esi
and ecx, 3
je 0x4029c8
xor esi, esi
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ebx, dword [esp + 0x18]
lea edx, [ebx + 1]
mov dword [esp + 0x18], edx
movzx edx, byte [ebx]
mov byte [eax + esi], dl
inc esi
cmp ecx, esi
jne 0x4029a0
mov edx, eax
add edx, esi
mov eax, edx
mov ecx, dword [esp + 8]
sub ecx, esi
mov ebx, dword [esp + 0x1c]
jmp 0x4029ca
mov ecx, esi
mov edx, dword [esp + 4]
sub edx, dword [esp + 0x10]
cmp edx, 0xfffffffc
ja 0x402a22
mov edx, dword [esp + 0x18]
lea esi, [edx + 1]
mov dword [esp + 0x18], esi
movzx edx, byte [edx]
mov byte [eax], dl
mov edx, dword [esp + 0x18]
lea esi, [edx + 1]
mov dword [esp + 0x18], esi
movzx edx, byte [edx]
mov byte [eax + 1], dl
mov edx, dword [esp + 0x18]
lea esi, [edx + 1]
mov dword [esp + 0x18], esi
movzx edx, byte [edx]
mov byte [eax + 2], dl
mov edx, dword [esp + 0x18]
lea esi, [edx + 1]
mov dword [esp + 0x18], esi
movzx edx, byte [edx]
mov byte [eax + 3], dl
add eax, 4
add ecx, 0xfffffffc
jne 0x4029d7
mov esi, dword [esp + 8]
add esi, dword [esp + 4]
mov ecx, esi
not ecx
mov edx, dword [esp + 0xc]
and ecx, edx
add ecx, ecx
xor esi, edx
sub ecx, esi
mov dword [esp + 0x10], 0x3000001
mov dword [esp + 0xc], ecx
mov edx, eax
test ebx, 0x100
mov dword [esp + 0x14], edx
je 0x402a6d
mov eax, ebx
and eax, 0x400
sete byte [esp + 0x38]
mov byte [esp + 0x39], 0x20
cmp ebx, 0x1000000
jae 0x402a73
mov edx, dword [esp + 0xc]
jmp 0x402ad3
mov ecx, ebx
shr ecx, 0x18
mov ebx, eax
shr ebx, 0xa
mov edx, 2
sub edx, ebx
mov ebx, dword [esp + 0x1c]
cmp eax, 1
mov eax, 0
adc al, 1
test ebx, 0x800
jne 0x402aa7
movzx ecx, byte [ecx + str._kMGT]
mov byte [esp + edx + 0x38], cl
jmp 0x402acb
movzx ecx, byte [ecx + str._KMGT]
mov byte [esp + edx + 0x38], cl
mov ecx, ebx
and ecx, 0x1800
cmp ecx, 0x800
jne 0x402acb
movzx eax, al
mov byte [esp + eax + 0x39], 0x69
inc eax
mov edx, dword [esp + 0xc]
mov byte [esp + 0x38], al
mov dword [esp + 0xc], edx
lea eax, [esp + 0xa4]
mov ecx, dword [esp + 0x14]
sub ecx, eax
mov dword [esp + 0x24], ecx
xor edx, edx
mov ebx, eax
jmp 0x402c23
mov eax, dword [esp + 4]
cmp eax, 4
mov ebx, dword [esp + 0x1c]
jb 0x402b38
mov esi, eax
and esi, 0xfffffffc
push esi
push 0x30
push edx
mov dword [esp + 0x20], edx
mov dword [esp + 0x10], eax
call fcn.0040cc50
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x20]
add esp, 0xc
add edx, esi
and eax, 3
test eax, eax
jne 0x402b40
jmp 0x402808
mov byte [edx], 0x30
mov ecx, eax
not eax
lea eax, [eax + ecx*2]
inc edx
test eax, eax
je 0x402808
test bl, 0x40
je 0x402b2d
mov ecx, dword [esp + 8]
inc ecx
mov dword [esp + 8], ecx
cmp ecx, 4
jne 0x402b2d
mov dword [esp + 4], eax
movzx eax, byte [0x44f001]
mov ecx, eax
add cl, al
and cl, 0x20
sub al, cl
add al, 0x10
mov byte [edx], al
mov eax, dword [esp + 4]
mov dword [esp + 8], 0
inc edx
test eax, eax
jne 0x402b40
jmp 0x402808
mov eax, ecx
jmp 0x402bf0
mov ecx, eax
mov eax, dword [esp + 0x10]
mov dword [esp + 8], ecx
mov esi, ecx
mov dword [esp + 0x10], eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, esi
cmp esi, 4
jb 0x402bc7
mov edx, dword [eax]
mov ebx, eax
mov eax, edx
not eax
add edx, 0xfefefeff
and edx, eax
lea eax, [ebx + 4]
lea esi, [ecx - 4]
test edx, 0x80808080
je 0x402ba0
jmp 0x402bcd
test ecx, ecx
mov ebx, eax
je 0x402bee
mov eax, dword [esp + 8]
add dword [esp + 0x10], eax
xor edx, edx
mov eax, ebx
cmp byte [eax + edx], 0
je 0x402bea
inc edx
cmp ecx, edx
jne 0x402bd9
mov eax, dword [esp + 0x10]
jmp 0x402bf0
add eax, edx
jmp 0x402bf0
mov eax, ebx
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 + 0x10], 0
mov dword [esp + 0xc], 0
xor edx, edx
mov dword [esp + 4], ebx
mov ecx, dword [esp + 0x24]
cmp edx, ecx
mov ebx, edx
jg 0x402c33
mov ebx, ecx
movsx eax, byte [esp + 0x44]
movsx esi, byte [esp + 0x38]
mov edx, dword [esp + 0xc]
mov dword [esp + 0x14], ebx
add edx, ebx
add edx, eax
add edx, esi
mov esi, dword [esp + 0x34]
cmp esi, edx
jg 0x402c55
mov esi, edx
sub esi, edx
mov dword [esp + 0x34], esi
sub dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x1c]
test cl, 1
mov esi, dword [esp + 0x2c]
jne 0x402c75
test cl, 0x10
jne 0x402c79
xor ebx, ebx
jmp 0x402c95
mov ebx, ecx
jmp 0x402c95
mov ebx, ecx
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x14]
cmp ecx, edx
jg 0x402c89
mov ecx, edx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x34], 0
mov ecx, dword [esp + 0x34]
add ecx, dword [esp + 0x14]
mov dword [esp + 0x1c], ebx
je 0x40317c
test bl, 1
jne 0x402dfd
cmp dword [esp + 0x34], 0
jle 0x402dfd
mov ecx, dword [esp + 0x34]
jmp 0x402cde
mov ecx, dword [esp + 0x34]
sub ecx, edx
test ecx, ecx
jle 0x402df4
mov eax, esi
sub eax, edi
add eax, 0x200
mov edx, ecx
mov dword [esp + 0x34], ecx
cmp ecx, eax
jl 0x402cf3
mov edx, eax
cmp dword [ebp + 8], 0
jne 0x402cfd
mov edx, dword [esp + 0x34]
test edx, edx
mov dword [esp + 8], edx
mov dword [esp + 0x2c], esi
je 0x402d50
mov eax, edi
and eax, 3
je 0x402d50
mov esi, edi
not esi
and esi, 3
lea ebx, [edx - 1]
cmp esi, ebx
jb 0x402d20
mov esi, ebx
lea eax, [esi + 1]
push eax
push 0x20
push edi
call fcn.0040cc50
mov ecx, ebx
add esp, 0xc
add edi, esi
inc edi
sub ecx, esi
mov esi, dword [esp + 0x2c]
mov ebx, dword [esp + 0x1c]
mov edx, dword [esp + 8]
cmp ecx, 4
jge 0x402d57
jmp 0x402d97
mov ecx, edx
cmp ecx, 4
jl 0x402d97
mov eax, ecx
cmp ecx, 7
jl 0x402d63
mov eax, 7
neg eax
lea esi, [ecx + eax]
add esi, 3
and esi, 0xfffffffc
lea eax, [esi + 4]
push eax
push 0x20
push edi
mov ebx, ecx
call fcn.0040cc50
mov ecx, ebx
add esp, 0xc
add edi, esi
add edi, 4
sub ecx, esi
add ecx, 0xfffffffc
mov esi, dword [esp + 0x2c]
mov ebx, dword [esp + 0x1c]
mov edx, dword [esp + 8]
test ecx, ecx
je 0x402db7
push ecx
push 0x20
push edi
mov ebx, esi
mov esi, ecx
call fcn.0040cc50
mov edx, dword [esp + 0x14]
add esp, 0xc
add edi, esi
mov esi, ebx
mov ebx, dword [esp + 0x1c]
cmp dword [ebp + 8], 0
je 0x402cd0
mov eax, edi
sub eax, esi
cmp eax, 0x1ff
jl 0x402cd0
add dword [esp + 0x4c], eax
push eax
push dword [ebp + 0xc]
push esi
call dword [ebp + 8]
add esp, 0xc
test eax, eax
je 0x403872
mov edi, eax
mov esi, eax
mov edx, dword [esp + 8]
jmp 0x402cd0
mov dword [esp + 0x34], ecx
movzx eax, byte [esp + 0x44]
lea ecx, [esp + 0x45]
mov dword [esp + 0x18], ecx
jmp 0x402e15
movzx eax, byte [esp + 0x44]
test al, al
je 0x402f3d
movsx edx, al
mov ecx, esi
sub ecx, edi
add ecx, 0x200
cmp ecx, edx
jl 0x402e30
mov ecx, edx
cmp dword [ebp + 8], 0
jne 0x402e38
mov ecx, edx
sub al, cl
mov byte [esp + 0x44], al
test ecx, ecx
je 0x402edb
mov eax, ecx
and eax, 3
je 0x402f30
mov ebx, ecx
mov dword [esp + 0x2c], esi
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
mov esi, dword [esp + 0x18]
lea ecx, [esi + 1]
mov dword [esp + 0x18], ecx
movzx ecx, byte [esi]
mov byte [edi + edx], cl
inc edx
cmp eax, edx
jne 0x402e60
add edi, edx
mov ecx, ebx
mov eax, ebx
sub eax, edx
mov esi, dword [esp + 0x2c]
mov ebx, dword [esp + 0x1c]
cmp ecx, 4
jb 0x402edb
nop
nop
nop
nop
nop
mov ecx, dword [esp + 0x18]
lea edx, [ecx + 1]
mov dword [esp + 0x18], edx
movzx ecx, byte [ecx]
mov byte [edi], cl
mov ecx, dword [esp + 0x18]
lea edx, [ecx + 1]
mov dword [esp + 0x18], edx
movzx ecx, byte [ecx]
mov byte [edi + 1], cl
mov ecx, dword [esp + 0x18]
lea edx, [ecx + 1]
mov dword [esp + 0x18], edx
movzx ecx, byte [ecx]
mov byte [edi + 2], cl
mov ecx, dword [esp + 0x18]
lea edx, [ecx + 1]
mov dword [esp + 0x18], edx
movzx ecx, byte [ecx]
mov byte [edi + 3], cl
add edi, 4
add eax, 0xfffffffc
jne 0x402e90
cmp dword [ebp + 8], 0
je 0x402e10
mov eax, edi
sub eax, esi
cmp eax, 0x1ff
jl 0x402e10
mov ecx, eax
mov edx, dword [esp + 0x4c]
and ecx, edx
xor edx, eax
lea edx, [edx + ecx*2]
mov dword [esp + 0x4c], edx
push eax
push dword [ebp + 0xc]
push esi
call dword [ebp + 8]
add esp, 0xc
test eax, eax
je 0x403872
mov edi, eax
mov esi, eax
jmp 0x402e10
mov eax, ecx
cmp ecx, 4
jae 0x402e90
jmp 0x402edb
mov dword [esp + 0x2c], esi
mov eax, dword [esp + 0x10]
mov ecx, eax
shr ecx, 0x18
mov dword [esp + 8], ecx
xor esi, esi
test bl, 0x40
je 0x402f77
and eax, 0xffffff
add eax, dword [esp + 0x14]
mov ecx, dword [esp + 8]
lea esi, [ecx + 1]
xor edx, edx
div esi
mov esi, edx
mov eax, edx
xor eax, ecx
not esi
and esi, ecx
add esi, esi
sub esi, eax
cmp dword [esp + 0x14], 0
jle 0x403822
mov ecx, dword [esp + 0x14]
jmp 0x402fa0
mov ecx, dword [esp + 0x14]
sub ecx, dword [esp + 0x10]
test ecx, ecx
jle 0x403173
mov eax, dword [esp + 0x2c]
sub eax, edi
add eax, 0x200
mov edx, ecx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], ecx
cmp ecx, eax
jl 0x403020
mov dword [esp + 0x10], eax
cmp dword [ebp + 8], 0
je 0x403026
test bl, 0x40
jne 0x403033
cmp dword [esp + 0x10], 0
je 0x403040
mov eax, edi
and eax, 3
je 0x403040
mov edx, edi
not edx
and edx, 3
mov eax, dword [esp + 0x10]
lea ecx, [eax - 1]
cmp edx, ecx
jb 0x402fea
mov edx, ecx
mov dword [esp + 0x30], edx
lea eax, [edx + 1]
push eax
push 0x30
push edi
mov dword [esp + 0x2c], ecx
call fcn.0040cc50
mov edx, dword [esp + 0x2c]
add esp, 0xc
mov eax, dword [esp + 0x30]
add edi, eax
inc edi
sub edx, eax
cmp edx, 4
jge 0x403049
jmp 0x403088
cmp dword [ebp + 8], 0
jne 0x402fc3
mov eax, dword [esp + 0x14]
mov dword [esp + 0x10], eax
test bl, 0x40
je 0x402fc8
mov edx, dword [esp + 0x10]
jmp 0x403088
mov edx, dword [esp + 0x10]
cmp edx, 4
jl 0x403088
mov eax, edx
cmp edx, 7
jl 0x403055
mov eax, 7
neg eax
add eax, edx
add eax, 3
and eax, 0xfffffffc
mov dword [esp + 0x30], eax
add eax, 4
push eax
push 0x30
push edi
mov dword [esp + 0x2c], edx
call fcn.0040cc50
mov edx, dword [esp + 0x2c]
add esp, 0xc
mov eax, dword [esp + 0x30]
sub edx, eax
add edx, 0xfffffffc
add edi, eax
add edi, 4
test edx, edx
je 0x4030d0
test dl, 1
jne 0x4030a0
mov eax, edx
cmp edx, 1
jne 0x403130
jmp 0x4030d0
mov al, 0x30
test bl, 0x40
je 0x4030c4
cmp esi, dword [esp + 8]
jne 0x4030c3
movzx eax, byte [0x44f001]
mov ecx, eax
add cl, al
and cl, 0x20
sub al, cl
add al, 0x10
xor esi, esi
jmp 0x4030c4
inc esi
mov byte [edi], al
inc edi
lea eax, [edx - 1]
cmp edx, 1
jne 0x403130
nop
cmp dword [ebp + 8], 0
je 0x402f90
mov eax, edi
mov ecx, dword [esp + 0x2c]
sub eax, ecx
cmp eax, 0x1ff
jl 0x402f90
add dword [esp + 0x4c], eax
push eax
push dword [ebp + 0xc]
push ecx
call dword [ebp + 8]
add esp, 0xc
test eax, eax
je 0x403872
mov edi, eax
mov dword [esp + 0x2c], eax
jmp 0x402f90
movzx ecx, byte [0x44f001]
mov edx, ecx
add dl, cl
and dl, 0x20
sub cl, dl
add cl, 0x10
xor esi, esi
mov byte [edi + 1], cl
add edi, 2
add eax, 0xfffffffe
je 0x4030d0
mov cl, 0x30
test bl, 0x40
je 0x403161
cmp esi, dword [esp + 8]
jne 0x403160
movzx edx, byte [0x44f001]
mov ch, dl
add ch, dl
and ch, 0x20
sub dl, ch
add dl, 0x10
xor esi, esi
jmp 0x403163
inc esi
mov dl, 0x30
mov byte [edi], dl
test bl, 0x40
je 0x403125
cmp esi, dword [esp + 8]
je 0x403110
inc esi
jmp 0x403125
movzx eax, byte [esp + 0x44]
mov esi, dword [esp + 0x2c]
lea ecx, [esp + 0x45]
mov dword [esp + 0x18], ecx
jmp 0x403199
mov edi, eax
mov esi, eax
movzx eax, byte [esp + 0x44]
test al, al
je 0x4032ad
movsx ecx, al
mov eax, ecx
cmp dword [ebp + 8], 0
je 0x4031c7
mov edx, edi
sub edx, esi
mov eax, edx
not eax
and edx, 0xfffffdff
and eax, 0x200
sub eax, edx
cmp eax, ecx
jl 0x4031c7
mov eax, ecx
sub cl, al
mov byte [esp + 0x44], cl
test eax, eax
je 0x40326b
mov ecx, eax
and ecx, 3
je 0x4032a0
mov ebx, eax
mov dword [esp + 0x2c], esi
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
mov esi, dword [esp + 0x18]
lea eax, [esi + 1]
mov dword [esp + 0x18], eax
movzx eax, byte [esi]
mov byte [edi + edx], al
inc edx
cmp ecx, edx
jne 0x4031f0
add edi, edx
mov eax, ebx
mov ecx, ebx
sub ecx, edx
mov esi, dword [esp + 0x2c]
mov ebx, dword [esp + 0x1c]
cmp eax, 4
jb 0x40326b
nop
nop
nop
nop
nop
mov eax, dword [esp + 0x18]
lea edx, [eax + 1]
mov dword [esp + 0x18], edx
movzx eax, byte [eax]
mov byte [edi], al
mov eax, dword [esp + 0x18]
lea edx, [eax + 1]
mov dword [esp + 0x18], edx
movzx eax, byte [eax]
mov byte [edi + 1], al
mov eax, dword [esp + 0x18]
lea edx, [eax + 1]
mov dword [esp + 0x18], edx
movzx eax, byte [eax]
mov byte [edi + 2], al
mov eax, dword [esp + 0x18]
lea edx, [eax + 1]
mov dword [esp + 0x18], edx
movzx eax, byte [eax]
mov byte [edi + 3], al
add edi, 4
add ecx, 0xfffffffc
jne 0x403220
cmp dword [ebp + 8], 0
je 0x403194
mov eax, edi
sub eax, esi
cmp eax, 0x1ff
jl 0x403194
add dword [esp + 0x4c], eax
push eax
push dword [ebp + 0xc]
push esi
call dword [ebp + 8]
add esp, 0xc
test eax, eax
jne 0x403190
jmp 0x403872
mov ecx, eax
cmp eax, 4
jae 0x403220
jmp 0x40326b
mov dword [esp + 0x2c], esi
mov esi, dword [esp + 0x24]
test esi, esi
jne 0x403524
mov ecx, dword [esp + 0xc]
test ecx, ecx
mov esi, dword [esp + 0x2c]
jne 0x40341c
lea eax, [esp + 0x39]
mov dword [esp + 0x18], eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx eax, byte [esp + 0x38]
test al, al
je 0x4036dd
movsx ecx, al
mov eax, ecx
cmp dword [ebp + 8], 0
je 0x403307
mov eax, esi
sub eax, edi
add eax, 0x200
cmp eax, ecx
jl 0x403307
mov eax, ecx
sub cl, al
mov byte [esp + 0x38], cl
test eax, eax
je 0x4033ab
mov ecx, eax
and ecx, 3
je 0x4033f0
mov dword [esp + 0x2c], esi
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov esi, dword [esp + 0x18]
lea ebx, [esi + 1]
mov dword [esp + 0x18], ebx
movzx ebx, byte [esi]
mov byte [edi + edx], bl
inc edx
cmp ecx, edx
jne 0x403330
add edi, edx
mov ecx, eax
sub ecx, edx
mov esi, dword [esp + 0x2c]
mov ebx, dword [esp + 0x1c]
cmp eax, 4
jb 0x4033ab
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 0x18]
lea edx, [eax + 1]
mov dword [esp + 0x18], edx
movzx eax, byte [eax]
mov byte [edi], al
mov eax, dword [esp + 0x18]
lea edx, [eax + 1]
mov dword [esp + 0x18], edx
movzx eax, byte [eax]
mov byte [edi + 1], al
mov eax, dword [esp + 0x18]
lea edx, [eax + 1]
mov dword [esp + 0x18], edx
movzx eax, byte [eax]
mov byte [edi + 2], al
mov eax, dword [esp + 0x18]
lea edx, [eax + 1]
mov dword [esp + 0x18], edx
movzx eax, byte [eax]
mov byte [edi + 3], al
add edi, 4
add ecx, 0xfffffffc
jne 0x403360
cmp dword [ebp + 8], 0
je 0x4032e0
mov eax, edi
sub eax, esi
cmp eax, 0x1ff
jl 0x4032e0
add dword [esp + 0x4c], eax
push eax
push dword [ebp + 0xc]
push esi
call dword [ebp + 8]
add esp, 0xc
test eax, eax
je 0x403872
mov edi, eax
mov esi, eax
jmp 0x4032e0
mov ecx, eax
cmp eax, 4
jae 0x403360
jmp 0x4033ab
mov ecx, dword [esp + 0xc]
mov eax, ecx
not eax
mov edx, dword [esp + 8]
and eax, edx
not edx
and edx, ecx
sub edx, eax
mov ecx, edx
je 0x4032cd
mov eax, esi
sub eax, edi
add eax, 0x200
mov edx, ecx
cmp ecx, eax
jl 0x40342d
mov edx, eax
cmp dword [ebp + 8], 0
jne 0x403435
mov edx, ecx
test edx, edx
mov dword [esp + 0xc], ecx
mov dword [esp + 8], edx
je 0x403480
mov eax, edi
and eax, 3
je 0x403480
mov dword [esp + 0x2c], esi
mov esi, edi
not esi
and esi, 3
lea ebx, [edx - 1]
cmp esi, ebx
jb 0x40345c
mov esi, ebx
lea eax, [esi + 1]
push eax
push 0x30
push edi
call fcn.0040cc50
add esp, 0xc
add edi, esi
inc edi
sub ebx, esi
mov esi, dword [esp + 0x2c]
cmp ebx, 4
jl 0x4034ac
jmp 0x403490
mov ebx, edx
cmp ebx, 4
jl 0x4034ac
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov dword [edi], 0x30303030
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 0x403490
test ebx, ebx
je 0x4034be
push ebx
push 0x30
push edi
call fcn.0040cc50
add esp, 0xc
add edi, ebx
mov ebx, dword [esp + 0x1c]
cmp dword [ebp + 8], 0
je 0x403400
mov ecx, edi
xor ecx, esi
mov eax, esi
not eax
and eax, edi
add eax, eax
sub eax, ecx
lea ecx, [eax + 1]
cmp ecx, 0x200
jl 0x403400
add dword [esp + 0x4c], eax
push eax
push dword [ebp + 0xc]
push esi
call dword [ebp + 8]
add esp, 0xc
test eax, eax
je 0x403872
mov edi, eax
mov esi, eax
jmp 0x403400
mov edi, eax
mov dword [esp + 0x2c], eax
sub esi, dword [esp + 8]
mov ebx, dword [esp + 0x1c]
je 0x4032bd
mov eax, dword [esp + 0x2c]
sub eax, edi
add eax, 0x200
mov ecx, esi
cmp esi, eax
jl 0x403537
mov ecx, eax
cmp dword [ebp + 8], 0
mov ebx, dword [esp + 4]
jne 0x403543
mov ecx, esi
cmp ecx, 4
mov dword [esp + 8], ecx
jl 0x4035a0
lea edx, [ecx - 4]
mov eax, edx
shr eax, 2
inc eax
and eax, 7
je 0x4035a4
mov dword [esp + 0x10], edx
shl eax, 2
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [ebx + edx]
mov dword [edi + edx], ecx
add edx, 4
cmp eax, edx
jne 0x403570
add edi, edx
mov ecx, dword [esp + 8]
sub ecx, edx
add ebx, edx
mov eax, ecx
mov edx, dword [esp + 0x10]
cmp edx, 0x1c
jae 0x4035b0
jmp 0x4035f1
mov eax, ecx
jmp 0x4035f1
cmp edx, 0x1c
jb 0x4035f1
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [ebx]
mov dword [edi], eax
mov eax, dword [ebx + 4]
mov dword [edi + 4], eax
mov eax, dword [ebx + 8]
mov dword [edi + 8], eax
mov eax, dword [ebx + 0xc]
mov dword [edi + 0xc], eax
mov eax, dword [ebx + 0x10]
mov dword [edi + 0x10], eax
mov eax, dword [ebx + 0x14]
mov dword [edi + 0x14], eax
mov eax, dword [ebx + 0x18]
mov dword [edi + 0x18], eax
mov eax, dword [ebx + 0x1c]
mov dword [edi + 0x1c], eax
add edi, 0x20
add ebx, 0x20
lea eax, [ecx - 0x20]
add ecx, 0xffffffdc
cmp ecx, 0xfffffff8
mov ecx, eax
jb 0x4035b0
test eax, eax
je 0x403681
mov ecx, eax
and ecx, 7
je 0x4036d0
mov dword [esp + 4], esi
xor edx, edx
nop
nop
nop
nop
nop
nop
mov esi, ebx
movzx ebx, byte [ebx + edx]
mov byte [edi + edx], bl
mov ebx, esi
inc edx
cmp ecx, edx
jne 0x403610
add edi, edx
mov ecx, eax
sub ecx, edx
add ebx, edx
mov esi, dword [esp + 4]
cmp eax, 8
jb 0x403681
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx eax, byte [ebx]
mov byte [edi], al
movzx eax, byte [ebx + 1]
mov byte [edi + 1], al
movzx eax, byte [ebx + 2]
mov byte [edi + 2], al
movzx eax, byte [ebx + 3]
mov byte [edi + 3], al
movzx eax, byte [ebx + 4]
mov byte [edi + 4], al
movzx eax, byte [ebx + 5]
mov byte [edi + 5], al
movzx eax, byte [ebx + 6]
mov byte [edi + 6], al
movzx eax, byte [ebx + 7]
add ebx, 8
mov byte [edi + 7], al
add edi, 8
add ecx, 0xfffffff8
jne 0x403640
mov dword [esp + 4], ebx
cmp dword [ebp + 8], 0
je 0x403516
mov eax, edi
mov ebx, dword [esp + 0x2c]
sub eax, ebx
mov ecx, eax
and ecx, 1
mov edx, eax
xor edx, 1
lea ecx, [edx + ecx*2]
cmp ecx, 0x200
jl 0x403516
add dword [esp + 0x4c], eax
push eax
push dword [ebp + 0xc]
push ebx
call dword [ebp + 8]
add esp, 0xc
test eax, eax
jne 0x403510
jmp 0x403872
mov ecx, eax
cmp eax, 8
jae 0x403640
jmp 0x403681
test bl, 1
je 0x40382f
cmp dword [esp + 0x34], 0
mov eax, dword [esp + 0x50]
jle 0x403833
mov ecx, dword [esp + 0x34]
jne 0x403710
jmp 0x403833
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x34]
sub ecx, ebx
je 0x403833
mov eax, esi
sub eax, edi
add eax, 0x200
mov ebx, ecx
mov dword [esp + 0x34], ecx
cmp ecx, eax
jl 0x403725
mov ebx, eax
cmp dword [ebp + 8], 0
jne 0x40372f
mov ebx, dword [esp + 0x34]
test ebx, ebx
mov dword [esp + 0x2c], esi
mov dword [esp + 0x1c], ebx
je 0x403780
mov eax, edi
and eax, 3
je 0x403780
mov eax, ebx
mov ebx, edi
not ebx
and ebx, 3
lea esi, [eax - 1]
cmp ebx, esi
jb 0x403754
mov ebx, esi
lea eax, [ebx + 1]
push eax
push 0x20
push edi
call fcn.0040cc50
add esp, 0xc
add edi, ebx
inc edi
sub esi, ebx
mov ebx, dword [esp + 0x1c]
cmp esi, 4
jge 0x403787
jmp 0x4037bb
mov esi, ebx
cmp esi, 4
jl 0x4037bb
mov eax, esi
cmp esi, 7
jl 0x403793
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.0040cc50
add esp, 0xc
add edi, ebx
add edi, 4
sub esi, ebx
add esi, 0xfffffffc
mov ebx, dword [esp + 0x1c]
test esi, esi
je 0x4037cd
push esi
push 0x20
push edi
call fcn.0040cc50
add esp, 0xc
add edi, esi
mov esi, dword [esp + 0x2c]
mov eax, dword [esp + 0x50]
cmp dword [ebp + 8], 0
je 0x403704
mov ecx, edi
not ecx
and ecx, esi
mov eax, esi
not eax
and eax, edi
sub eax, ecx
mov ecx, eax
and ecx, 1
mov edx, eax
xor edx, 1
lea ecx, [edx + ecx*2]
cmp ecx, 0x200
jl 0x403700
add dword [esp + 0x4c], eax
push eax
push dword [ebp + 0xc]
push esi
call dword [ebp + 8]
add esp, 0xc
test eax, eax
je 0x403872
mov edi, eax
mov esi, eax
jmp 0x403700
lea eax, [esp + 0x45]
mov dword [esp + 0x18], eax
jmp 0x4032b1
mov eax, dword [esp + 0x50]
inc eax
jmp 0x401036
mov eax, edx
jmp 0x402bf0
fstp st(1)
fdivp st(1)
or ebx, 0x4000000
jmp 0x402443
cmp dword [ebp + 8], 0
je 0x403878
mov eax, edi
sub eax, esi
test eax, eax
jle 0x40387b
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 0x40387b
xor edi, edi
xor esi, esi
jmp 0x40387b
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