Function at 0x401000
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x268
mov eax, dword [ebp + 0x18]
mov dword [esp + 0x2c], eax
mov ebx, dword [ebp + 0x14]
mov edi, dword [ebp + 0x10]
mov dword [esp + 0x20], 0
mov esi, edi
jmp 0x40103b
mov edi, eax
movzx eax, byte [ebx]
mov esi, edi
mov byte [edi], al
inc edi
inc ebx
mov dword [esp + 0x28], esi
test bl, 3
je 0x401050
movzx eax, byte [ebx]
jmp 0x40106e
mov eax, dword [ebx]
mov edx, eax
not edx
mov ecx, eax
xor ecx, 0x25252525
add ecx, 0xfefefeff
and edx, 0x80808080
test edx, ecx
je 0x4010ac
cmp al, 0x25
je 0x401108
test al, al
mov esi, dword [esp + 0x28]
je 0x403712
cmp dword [ebp + 8], 0
je 0x401037
mov ecx, edi
sub ecx, esi
cmp ecx, 0x1ff
jl 0x401037
add dword [esp + 0x20], ecx
push ecx
push dword [ebp + 0xc]
push esi
call dword [ebp + 8]
add esp, 0xc
test eax, eax
jne 0x401030
jmp 0x40374c
mov ecx, dword [esp + 0x28]
sub ecx, edi
add ecx, 0x200
jmp 0x4010ea
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx + 4]
add ebx, 4
mov edx, eax
not edx
mov esi, eax
xor esi, 0x25252525
add esi, 0xfefefeff
and edx, 0x80808080
add ecx, 0xfffffffc
test edx, esi
jne 0x40106e
lea esi, [eax - 0x1010101]
test edx, esi
jne 0x401076
cmp dword [ebp + 8], 0
je 0x4010c0
cmp ecx, 4
jge 0x4010c0
jmp 0x40106e
add ebx, 2
mov ecx, ebx
xor ebx, ebx
jmp 0x401123
mov edx, 1
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
or ebx, edx
inc ecx
movzx eax, byte [ecx - 1]
lea esi, [eax - 0x20]
cmp esi, 0x3f
ja case.0x401134.33
mov edx, 2
jmp dword [esi*4 + 0x448564]
mov edx, 4
jmp case.0x401134.43
mov edx, 0x400
jmp case.0x401134.43
mov edx, 0x100
test ebx, 0x100
je case.0x401134.43
mov edx, ebx
and edx, 0x800
add edx, 0x800
jmp case.0x401134.43
mov edx, 8
jmp case.0x401134.43
mov edx, 0x40
jmp case.0x401134.43
or ebx, 0x10
movzx eax, byte [ecx]
jmp 0x40117d
dec ecx
cmp al, 0x2a
mov esi, dword [esp + 0x28]
mov dword [esp + 8], ebx
jne 0x4011a1
mov eax, dword [esp + 0x2c]
mov edx, dword [eax]
mov dword [esp + 0x50], edx
add eax, 4
mov dword [esp + 0x2c], eax
movzx eax, byte [ecx + 1]
inc ecx
jmp 0x4011e8
mov edx, eax
add dl, 0xd0
mov dword [esp + 0x50], 0
cmp dl, 9
ja 0x4011e8
xor ebx, ebx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx eax, al
lea edx, [ebx + ebx*4]
lea ebx, [eax + edx*2]
mov eax, ebx
not eax
and eax, 0x30
and ebx, 0xffffffcf
sub ebx, eax
movzx eax, byte [ecx + 1]
inc ecx
mov edx, eax
add dl, 0xd0
cmp dl, 0xa
jb 0x4011c0
mov dword [esp + 0x50], ebx
mov dword [esp + 0x14], 0xffffffff
cmp al, 0x2e
jne 0x401253
movzx eax, byte [ecx + 1]
cmp al, 0x2a
jne 0x401216
mov eax, dword [esp + 0x2c]
mov edx, dword [eax]
mov dword [esp + 0x14], edx
add eax, 4
mov dword [esp + 0x2c], eax
movzx eax, byte [ecx + 2]
add ecx, 2
jmp 0x401253
inc ecx
mov edx, eax
add dl, 0xd0
mov dword [esp + 0x14], 0
cmp dl, 9
ja 0x401253
xor esi, esi
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 0x401230
mov dword [esp + 0x14], esi
mov esi, dword [esp + 0x28]
movzx eax, al
add eax, 0xffffffb7
cmp eax, 0x31
ja case.0x40125e.74
jmp dword [eax*4 + 0x448664]
inc ecx
jmp case.0x40125e.74
movzx edx, byte [ecx + 1]
cmp dl, 0x6c
jne 0x4012a2
or dword [esp + 8], 0x20
add ecx, 2
jmp case.0x40125e.74
lea ebx, [ecx + 1]
movzx edx, byte [ecx + 1]
cmp edx, 0x33
je 0x4012c3
cmp edx, 0x36
jne 0x4012d5
cmp byte [ecx + 2], 0x34
jne 0x4012c9
or dword [esp + 8], 0x20
jmp 0x4012cd
cmp byte [ecx + 1], 0x68
je 0x4012a5
inc ecx
jmp 0x4012a8
inc ecx
jmp 0x4012d3
add ecx, 2
mov edx, dword [esp + 8]
mov eax, edx
not eax
or eax, 0xfffffdff
add edx, eax
add edx, 0x201
mov dword [esp + 8], edx
jmp case.0x40125e.74
cmp byte [ecx + 2], 0x32
je 0x4012cd
mov ecx, ebx
jmp case.0x40125e.74
add ecx, 3
movzx edx, byte [ecx]
mov ebx, ecx
movzx eax, dl
add eax, 0xffffffbf
cmp eax, 0x37
mov dword [esp + 0x30], ebx
mov ecx, dword [esp + 0x14]
ja case.0x4012ec.67
jmp dword [eax*4 + 0x44872c]
test byte [esp + 8], 0x20
jne 0x401720
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax]
add eax, 4
mov dword [esp + 0x2c], eax
mov dword [esp + 0xc], 0
cmp dl, 0x75
mov esi, dword [esp + 0x20]
je 0x401d16
test ecx, ecx
jns 0x401d16
neg ecx
mov dword [esp + 0x10], ecx
mov edx, dword [esp + 8]
and edx, 0xffffff5f
mov eax, edx
xor eax, 0xffffff5f
xor edx, 0xffffff7f
or edx, eax
not edx
jmp 0x4020ad
mov eax, str.0123456789ABCDEFXP
cmp dl, 0x45
je 0x40135d
mov eax, str.0123456789abcdefxp
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x2c]
fld qword [eax]
mov eax, 6
cmp ecx, 0xffffffff
mov esi, dword [esp + 0x20]
je 0x401377
mov eax, ecx
mov dword [esp + 0x1c], eax
or eax, 0x80000000
sub esp, 0x18
mov dword [esp + 0x10], eax
fstp qword [esp + 8]
lea eax, [esp + 0x5c]
mov dword [esp + 4], eax
lea eax, [esp + 0x7c]
mov dword [esp], eax
lea ecx, [esp + 0x30]
lea edx, [esp + 0x3c]
call fcn.00403770
add esp, 0x18
test eax, eax
je 0x4013b6
or dword [esp + 8], 0x80
add dword [esp + 0x2c], 8
mov dword [esp + 0x20], esi
mov byte [esp + 0x3c], 0
mov byte [esp + 0x48], 0
mov al, 0x2d
cmp byte [esp + 8], 0
js 0x4013e4
mov al, 0x20
test byte [esp + 8], 4
jne 0x4013e4
mov al, 0x2b
test byte [esp + 8], 2
je 0x4013ed
mov byte [esp + 0x48], 1
mov byte [esp + 0x49], al
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x18]
cmp eax, 0x7000
je 0x402985
mov dword [esp + 0x38], eax
mov dword [esp + 4], edx
movzx ecx, byte [edx]
mov byte [esp + 0xa4], cl
lea eax, [esp + 0xa5]
mov esi, dword [esp + 0x1c]
test esi, esi
je 0x401439
movzx ecx, byte [section..data]
xor cl, 0x19
mov byte [esp + 0xa5], cl
lea eax, [esp + 0xa6]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x24]
lea edx, [eax - 1]
cmp edx, esi
jbe 0x40144f
lea eax, [esi + 1]
mov dword [esp + 0x24], eax
cmp eax, 2
mov dword [esp + 0xc], eax
jb 0x401512
mov ebx, esi
cmp esi, edx
jb 0x401464
mov ebx, edx
lea esi, [ebx - 1]
mov edx, 1
cmp esi, 7
jb 0x4014e9
mov dword [esp + 0x34], ebx
mov esi, ebx
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
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 0x401490
add ecx, edx
mov dword [esp + 0x14], ecx
inc edx
mov ebx, dword [esp + 0x34]
and ebx, 7
je 0x401512
mov esi, dword [esp + 4]
add esi, edx
xor edx, edx
mov ecx, dword [esp + 0x14]
nop
nop
nop
nop
nop
nop
movzx eax, byte [esi + edx]
mov byte [ecx + edx], al
inc edx
cmp ebx, edx
jne 0x401500
add ecx, edx
mov dword [esp + 0x14], ecx
mov eax, dword [esp + 0x10]
movzx eax, byte [eax + 0xe]
mov byte [esp + 0x3d], al
mov ecx, dword [esp + 0x38]
test ecx, ecx
jle 0x401d1f
dec ecx
mov byte [esp + 0x3e], 0x2b
mov eax, ecx
jmp 0x401d2b
mov esi, str.0123456789ABCDEFXP
mov dword [esp + 0x54], edx
cmp dl, 0x41
je 0x40154a
mov esi, str.0123456789abcdefxp
mov eax, 6
cmp ecx, 0xffffffff
mov edx, dword [esp + 8]
je 0x40155a
mov eax, ecx
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax + 4]
test ecx, ecx
mov dword [esp + 4], esi
jns 0x40157e
mov eax, edx
not eax
or eax, 0xffffff7f
add edx, eax
add edx, 0x81
mov eax, dword [esp + 0x2c]
mov ebx, dword [eax]
mov al, 0x2d
test dl, dl
js 0x4016dc
mov al, 0x20
test dl, 4
jne 0x4016dc
mov al, 0x2b
test dl, 2
jne 0x4016dc
mov dword [esp + 0x10], 0
jmp 0x4016e6
mov dword [esp + 0x34], str.0123456789ABCDEFXP
cmp dl, 0x42
je 0x4015c6
mov dword [esp + 0x34], str.0123456789abcdefxp
mov byte [esp + 0x48], 0
test byte [esp + 8], 8
mov ecx, dword [esp + 0x20]
je 0x4015ec
cmp dl, 0x42
setne al
mov word [esp + 0x48], 0x3002
shl al, 5
or al, 0x42
mov byte [esp + 0x4a], al
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], 0x180
mov ecx, 1
jmp 0x4017f4
mov esi, str.0123456789ABCDEFXP
cmp dl, 0x47
je 0x401611
mov esi, str.0123456789abcdefxp
mov eax, dword [esp + 0x2c]
fld qword [eax]
cmp ecx, 1
mov eax, ecx
adc eax, 0
mov edx, 6
cmp ecx, 0xffffffff
je 0x40162b
mov edx, eax
mov ecx, edx
xor ecx, 1
mov dword [esp + 4], edx
mov eax, edx
and eax, 0x3ffffffe
add eax, eax
sub eax, ecx
or eax, 0x80000000
sub esp, 0x18
fstp qword [esp + 8]
lea ecx, [esp + 0x5c]
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.00403770
add esp, 0x18
test eax, eax
je 0x40167a
or dword [esp + 8], 0x80
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 4]
cmp eax, edx
jb 0x401688
mov eax, edx
mov dword [esp + 0x10], esi
mov ecx, eax
mov dword [esp + 0x1c], eax
cmp eax, 2
jb 0x401769
mov ecx, edx
mov edx, dword [esp + 0x18]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov esi, dword [esp + 0x1c]
cmp byte [edx + esi - 1], 0x30
jne 0x401dfb
dec esi
lea eax, [ecx - 1]
mov dword [esp + 0x1c], esi
cmp esi, 2
jb 0x401dfd
cmp ecx, 1
mov ecx, eax
jne 0x4016b0
jmp 0x401dfd
mov byte [esp + 0x49], al
mov al, 1
mov dword [esp + 0x10], eax
mov eax, ecx
mov esi, ecx
and esi, 0xfffff
shr eax, 0x14
and eax, 0x7ff
je 0x401bb5
add eax, 0xfffffc01
mov dword [esp + 0x14], eax
mov eax, 0xffffffff
add ebx, eax
mov eax, 0xfffff
adc esi, eax
add ebx, 1
adc esi, 0
jmp 0x401bca
mov ecx, dword [esp + 0x2c]
lea eax, [ecx + 8]
mov esi, dword [ecx]
mov dword [esp + 0x10], esi
mov ecx, dword [ecx + 4]
cmp dl, 0x75
mov esi, dword [esp + 0x20]
je 0x4020a1
test ecx, ecx
mov edx, ecx
jns 0x40209b
neg dword [esp + 0x10]
mov ecx, 0
sbb ecx, edx
mov edx, dword [esp + 8]
or edx, 0x80
mov dword [esp + 0xc], ecx
mov dword [esp + 0x2c], eax
jmp 0x4020ad
mov eax, edx
jmp 0x401dfd
and dword [esp + 8], 0xffffffef
mov ecx, 8
mov dword [esp + 0x14], ecx
mov dword [esp + 0x34], str.0123456789ABCDEFXP
cmp dl, 0x58
mov eax, dword [esp + 0x20]
je 0x401797
mov dword [esp + 0x34], str.0123456789abcdefxp
mov dword [esp + 0x24], 0x440
mov byte [esp + 0x48], 0
mov ecx, 4
test byte [esp + 8], 8
mov dword [esp + 0x20], eax
je 0x4017f4
cmp dl, 0x58
setne al
mov word [esp + 0x48], 0x3002
shl al, 5
or al, 0x58
mov byte [esp + 0x4a], al
jmp 0x4017f4
mov byte [esp + 0x48], 0
test byte [esp + 8], 8
je 0x4017df
mov word [esp + 0x48], 0x3001
mov dword [esp + 0x24], 0x330
mov dword [esp + 0x34], str.0123456789ABCDEFXP
mov ecx, 3
mov edx, dword [esp + 8]
mov eax, edx
xor eax, 0xffffffdf
or edx, 0x20
test edx, eax
je 0x401820
mov eax, dword [esp + 0x2c]
mov esi, dword [eax]
mov dword [esp + 4], ecx
mov ecx, dword [eax + 4]
lea edx, [eax + 8]
mov eax, ecx
mov ecx, dword [esp + 4]
mov dword [esp + 0x2c], edx
jmp 0x40182f
mov eax, dword [esp + 0x2c]
mov esi, dword [eax]
add eax, 4
mov dword [esp + 0x2c], eax
xor eax, eax
mov dword [esp + 0x44], 0
mov byte [esp + 0x3c], 0
mov edx, esi
or edx, eax
jne 0x401852
mov byte [esp + 0x48], 0
cmp dword [esp + 0x14], 0
je 0x401b99
mov edx, 0xffffffff
shl edx, cl
not edx
and edx, esi
mov ecx, dword [esp + 0x24]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0xc]
mov cl, ch
shrd esi, eax, cl
mov dword [esp + 0x10], esi
mov ecx, dword [esp + 0x34]
movzx ecx, byte [ecx + edx]
mov byte [esp + 0x263], cl
mov edx, dword [esp + 0xc]
mov cl, dh
shr eax, cl
mov ecx, edx
test ch, 0x20
jne 0x40189c
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x10]
mov esi, eax
jmp 0x4018a4
mov ecx, eax
xor esi, esi
mov edx, dword [esp + 0x20]
mov dword [esp + 0x10], ecx
or ecx, esi
jne 0x4018cc
mov ecx, 1
cmp dword [esp + 0x14], 2
jge 0x4018cc
mov dword [esp + 0x20], edx
lea eax, [esp + 0x263]
mov dword [esp + 4], eax
jmp 0x4019e0
lea eax, [esp + 0x263]
mov dword [esp + 4], eax
lea edx, [esp + 0x264]
nop
nop
mov dword [esp + 0x1c], esi
test byte [esp + 8], 0x40
jne 0x401900
mov eax, dword [esp + 4]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0xc]
jmp 0x40196a
mov ebx, dword [esp + 0xc]
lea esi, [ebx + 1]
mov dword [esp + 0x24], esi
mov eax, 0xe
sub eax, ebx
not eax
or eax, esi
and eax, 0xf
mov ecx, esi
shr ecx, 4
and ecx, 0xf
cmp eax, ecx
jne 0x401960
mov eax, 0xfffffffe
sub eax, ebx
not eax
or eax, esi
and eax, 0xfffffff0
mov dword [esp + 0x24], eax
movzx eax, byte [0x44b001]
mov ecx, eax
add cl, al
and cl, 0x20
sub al, cl
add al, 0x90
mov byte [edx - 2], al
add edx, 0xfffffffe
mov dword [esp + 0x38], edx
mov eax, dword [esp + 0x24]
jmp 0x40196a
mov eax, esi
mov ecx, dword [esp + 4]
mov dword [esp + 0x38], ecx
mov ebx, 0xffffffff
mov cl, ah
shl ebx, cl
not ebx
mov esi, dword [esp + 0x10]
and ebx, esi
mov eax, dword [esp + 0x24]
mov dword [esp + 0xc], eax
mov cl, ah
mov edx, dword [esp + 0x1c]
shrd esi, edx, cl
mov eax, dword [esp + 0x34]
movzx eax, byte [eax + ebx]
mov ecx, dword [esp + 0x38]
mov ebx, ecx
mov byte [ecx - 1], al
mov eax, dword [esp + 0xc]
mov cl, ah
shr edx, cl
test ah, 0x20
jne 0x4019b0
mov ecx, esi
mov esi, edx
jmp 0x4019b4
mov ecx, edx
xor esi, esi
mov edx, ebx
lea eax, [ebx - 1]
mov dword [esp + 4], eax
mov dword [esp + 0x10], ecx
mov eax, ecx
or eax, esi
jne 0x4018e0
lea ecx, [esp + 0x264]
sub ecx, dword [esp + 4]
cmp ecx, dword [esp + 0x14]
jl 0x4018e0
mov esi, dword [esp + 0xc]
shl esi, 0x14
and esi, 0xf000000
add esi, ecx
mov dword [esp + 0xc], esi
mov dword [esp + 0x24], ecx
mov dword [esp + 0x1c], 0
mov esi, dword [esp + 0x14]
mov edx, dword [esp + 4]
mov ebx, dword [esp + 0x30]
jmp 0x402aed
mov eax, dword [esp + 0x2c]
mov eax, dword [eax]
mov edx, str.null
test eax, eax
je 0x401a21
mov edx, eax
mov eax, ecx
test ecx, ecx
jns 0x401a2c
mov ecx, 0xffffffff
test dl, 3
mov dword [esp + 4], edx
je 0x402394
mov eax, edx
add edx, ecx
cmp dword [esp + 0x14], 0
je 0x402962
cmp byte [eax], 0
je 0x402960
inc eax
lea esi, [ecx - 1]
test al, 3
je 0x40291b
test esi, esi
je 0x402962
cmp byte [eax], 0
je 0x402960
mov eax, dword [esp + 4]
add eax, 2
lea esi, [ecx - 2]
test al, 3
je 0x40291b
test esi, esi
je 0x402962
cmp byte [eax], 0
je 0x402960
mov eax, dword [esp + 4]
add eax, 3
lea esi, [ecx - 3]
test al, 3
je 0x40291b
test esi, esi
je 0x402962
cmp byte [eax], 0
je 0x402960
mov eax, dword [esp + 4]
add eax, 4
add ecx, 0xfffffffc
test al, 3
je 0x40291d
test ecx, ecx
je 0x401acc
mov edx, eax
mov ebx, dword [esp + 0x30]
jmp 0x402962
mov byte [esp + 0x263], dl
mov dword [esp + 0x24], 1
mov byte [esp + 0x48], 0
mov byte [esp + 0x3c], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0xc], 0
lea edx, [esp + 0x263]
mov dword [esp + 8], 0
mov dword [esp + 0x1c], 0
xor esi, esi
mov dword [esp + 0x50], 0
jmp 0x402aed
mov ecx, dword [esp + 0x2c]
movzx eax, byte [ecx]
add ecx, 4
mov dword [esp + 0x2c], ecx
mov byte [esp + 0x263], al
mov dword [esp + 0x24], 1
mov byte [esp + 0x48], 0
mov byte [esp + 0x3c], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0xc], 0
lea edx, [esp + 0x263]
jmp 0x40298d
mov eax, dword [esp + 0x2c]
fld qword [eax]
add eax, 8
mov dword [esp + 0x2c], eax
mov edx, dword [esp + 0x20]
jmp 0x40210b
mov edx, dword [esp + 0x2c]
mov eax, dword [edx]
mov ecx, dword [esp + 0x20]
sub ecx, esi
add ecx, edi
mov dword [eax], ecx
add edx, 4
mov dword [esp + 0x2c], edx
jmp 0x4035de
mov dword [esp + 0x24], 0
mov dword [esp + 0xc], 0
lea edx, [esp + 0x264]
jmp 0x40298d
xor eax, eax
mov ecx, ebx
or ecx, esi
je 0x401bc2
mov eax, 0xfffffc02
mov dword [esp + 0x14], eax
mov dword [esp + 0x44], eax
shld esi, ebx, 8
shl ebx, 8
mov eax, dword [esp + 0x38]
cmp eax, 0xe
mov dword [esp + 8], edx
mov dword [esp + 0x34], ebx
jg 0x401c25
mov edx, eax
and edx, 4
mov ecx, eax
or ecx, 4
imul ecx, edx
xor edx, 4
mov ebx, eax
and ebx, 0xfb
imul ebx, edx
add ecx, ebx
xor ebx, ebx
mov eax, 0x8000000
shrd ebx, eax, cl
mov edx, 0x8000000
shr edx, cl
test cl, 0x20
je 0x401c19
mov ebx, edx
xor edx, edx
mov eax, dword [esp + 0x34]
add eax, ebx
mov dword [esp + 0x34], eax
adc esi, edx
mov ebx, dword [esp + 4]
mov edx, dword [esp + 0x10]
movzx ecx, dl
lea eax, [esp + 0x48]
mov word [ecx + eax + 1], 0x7830
or dl, 2
mov byte [esp + 0x48], dl
mov ecx, esi
shr ecx, 0x1c
movzx ecx, byte [ebx + ecx]
mov byte [esp + 0xa4], cl
mov ebx, dword [esp + 0x38]
test ebx, ebx
je 0x401d00
movzx ecx, byte [section..data]
xor cl, 0x19
mov byte [esp + 0xa5], cl
lea eax, [esp + 0xa6]
mov dword [esp + 0x18], eax
mov ecx, ebx
cmp ebx, 0xd
jb 0x401c86
mov ecx, 0xd
mov eax, ebx
sub eax, ecx
mov dword [esp + 0x1c], eax
jg 0x401c98
mov dword [esp + 0x1c], 0
mov eax, ecx
and eax, 3
je 0x401e70
mov dword [esp + 0x10], ecx
xor edx, edx
mov ebx, dword [esp + 0x34]
mov dword [esp + 0xc], eax
nop
nop
nop
nop
nop
nop
nop
nop
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 + 0xa6], al
mov eax, dword [esp + 0xc]
shl ebx, 4
inc edx
cmp eax, edx
jne 0x401cc0
mov dword [esp + 0x34], ebx
lea eax, [esp + 0xa6]
lea ebx, [eax + edx]
mov ecx, dword [esp + 0x10]
sub ecx, edx
jmp 0x401e77
lea ebx, [esp + 0xa5]
mov dword [esp + 0x18], ebx
xor ecx, ecx
mov dword [esp + 0x10], ebx
jmp 0x401efd
mov dword [esp + 0x10], ecx
jmp 0x4020a9
mov byte [esp + 0x3e], 0x2d
mov eax, 1
sub eax, ecx
mov dword [esp + 4], eax
xor ecx, ecx
cmp eax, 0x64
setge cl
mov dword [esp + 0x38], 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 + 0x38]
lea esi, [eax + 4]
mov dword [esp + 0x10], esi
add bl, 0x30
add edx, edx
lea edx, [edx + edx*4]
mov dword [esp + 0x34], edx
mov edx, dword [esp + 0x10]
mov byte [esp + 0x3c], dl
mov byte [esp + eax + 0x40], bl
mov esi, dword [esp + 4]
mov edx, ecx
sub edx, dword [esp + 0x34]
add dl, 0x30
mov byte [esp + eax + 0x3f], dl
cmp esi, 0x64
jl 0x401dd5
mov eax, esi
mov ecx, 0x51eb851f
mul ecx
mov ecx, edx
shr ecx, 5
mov eax, ecx
mov edx, 0x1999999a
mul edx
add edx, edx
lea eax, [edx + edx*4]
mov edx, ecx
sub edx, eax
or dl, 0x30
lea eax, [esp + 0x3c]
mov esi, dword [esp + 0x10]
mov byte [esi + eax - 2], dl
mov eax, dword [esp + 0x1c]
sub eax, dword [esp + 0xc]
inc eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x44], ecx
mov dword [esp + 0xc], 0x3000001
mov ebx, dword [esp + 0x30]
mov edx, dword [esp + 0x14]
jmp 0x402adc
mov eax, ecx
add dword [esp + 0x2c], 8
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x44]
cmp ecx, 0xfffffffd
jl 0x401e3c
cmp ecx, dword [esp + 4]
jg 0x401e3c
test ecx, ecx
jle 0x402082
sub dword [esp + 0x1c], ecx
mov edx, dword [esp + 0x20]
jg 0x40246e
mov dword [esp + 0x1c], 0
jmp 0x40246e
mov ecx, dword [esp + 0x1c]
cmp eax, ecx
jle 0x401e52
dec ecx
mov dword [esp + 0x1c], ecx
mov esi, dword [esp + 0x20]
jmp 0x4013bb
mov dword [esp + 0x1c], 0
sub eax, 1
mov esi, dword [esp + 0x20]
jb 0x4013bb
mov dword [esp + 0x1c], eax
jmp 0x4013bb
lea ebx, [esp + 0xa6]
cmp dword [esp + 0x38], 4
jb 0x401eee
mov dword [esp + 0xc], esi
mov eax, ecx
mov ecx, dword [esp + 0x34]
nop
nop
nop
nop
nop
nop
nop
nop
mov dword [esp + 0x10], 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 + 0xc]
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 + 0x10]
add ebx, 4
mov dword [esp + 0xc], esi
add eax, 0xfffffffc
jne 0x401e90
lea eax, [esp + 0xa6]
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x54]
cmp al, 0x41
setne al
shl al, 5
or al, 0x50
mov byte [esp + 0x3d], al
mov eax, dword [esp + 0x14]
test eax, eax
js 0x401f1e
mov byte [esp + 0x3e], 0x2b
jmp 0x401f25
mov byte [esp + 0x3e], 0x2d
neg eax
cmp eax, 0x3e7
mov dword [esp + 0x1c], ecx
ja 0x401f47
cmp eax, 0x63
jbe 0x402062
mov dword [esp + 0x34], ebx
mov dword [esp + 4], 5
jmp 0x401f53
mov dword [esp + 0x34], ebx
mov dword [esp + 4], 6
mov dword [esp + 0xc], 0
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
mov ecx, 0xcccccccd
mul ecx
shr edx, 2
and edx, 0xfffffffe
lea eax, [edx + edx*4]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x14]
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 + 0x14]
sub ebx, dword [esp + 0x38]
mov esi, dword [esp + 4]
mov eax, esi
mov byte [esp + 0x3c], al
or bl, 0x30
mov byte [esp + esi + 0x3c], bl
mov eax, edx
shr eax, 0x1f
sar edx, 2
add edx, eax
add edx, edx
lea eax, [edx + edx*4]
sub ecx, eax
add cl, 0x30
mov byte [esp + esi + 0x3b], cl
cmp byte [esp + 0xc], 0
mov ecx, 0x51eb851f
mov ebx, dword [esp + 0x34]
jne 0x40286b
mov eax, dword [esp + 0x14]
imul ecx
mov ecx, edx
mov eax, edx
shr eax, 0x1f
sar ecx, 5
add ecx, eax
mov eax, ecx
mov edx, 0x66666667
imul edx
mov eax, edx
shr eax, 0x1f
sar edx, 2
add edx, eax
add edx, edx
lea eax, [edx + edx*4]
sub ecx, eax
add cl, 0x30
lea eax, [esp + 0x3c]
mov edx, dword [esp + 4]
mov byte [edx + eax - 2], cl
mov eax, dword [esp + 0x14]
cmp eax, 0x3e8
jb 0x40286b
mov ecx, 0x10624dd3
imul ecx
mov ecx, edx
mov eax, edx
shr eax, 0x1f
sar ecx, 6
add ecx, eax
mov eax, ecx
mov edx, 0x66666667
imul edx
mov eax, edx
shr eax, 0x1f
shr edx, 2
add edx, eax
add edx, edx
lea eax, [edx + edx*4]
sub ecx, eax
add cl, 0x30
lea eax, [esp + 0x3c]
mov edx, dword [esp + 4]
mov byte [edx + eax - 3], cl
jmp 0x40286b
cmp eax, 9
jbe 0x402860
mov dword [esp + 0x34], ebx
mov dword [esp + 4], 4
mov cl, 1
mov dword [esp + 0xc], ecx
jmp 0x401f5b
mov edx, dword [esp + 0x1c]
cmp eax, edx
mov esi, dword [esp + 0x20]
jl 0x402090
mov eax, edx
sub eax, ecx
mov dword [esp + 0x1c], eax
jmp 0x40246c
mov dword [esp + 0xc], edx
jmp 0x4020a5
mov dword [esp + 0xc], ecx
mov dword [esp + 0x2c], eax
mov edx, dword [esp + 8]
mov eax, edx
xor eax, 0xfffffeff
mov dword [esp + 8], edx
mov ecx, edx
or ecx, 0x100
test ecx, eax
je 0x402162
mov eax, 1
mov ecx, dword [esp + 0x14]
cmp ecx, 0xffffffff
je 0x4020d8
mov eax, ecx
mov dword [esp + 0x14], 0
cmp dword [esp + 0x10], 0x400
mov ecx, dword [esp + 0xc]
sbb ecx, 0
mov edx, esi
jb 0x4020f7
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0xc]
mov dword [esp + 0x5c], eax
fild qword [esp + 0x58]
mov ecx, dword [esp + 8]
test ecx, 0x100
je 0x402420
xor eax, eax
test ecx, 0x800
sete al
fld qword [eax*8 + 0x448550]
cmp ecx, 0x3ffffff
ja 0x40238d
fld st(0)
fchs
fxch st(1)
fucom st(2)
fnstsw ax
sahf
jbe 0x40239b
fxch st(2)
fucom st(1)
fnstsw ax
sahf
fxch st(2)
jbe 0x40239b
fstp st(0)
fstp st(0)
jmp 0x402420
movzx ecx, byte [0x44b001]
mov eax, ecx
xor al, 0x90
mov byte [esp + 0x34], al
mov eax, ecx
add al, cl
and al, 0x20
sub cl, al
add cl, 0x90
mov byte [esp + 0x1c], cl
mov esi, 0x200
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov dword [esp + 0x38], edx
mov ecx, dword [esp + 0x10]
cmp ecx, 0x5f5e100
mov edx, dword [esp + 0xc]
mov eax, edx
sbb eax, 0
jb 0x4021d0
push 0
push 0x5f5e100
push edx
push ecx
mov dword [esp + 0x20], ecx
call fcn.0040c6a0
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x10]
imul ecx, eax, 0x5f5e100
sub edx, ecx
mov ecx, eax
jmp 0x4021dc
mov dword [esp + 0xc], 0
mov edx, ecx
xor ecx, ecx
lea eax, [esp + 0x5c]
add eax, esi
mov dword [esp + 4], eax
test byte [esp + 8], 0x40
mov dword [esp + 0x10], ecx
jne 0x402240
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, edx
mov eax, edx
mov edx, 0x51eb851f
mul edx
shr edx, 5
imul eax, edx, 0x64
mov ebx, ecx
sub ebx, eax
movzx eax, word [ebx + ebx + str.00010203040506070809101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899]
mov word [esp + esi + 0x62], ax
add esi, 0xfffffffe
cmp ecx, 0x64
jae 0x402200
mov ebx, dword [esp + 0x30]
mov edx, dword [esp + 0x38]
jmp 0x4022b0
mov eax, edx
test edx, edx
mov edx, dword [esp + 0x38]
je 0x4022b0
mov ecx, dword [esp + 4]
jmp 0x402282
mov dword [esp + 4], 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 + 4]
mov ebx, dword [esp + 0x30]
test eax, eax
je 0x4022b4
test byte [esp + 8], 0x40
je 0x402250
cmp edx, 3
je 0x402295
mov dword [esp + 4], ecx
inc edx
jmp 0x402254
mov edx, eax
movzx eax, byte [esp + 0x34]
mov byte [esp + esi + 0x63], al
mov eax, edx
dec esi
dec ecx
xor edx, edx
test eax, eax
jne 0x402282
jmp 0x4022b4
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x10]
or eax, dword [esp + 0xc]
jne 0x4022c7
jmp 0x4022f0
inc edx
mov byte [esp + esi + 0x63], 0x30
dec esi
lea eax, [esp + esi]
add eax, 0x64
cmp eax, ecx
je 0x402190
test byte [esp + 8], 0x40
je 0x4022c1
cmp edx, 3
jne 0x4022c0
movzx eax, byte [esp + 0x1c]
mov byte [esp + esi + 0x63], al
dec esi
dec ecx
xor edx, edx
jmp 0x4022c7
cmp esi, 0x200
setne al
cmp byte [esp + esi + 0x64], 0x30
sete cl
mov byte [esp + 0x3c], 0
mov byte [esp + 0x48], 0
mov dl, 0x2d
cmp byte [esp + 8], 0
js 0x402326
mov dl, 0x20
test byte [esp + 8], 4
jne 0x402326
mov dl, 0x2b
test byte [esp + 8], 2
je 0x40232f
mov byte [esp + 0x48], 1
mov byte [esp + 0x49], dl
and al, cl
movzx eax, al
add esi, eax
lea edx, [esp + esi]
add edx, 0x64
lea eax, [esi - 0x200]
neg eax
mov dword [esp + 0x24], eax
cmp esi, 0x200
jne 0x402362
mov byte [edx - 1], 0x30
dec edx
mov dword [esp + 0x24], 1
mov eax, 1
mov esi, dword [esp + 0x14]
mov dword [esp + 0x1c], 0
test esi, esi
jg 0x402374
xor esi, esi
mov ecx, eax
and ecx, 0x3000000
xor eax, 0x3000000
lea eax, [eax + ecx*2]
mov dword [esp + 0xc], eax
jmp 0x402aed
fstp st(0)
jmp 0x402420
mov eax, edx
jmp 0x40291d
fdiv st(2), st(0)
mov eax, dword [esp + 8]
lea ecx, [eax + 0x1000000]
cmp eax, 0x2ffffff
ja 0x402418
fucom st(2)
fnstsw ax
sahf
jbe 0x4023c0
fxch st(2)
fucom st(1)
fnstsw ax
sahf
fxch st(2)
ja 0x402418
fdiv st(2), st(0)
mov eax, dword [esp + 8]
lea ecx, [eax + 0x2000000]
cmp eax, 0x1ffffff
ja 0x402418
fucom st(2)
fnstsw ax
sahf
jbe 0x4023e5
fxch st(2)
fucom st(1)
fnstsw ax
sahf
fxch st(2)
ja 0x402418
fdiv st(2), st(0)
mov eax, dword [esp + 8]
lea ecx, [eax + 0x3000000]
cmp eax, 0xffffff
ja 0x402418
fucom st(2)
fnstsw ax
sahf
jbe 0x403701
fxch st(2)
fucom st(1)
fstp st(1)
fnstsw ax
sahf
fldz
fxch st(1)
fxch st(2)
jbe 0x403701
fstp st(0)
fstp st(0)
mov dword [esp + 8], ecx
mov esi, edx
mov ecx, 6
mov eax, dword [esp + 0x14]
cmp eax, 0xffffffff
je 0x402432
mov ecx, eax
sub esp, 0x18
fstp qword [esp + 8]
lea eax, [esp + 0x5c]
mov dword [esp + 4], eax
lea eax, [esp + 0x7c]
mov dword [esp], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x10], ecx
lea ecx, [esp + 0x30]
lea edx, [esp + 0x3c]
call fcn.00403770
add esp, 0x18
test eax, eax
je 0x40246c
or dword [esp + 8], 0x80
mov edx, esi
mov byte [esp + 0x3c], 0
mov byte [esp + 0x48], 0
mov al, 0x2d
cmp byte [esp + 8], 0
js 0x402493
mov al, 0x20
test byte [esp + 8], 4
jne 0x402493
mov al, 0x2b
test byte [esp + 8], 2
je 0x40249c
mov byte [esp + 0x48], 1
mov byte [esp + 0x49], al
mov ecx, dword [esp + 0x44]
cmp ecx, 0x7000
jne 0x4024bd
mov dword [esp + 0x20], edx
mov dword [esp + 0xc], 0
mov edx, dword [esp + 0x18]
jmp 0x40298d
test ecx, ecx
jle 0x402568
xor esi, esi
test byte [esp + 8], 0x40
je 0x4024e5
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 0x40264a
xor eax, eax
lea ecx, [esp + 0xa4]
mov dword [esp + 0xc], ecx
jmp 0x402532
mov edx, dword [esp + 0xc]
mov ecx, dword [esp + 0x18]
movzx ecx, byte [ecx + eax]
lea esi, [edx + 1]
mov dword [esp + 0xc], esi
mov byte [edx], cl
inc eax
mov ecx, dword [esp + 0x44]
cmp eax, ecx
jae 0x4026ac
test byte [esp + 8], 0x40
je 0x402510
mov ecx, dword [esp + 4]
inc ecx
mov dword [esp + 4], ecx
cmp ecx, 4
jne 0x402510
mov ecx, dword [esp + 8]
and ecx, 0x40
shr ecx, 6
mov dword [esp + 4], ecx
movzx ecx, byte [0x44b001]
xor cl, 0x90
mov edx, dword [esp + 0xc]
mov byte [edx], cl
inc edx
jmp 0x402514
mov byte [esp + 0xa4], 0x30
lea edx, [esp + 0xa5]
mov esi, dword [esp + 0x1c]
test esi, esi
je 0x40259f
movzx eax, byte [section..data]
mov edx, eax
add dl, al
and dl, 0x32
sub al, dl
add al, 0x19
mov byte [esp + 0xa5], al
lea edx, [esp + 0xa6]
neg ecx
mov eax, esi
cmp esi, ecx
jl 0x4025a9
mov esi, ecx
test esi, esi
mov dword [esp + 4], esi
je 0x4025e6
mov eax, edx
and eax, 3
je 0x4025e6
mov ebx, edx
not ebx
and ebx, 3
dec esi
cmp ebx, esi
jb 0x4025c6
mov ebx, esi
lea eax, [ebx + 1]
push eax
push 0x30
push edx
mov dword [esp + 0x20], edx
call fcn.0040c7a0
mov edx, dword [esp + 0x20]
add esp, 0xc
add edx, ebx
inc edx
sub esi, ebx
mov ebx, dword [esp + 0x30]
cmp esi, 4
jl 0x402627
mov eax, esi
cmp esi, 7
jl 0x4025f7
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 + 0x20], edx
call fcn.0040c7a0
mov edx, dword [esp + 0x20]
add esp, 0xc
add edx, ebx
add edx, 4
sub esi, ebx
add esi, 0xfffffffc
mov ebx, dword [esp + 0x30]
test esi, esi
je 0x4027e6
push esi
push 0x30
push edx
mov dword [esp + 0x20], edx
call fcn.0040c7a0
add esp, 0xc
mov eax, dword [esp + 0x14]
add eax, esi
jmp 0x4027e8
xor ecx, ecx
lea edx, [esp + 0xa4]
jmp 0x402693
mov eax, dword [esp + 8]
and eax, 0x40
shr eax, 6
mov dword [esp + 4], eax
movzx eax, byte [0x44b001]
xor al, 0x90
mov byte [edx], al
inc edx
mov esi, edx
mov eax, dword [esp + 0x18]
movzx eax, byte [eax + ebx]
inc edx
mov byte [esi], al
mov eax, ebx
and eax, 1
mov ecx, ebx
xor ecx, 1
lea ecx, [ecx + eax*2]
cmp ecx, dword [esp + 0x24]
jae 0x402758
mov ebx, ecx
test byte [esp + 8], 0x40
je 0x40266f
mov eax, dword [esp + 4]
inc eax
cmp eax, 4
je 0x402655
mov dword [esp + 4], eax
jmp 0x40266f
mov esi, dword [esp + 0xc]
mov dword [esp + 0x14], esi
cmp dword [esp + 0x1c], 0
je 0x4026dc
movzx ecx, byte [section..data]
mov ch, cl
add ch, cl
and ch, 0x32
sub cl, ch
add cl, 0x19
mov byte [edx + 1], cl
add edx, 2
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x14], edx
mov esi, dword [esp + 0x24]
mov dword [esp + 4], esi
sub esi, ecx
mov edx, dword [esp + 0x1c]
cmp esi, edx
mov esi, edx
mov edx, dword [esp + 4]
jbe 0x4026fb
lea edx, [ecx + esi]
mov dword [esp + 0x24], edx
mov dword [esp + 4], edx
cmp eax, edx
mov edx, dword [esp + 0x14]
jae 0x402730
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [esp + 0x18]
movzx ecx, byte [ecx + eax]
mov byte [edx], cl
inc eax
inc edx
mov ecx, dword [esp + 0x24]
cmp eax, ecx
jb 0x402710
mov dword [esp + 4], ecx
mov dword [esp + 0x14], edx
mov ecx, dword [esp + 0x44]
lea eax, [esp + 0xa4]
mov edx, dword [esp + 0xc]
sub edx, eax
add edx, 0x3000000
sub esi, dword [esp + 4]
add esi, ecx
mov ecx, edx
mov dword [esp + 0x1c], esi
mov edx, dword [esp + 0x14]
jmp 0x402a4f
mov dword [esp + 0xc], esi
mov eax, dword [esp + 0x44]
mov esi, eax
sub esi, ecx
mov dword [esp + 0x10], esi
jbe 0x4027d7
test byte [esp + 8], 0x40
jne 0x40290c
cmp dword [esp + 0x10], 0
je 0x40299c
mov ecx, edx
and ecx, 3
je 0x40299c
mov esi, 2
sub esi, dword [esp + 0xc]
and esi, 3
mov ecx, ebx
xor ecx, 0xfffffffe
add ecx, eax
add ebx, ebx
and ebx, 2
mov dword [esp + 0x10], ecx
mov eax, ecx
sub eax, ebx
cmp esi, eax
jb 0x4027b1
mov esi, eax
lea eax, [esi + 1]
push eax
push 0x30
push edx
call fcn.0040c7a0
add esp, 0xc
mov eax, dword [esp + 0xc]
lea edx, [eax + esi]
add edx, 2
add ebx, esi
mov eax, dword [esp + 0x10]
sub eax, ebx
jmp 0x4029a0
mov esi, edx
mov ecx, dword [esp + 0x20]
mov ebx, dword [esp + 0x30]
jmp 0x4029ea
mov eax, edx
mov esi, dword [esp + 0x24]
mov ecx, dword [esp + 4]
add ecx, esi
mov edx, dword [esp + 0x1c]
cmp ecx, edx
jle 0x402804
mov esi, edx
sub esi, dword [esp + 4]
mov dword [esp + 0x24], esi
mov dword [esp + 0x10], esi
test esi, esi
je 0x4028f4
mov esi, edx
cmp edx, ecx
jl 0x402818
mov esi, ecx
mov edx, dword [esp + 0x10]
mov ecx, edx
and ecx, 3
je 0x40289c
mov dword [esp + 0xc], esi
xor esi, esi
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 0x402830
mov edx, eax
add edx, esi
mov eax, edx
mov ecx, dword [esp + 0x10]
sub ecx, esi
mov ebx, dword [esp + 0x30]
mov edx, dword [esp + 4]
mov esi, dword [esp + 0xc]
jmp 0x4028a2
mov byte [esp + 0x3c], 3
or al, 0x30
mov byte [esp + 0x3f], al
add dword [esp + 0x2c], 8
mov eax, ebx
sub eax, dword [esp + 0x10]
mov dword [esp + 0x44], eax
lea eax, [esp + 0xa4]
sub ebx, eax
mov dword [esp + 0x24], ebx
xor esi, esi
mov dword [esp + 0xc], 0x3000001
mov edx, eax
mov ebx, dword [esp + 0x30]
jmp 0x402aed
mov ecx, edx
mov edx, dword [esp + 4]
sub edx, esi
cmp edx, 0xfffffffc
ja 0x4028f4
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 0x4028a9
mov ecx, dword [esp + 4]
add ecx, dword [esp + 0x10]
sub dword [esp + 0x1c], ecx
mov ecx, 0x3000001
mov edx, eax
jmp 0x402a4f
mov esi, edx
mov ecx, dword [esp + 0x20]
mov ebx, dword [esp + 0x30]
jmp 0x4029df
mov ecx, esi
cmp ecx, 4
jb 0x40294e
mov edx, dword [eax]
mov esi, edx
not esi
add edx, 0xfefefeff
and edx, esi
test edx, 0x80808080
jne 0x402952
add eax, 4
mov edx, ecx
and edx, 0xfffffffb
add edx, edx
xor ecx, 4
sub edx, ecx
mov ecx, edx
cmp edx, 3
ja 0x402922
test ecx, ecx
je 0x402960
lea edx, [eax + ecx]
cmp byte [eax], 0
je 0x402960
inc eax
dec ecx
jne 0x402955
mov eax, edx
mov edx, eax
add dword [esp + 0x2c], 4
mov eax, dword [esp + 4]
sub edx, eax
mov dword [esp + 0x24], edx
mov edx, eax
mov byte [esp + 0x48], 0
mov byte [esp + 0x3c], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x1c], 0
xor esi, esi
jmp 0x402aed
mov eax, dword [esp + 0x10]
cmp eax, 4
mov ecx, dword [esp + 0x20]
mov ebx, dword [esp + 0x30]
mov dword [esp + 0x10], eax
jb 0x4029dd
mov dword [esp + 0x20], ecx
mov esi, eax
and esi, 0xfffffffc
push esi
push 0x30
push edx
mov dword [esp + 0x20], edx
call fcn.0040c7a0
add esp, 0xc
mov eax, dword [esp + 0x14]
add eax, esi
mov esi, eax
mov ecx, dword [esp + 0x20]
and dword [esp + 0x10], 3
jmp 0x4029df
mov esi, edx
mov eax, dword [esp + 4]
cmp dword [esp + 0x10], 0
jne 0x402a25
mov dword [esp + 0x20], ecx
mov ecx, esi
lea eax, [esp + 0xa4]
sub ecx, eax
add ecx, 0x3000000
cmp dword [esp + 0x1c], 0
je 0x402a45
movzx eax, byte [section..data]
xor al, 0x19
mov byte [esi], al
inc esi
jmp 0x402a4d
mov byte [esi], 0x30
mov edx, dword [esp + 0x10]
dec edx
inc esi
mov dword [esp + 0x10], edx
test edx, edx
je 0x4029ea
test byte [esp + 8], 0x40
je 0x402a14
inc eax
cmp eax, 4
jne 0x402a14
movzx eax, byte [0x44b001]
xor al, 0x90
mov byte [esi], al
xor eax, eax
mov edx, dword [esp + 0x10]
jmp 0x402a1c
mov dword [esp + 0x1c], 0
mov edx, esi
mov esi, dword [esp + 8]
test esi, 0x100
mov dword [esp + 0xc], ecx
je 0x402adc
mov eax, esi
and eax, 0x400
sete byte [esp + 0x3c]
mov byte [esp + 0x3d], 0x20
cmp esi, 0x1000000
jb 0x402adc
mov dword [esp + 0x14], edx
mov ecx, esi
shr ecx, 0x18
mov ebx, eax
shr ebx, 0xa
mov edx, 2
sub edx, ebx
cmp eax, 1
mov eax, 0
adc al, 1
test esi, 0x800
jne 0x402aac
movzx ecx, byte [ecx + str._kMGT]
mov byte [esp + edx + 0x3c], cl
jmp 0x402ad0
movzx ecx, byte [ecx + str._KMGT]
mov byte [esp + edx + 0x3c], cl
mov ecx, esi
and ecx, 0x1800
cmp ecx, 0x800
jne 0x402ad0
movzx eax, al
mov byte [esp + eax + 0x3d], 0x69
inc eax
mov ebx, dword [esp + 0x30]
mov edx, dword [esp + 0x14]
mov byte [esp + 0x3c], al
lea eax, [esp + 0xa4]
sub edx, eax
mov dword [esp + 0x24], edx
xor esi, esi
mov edx, eax
mov dword [esp + 4], edx
mov ecx, dword [esp + 0x24]
cmp esi, ecx
jg 0x402afb
mov esi, ecx
movsx eax, byte [esp + 0x48]
movsx edx, byte [esp + 0x3c]
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x14], esi
add edx, esi
add edx, eax
add edx, dword [esp + 0x10]
mov esi, dword [esp + 0x50]
cmp esi, edx
jg 0x402b23
mov esi, edx
sub esi, edx
mov edx, esi
sub dword [esp + 0x14], ecx
mov ecx, dword [esp + 8]
test cl, 1
jne 0x402b46
test cl, 0x10
mov esi, dword [esp + 0x28]
jne 0x402b4e
and ecx, 0xffffffae
mov dword [esp + 8], ecx
jmp 0x402b4a
mov esi, dword [esp + 0x28]
mov ecx, edx
jmp 0x402b5e
mov ecx, dword [esp + 0x14]
cmp edx, ecx
jg 0x402b58
mov edx, ecx
mov dword [esp + 0x14], edx
xor ecx, ecx
mov dword [esp + 0x50], ecx
add ecx, dword [esp + 0x14]
jne 0x402b71
mov edx, dword [esp + 4]
jmp 0x403050
mov edx, dword [esp + 8]
mov ecx, edx
xor ecx, 0xfffffffe
or edx, 1
test edx, ecx
jne 0x402cc9
mov ecx, dword [esp + 0x50]
test ecx, ecx
jg 0x402bae
jmp 0x402cc9
mov ecx, dword [esp + 0x50]
sub ecx, edx
test ecx, ecx
jle 0x402cc0
mov eax, esi
sub eax, edi
add eax, 0x200
mov edx, ecx
cmp ecx, eax
jl 0x402bbf
mov edx, eax
cmp dword [ebp + 8], 0
jne 0x402bc7
mov edx, ecx
test edx, edx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x10], edx
mov dword [esp + 0x28], esi
je 0x402c20
mov eax, edi
and eax, 3
je 0x402c20
mov esi, edi
not esi
and esi, 3
lea ebx, [edx - 1]
cmp esi, ebx
jb 0x402bee
mov esi, ebx
lea eax, [esi + 1]
push eax
push 0x20
push edi
call fcn.0040c7a0
mov ecx, ebx
add esp, 0xc
add edi, esi
inc edi
sub ecx, esi
mov esi, dword [esp + 0x28]
mov edx, dword [esp + 0x10]
cmp ecx, 4
jge 0x402c27
jmp 0x402c63
mov ecx, edx
cmp ecx, 4
jl 0x402c63
mov eax, ecx
cmp ecx, 7
jl 0x402c33
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.0040c7a0
mov ecx, ebx
add esp, 0xc
add edi, esi
add edi, 4
sub ecx, esi
add ecx, 0xfffffffc
mov esi, dword [esp + 0x28]
mov edx, dword [esp + 0x10]
test ecx, ecx
je 0x402c7f
push ecx
push 0x20
push edi
mov ebx, esi
mov esi, ecx
call fcn.0040c7a0
mov edx, dword [esp + 0x1c]
add esp, 0xc
add edi, esi
mov esi, ebx
cmp dword [ebp + 8], 0
je 0x402ba0
mov eax, edi
sub eax, esi
lea ecx, [eax + 1]
cmp ecx, 0x200
jl 0x402ba0
add dword [esp + 0x20], eax
push eax
push dword [ebp + 0xc]
push esi
call dword [ebp + 8]
add esp, 0xc
test eax, eax
je 0x40374c
mov edi, eax
mov esi, eax
mov edx, dword [esp + 0x10]
jmp 0x402ba0
mov dword [esp + 0x50], ecx
movzx eax, byte [esp + 0x48]
lea ecx, [esp + 0x49]
mov dword [esp + 0x18], ecx
jmp 0x402ce9
mov edi, eax
mov esi, eax
movzx eax, byte [esp + 0x48]
test al, al
je 0x402dfd
movsx ecx, al
mov eax, ecx
cmp dword [ebp + 8], 0
je 0x402d0b
mov eax, esi
sub eax, edi
add eax, 0x200
cmp eax, ecx
jl 0x402d0b
mov eax, ecx
sub cl, al
mov byte [esp + 0x48], cl
test eax, eax
je 0x402dab
mov ecx, eax
and ecx, 3
je 0x402df0
mov ebx, eax
mov dword [esp + 0x28], esi
xor edx, edx
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 0x402d30
add edi, edx
mov eax, ebx
mov ecx, ebx
sub ecx, edx
mov esi, dword [esp + 0x28]
cmp eax, 4
jb 0x402dab
nop
nop
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 0x402d60
cmp dword [ebp + 8], 0
je 0x402ce4
mov eax, edi
sub eax, esi
lea ecx, [eax + 1]
cmp ecx, 0x200
jl 0x402ce4
add dword [esp + 0x20], eax
push eax
push dword [ebp + 0xc]
push esi
call dword [ebp + 8]
add esp, 0xc
test eax, eax
jne 0x402ce0
jmp 0x40374c
mov ecx, eax
cmp eax, 4
jae 0x402d60
jmp 0x402dab
mov dword [esp + 0x28], esi
mov eax, dword [esp + 0xc]
mov ecx, eax
shr ecx, 0x18
mov dword [esp + 0x10], ecx
xor esi, esi
test byte [esp + 8], 0x40
je 0x402e2d
and eax, 0xffffff
add eax, dword [esp + 0x14]
mov esi, dword [esp + 0x10]
lea ecx, [esi + 1]
xor edx, edx
div ecx
sub esi, edx
mov ebx, dword [esp + 0x14]
test ebx, ebx
mov edx, dword [esp + 4]
jle 0x4036f0
mov dword [esp + 0xc], ebx
jmp 0x402e72
mov ebx, dword [esp + 0x14]
mov eax, ebx
not eax
mov ecx, dword [esp + 0xc]
and eax, ecx
not ecx
and ecx, ebx
sub ecx, eax
mov ebx, ecx
mov dword [esp + 0xc], ecx
test ecx, ecx
jle 0x403043
cmp dword [ebp + 8], 0
je 0x402e8f
mov eax, dword [esp + 0x28]
sub eax, edi
add eax, 0x200
mov dword [esp + 0xc], ebx
cmp ebx, eax
jl 0x402e8f
mov dword [esp + 0xc], eax
test byte [esp + 8], 0x40
mov dword [esp + 0x14], ebx
jne 0x402ef0
cmp dword [esp + 0xc], 0
je 0x402f00
mov eax, edi
and eax, 3
je 0x402f00
mov ecx, edi
not ecx
and ecx, 3
mov eax, dword [esp + 0xc]
lea ebx, [eax - 1]
cmp ecx, ebx
jb 0x402ebc
mov ecx, ebx
mov dword [esp + 0x38], ecx
lea eax, [ecx + 1]
push eax
push 0x30
push edi
call fcn.0040c7a0
add esp, 0xc
mov eax, dword [esp + 0x38]
add edi, eax
inc edi
sub ebx, eax
mov edx, dword [esp + 4]
cmp ebx, 4
jge 0x402f09
jmp 0x402f44
mov ebx, dword [esp + 0xc]
jmp 0x402f44
mov ebx, dword [esp + 0xc]
cmp ebx, 4
jl 0x402f44
mov eax, ebx
cmp ebx, 7
jl 0x402f15
mov eax, 7
neg eax
add eax, ebx
add eax, 3
and eax, 0xfffffffc
mov dword [esp + 0x38], eax
add eax, 4
push eax
push 0x30
push edi
call fcn.0040c7a0
add esp, 0xc
mov eax, dword [esp + 0x38]
add edi, eax
add edi, 4
sub ebx, eax
add ebx, 0xfffffffc
mov edx, dword [esp + 4]
test ebx, ebx
je 0x402f90
test bl, 1
jne 0x402f60
mov eax, ebx
cmp ebx, 1
jne 0x402fef
jmp 0x402f90
mov al, 0x30
test byte [esp + 8], 0x40
je 0x402f7d
cmp esi, dword [esp + 0x10]
jne 0x402f7c
movzx eax, byte [0x44b001]
xor al, 0x90
xor esi, esi
jmp 0x402f7d
inc esi
mov byte [edi], al
inc edi
lea eax, [ebx - 1]
cmp ebx, 1
jne 0x402fef
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [ebp + 8], 0
je 0x402e50
mov eax, edi
mov ecx, dword [esp + 0x28]
sub eax, ecx
cmp eax, 0x1ff
jl 0x402e50
add dword [esp + 0x20], eax
push eax
push dword [ebp + 0xc]
push ecx
call dword [ebp + 8]
add esp, 0xc
test eax, eax
je 0x40374c
mov edi, eax
mov dword [esp + 0x28], eax
mov edx, dword [esp + 4]
jmp 0x402e50
mov edx, dword [esp + 4]
mov byte [edi + 1], cl
add edi, 2
add eax, 0xfffffffe
je 0x402f90
mov cl, 0x30
test byte [esp + 8], 0x40
je 0x403011
cmp esi, dword [esp + 0x10]
jne 0x403010
movzx edx, byte [0x44b001]
xor dl, 0x90
xor esi, esi
jmp 0x403013
inc esi
mov dl, 0x30
mov byte [edi], dl
test byte [esp + 8], 0x40
je 0x402fe0
cmp esi, dword [esp + 0x10]
mov edx, dword [esp + 4]
jne 0x403040
movzx ecx, byte [0x44b001]
xor cl, 0x90
xor esi, esi
jmp 0x402fe4
inc esi
jmp 0x402fe4
movzx eax, byte [esp + 0x48]
mov esi, dword [esp + 0x28]
mov ebx, dword [esp + 0x30]
lea ecx, [esp + 0x49]
mov dword [esp + 0x18], ecx
jmp 0x40306d
mov edi, eax
mov esi, eax
mov edx, dword [esp + 4]
movzx eax, byte [esp + 0x48]
test al, al
je 0x40318d
movsx edx, al
mov ecx, esi
sub ecx, edi
add ecx, 0x200
cmp ecx, edx
jl 0x403088
mov ecx, edx
cmp dword [ebp + 8], 0
jne 0x403090
mov ecx, edx
sub al, cl
mov byte [esp + 0x48], al
test ecx, ecx
je 0x40313b
mov eax, ecx
and eax, 3
je 0x403180
mov ebx, ecx
mov dword [esp + 0x28], esi
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov esi, dword [esp + 0x18]
lea ecx, [esi + 1]
mov dword [esp + 0x18], ecx
movzx ecx, byte [esi]
mov byte [edi + edx], cl
inc edx
cmp eax, edx
jne 0x4030c0
add edi, edx
mov ecx, ebx
mov eax, ebx
sub eax, edx
mov esi, dword [esp + 0x28]
mov ebx, dword [esp + 0x30]
cmp ecx, 4
jb 0x40313b
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 0x4030f0
cmp dword [ebp + 8], 0
je 0x403064
mov eax, edi
sub eax, esi
lea ecx, [eax + 1]
cmp ecx, 0x200
jl 0x403064
add dword [esp + 0x20], eax
push eax
push dword [ebp + 0xc]
push esi
call dword [ebp + 8]
add esp, 0xc
test eax, eax
jne 0x403060
jmp 0x40374c
mov eax, ecx
cmp ecx, 4
jae 0x4030f0
jmp 0x40313b
mov dword [esp + 0x28], esi
mov ecx, dword [esp + 0x24]
test ecx, ecx
jne 0x403414
mov ecx, dword [esp + 0x1c]
test ecx, ecx
mov esi, dword [esp + 0x28]
jne 0x4032ec
lea eax, [esp + 0x3d]
mov dword [esp + 0x18], eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ecx, byte [esp + 0x3c]
test cl, cl
je 0x4035cd
movsx edx, cl
mov eax, esi
sub eax, edi
add eax, 0x200
cmp eax, edx
jl 0x4031df
mov eax, edx
cmp dword [ebp + 8], 0
jne 0x4031e7
mov eax, edx
sub cl, al
mov byte [esp + 0x3c], cl
test eax, eax
je 0x40328b
mov ecx, eax
and ecx, 3
je 0x4032d0
mov dword [esp + 0x28], esi
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov esi, dword [esp + 0x18]
lea ebx, [esi + 1]
mov dword [esp + 0x18], ebx
movzx ebx, byte [esi]
mov byte [edi + edx], bl
inc edx
cmp ecx, edx
jne 0x403210
add edi, edx
mov ecx, eax
sub ecx, edx
mov esi, dword [esp + 0x28]
mov ebx, dword [esp + 0x30]
cmp eax, 4
jb 0x40328b
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 0x403240
cmp dword [ebp + 8], 0
je 0x4031c0
mov eax, edi
sub eax, esi
cmp eax, 0x1ff
jl 0x4031c0
add dword [esp + 0x20], eax
push eax
push dword [ebp + 0xc]
push esi
call dword [ebp + 8]
add esp, 0xc
test eax, eax
je 0x40374c
mov edi, eax
mov esi, eax
jmp 0x4031c0
mov ecx, eax
cmp eax, 4
jae 0x403240
jmp 0x40328b
mov ecx, dword [esp + 0x1c]
sub ecx, edx
je 0x4031ad
mov eax, esi
sub eax, edi
add eax, 0x200
mov edx, ecx
mov dword [esp + 0x1c], ecx
cmp ecx, eax
jl 0x403301
mov edx, eax
cmp dword [ebp + 8], 0
jne 0x40330b
mov edx, dword [esp + 0x1c]
test edx, edx
mov dword [esp + 4], edx
mov dword [esp + 0x28], esi
je 0x403360
mov eax, edi
and eax, 3
je 0x403360
mov ebx, edi
not ebx
and ebx, 3
lea esi, [edx - 1]
cmp ebx, esi
jb 0x40332e
mov ebx, esi
lea eax, [ebx + 1]
push eax
push 0x30
push edi
call fcn.0040c7a0
add esp, 0xc
sub esi, ebx
add edi, ebx
inc edi
mov ebx, dword [esp + 0x30]
mov edx, dword [esp + 4]
cmp esi, 4
jge 0x403367
jmp 0x40339f
mov esi, edx
cmp esi, 4
jl 0x40339f
mov eax, esi
cmp esi, 7
jl 0x403373
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.0040c7a0
add esp, 0xc
add edi, ebx
add edi, 4
sub esi, ebx
add esi, 0xfffffffc
mov ebx, dword [esp + 0x30]
mov edx, dword [esp + 4]
test esi, esi
je 0x4033b5
push esi
push 0x30
push edi
call fcn.0040c7a0
mov edx, dword [esp + 0x10]
add esp, 0xc
add edi, esi
mov esi, dword [esp + 0x28]
cmp dword [ebp + 8], 0
je 0x4032e0
mov eax, edi
sub eax, esi
lea ecx, [eax + 1]
cmp ecx, 0x200
jl 0x4032e0
add dword [esp + 0x20], eax
push eax
push dword [ebp + 0xc]
push esi
call dword [ebp + 8]
add esp, 0xc
test eax, eax
je 0x40374c
mov edi, eax
mov esi, eax
mov edx, dword [esp + 4]
jmp 0x4032e0
mov edx, ebx
mov ebx, esi
mov esi, dword [esp + 4]
mov ecx, dword [esp + 0x10]
sub ecx, esi
je 0x40319d
mov eax, dword [esp + 0x28]
sub eax, edi
add eax, 0x200
mov esi, ecx
cmp ecx, eax
jl 0x403427
mov esi, eax
cmp dword [ebp + 8], 0
jne 0x40342f
mov esi, ecx
cmp esi, 4
mov dword [esp + 4], esi
mov dword [esp + 0x10], ecx
jl 0x403490
lea eax, [esi - 4]
mov dword [esp + 0xc], eax
shr eax, 2
inc eax
and eax, 7
je 0x403494
shl eax, 2
mov ebx, edx
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [ebx + edx]
mov dword [edi + edx], ecx
add edx, 4
cmp eax, edx
jne 0x403460
add edi, edx
mov esi, dword [esp + 4]
mov ecx, esi
sub ecx, edx
add ebx, edx
mov eax, ecx
mov edx, ebx
mov ebx, dword [esp + 0x30]
cmp dword [esp + 0xc], 0x1c
jae 0x4034a0
jmp 0x4034e1
mov eax, esi
jmp 0x4034e1
mov ecx, esi
cmp dword [esp + 0xc], 0x1c
jb 0x4034e1
nop
nop
nop
mov eax, dword [edx]
mov dword [edi], eax
mov eax, dword [edx + 4]
mov dword [edi + 4], eax
mov eax, dword [edx + 8]
mov dword [edi + 8], eax
mov eax, dword [edx + 0xc]
mov dword [edi + 0xc], eax
mov eax, dword [edx + 0x10]
mov dword [edi + 0x10], eax
mov eax, dword [edx + 0x14]
mov dword [edi + 0x14], eax
mov eax, dword [edx + 0x18]
mov dword [edi + 0x18], eax
mov eax, dword [edx + 0x1c]
mov dword [edi + 0x1c], eax
add edi, 0x20
add edx, 0x20
lea eax, [ecx - 0x20]
add ecx, 0xffffffdc
cmp ecx, 0xfffffff8
mov ecx, eax
jb 0x4034a0
test eax, eax
je 0x403571
mov ecx, eax
and ecx, 7
je 0x4035c0
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 0x403500
add edi, edx
mov ecx, eax
sub ecx, edx
add esi, edx
mov ebx, dword [esp + 0x30]
mov edx, esi
mov esi, dword [esp + 4]
cmp eax, 8
jb 0x403571
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx eax, byte [edx]
mov byte [edi], al
movzx eax, byte [edx + 1]
mov byte [edi + 1], al
movzx eax, byte [edx + 2]
mov byte [edi + 2], al
movzx eax, byte [edx + 3]
mov byte [edi + 3], al
movzx eax, byte [edx + 4]
mov byte [edi + 4], al
movzx eax, byte [edx + 5]
mov byte [edi + 5], al
movzx eax, byte [edx + 6]
mov byte [edi + 6], al
movzx eax, byte [edx + 7]
add edx, 8
mov byte [edi + 7], al
add edi, 8
add ecx, 0xfffffff8
jne 0x403530
cmp dword [ebp + 8], 0
je 0x403408
mov esi, ebx
mov ebx, edx
mov eax, edi
mov edx, dword [esp + 0x28]
sub eax, edx
lea ecx, [eax + 1]
cmp ecx, 0x200
jl 0x403400
add dword [esp + 0x20], eax
push eax
push dword [ebp + 0xc]
push edx
call dword [ebp + 8]
add esp, 0xc
test eax, eax
je 0x40374c
mov edi, eax
mov dword [esp + 0x28], eax
jmp 0x403400
mov ecx, eax
cmp eax, 8
jae 0x403530
jmp 0x403571
test byte [esp + 8], 1
je 0x4035de
mov ecx, dword [esp + 0x50]
test ecx, ecx
jle 0x4035de
jne 0x403604
inc ebx
jmp 0x40103b
mov edx, dword [esp + 8]
mov eax, edx
xor eax, ecx
not edx
and edx, ecx
add edx, edx
sub edx, eax
mov ecx, edx
je 0x4035de
mov eax, esi
sub eax, edi
add eax, 0x200
mov edx, ecx
cmp ecx, eax
jl 0x403615
mov edx, eax
cmp dword [ebp + 8], 0
jne 0x40361d
mov edx, ecx
test edx, edx
mov dword [esp + 0x50], ecx
mov dword [esp + 8], edx
je 0x403670
mov eax, edi
and eax, 3
je 0x403670
mov dword [esp + 0x28], esi
mov esi, edi
not esi
and esi, 3
lea ebx, [edx - 1]
cmp esi, ebx
jb 0x403644
mov esi, ebx
lea eax, [esi + 1]
push eax
push 0x20
push edi
call fcn.0040c7a0
add esp, 0xc
add edi, esi
inc edi
sub ebx, esi
mov esi, dword [esp + 0x28]
mov ecx, dword [esp + 0x50]
cmp ebx, 4
jl 0x40369d
jmp 0x403680
mov ebx, edx
cmp ebx, 4
jl 0x40369d
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov dword [edi], 0x20202020
add edi, 4
mov eax, ebx
not eax
and eax, 4
and ebx, 0x7ffffffb
sub ebx, eax
cmp ebx, 3
jg 0x403680
test ebx, ebx
je 0x4036b3
push ebx
push 0x20
push edi
call fcn.0040c7a0
mov ecx, dword [esp + 0x5c]
add esp, 0xc
add edi, ebx
mov ebx, dword [esp + 0x30]
cmp dword [ebp + 8], 0
je 0x4035f0
mov eax, edi
sub eax, esi
cmp eax, 0x1ff
jl 0x4035f0
add dword [esp + 0x20], eax
push eax
push dword [ebp + 0xc]
push esi
call dword [ebp + 8]
add esp, 0xc
test eax, eax
je 0x40374c
mov edi, eax
mov esi, eax
mov ecx, dword [esp + 0x50]
jmp 0x4035f0
lea eax, [esp + 0x49]
mov dword [esp + 0x18], eax
mov ebx, dword [esp + 0x30]
jmp 0x403191
fstp st(1)
fdivp st(1)
or dword [esp + 8], 0x4000000
jmp 0x402420
cmp dword [ebp + 8], 0
je 0x403752
mov eax, edi
sub eax, esi
mov ecx, eax
and ecx, 0x1ff
mov edx, eax
xor edx, 0x1ff
lea ecx, [edx + ecx*2]
cmp ecx, 0x200
jl 0x403755
add dword [esp + 0x20], eax
push eax
push dword [ebp + 0xc]
push esi
call dword [ebp + 8]
add esp, 0xc
mov edi, eax
mov esi, eax
jmp 0x403755
xor edi, edi
xor esi, esi
jmp 0x403755
mov byte [edi], 0
mov eax, dword [esp + 0x20]
add eax, edi
sub eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret