Function at 0x401000
Capabilities:
Authenticate hmac
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, 0x260
mov eax, dword [ebp + 0x18]
mov dword [esp + 0x24], eax
mov eax, dword [ebp + 0x14]
mov edi, dword [ebp + 0x10]
mov dword [esp + 0x48], 0
mov esi, edi
test al, 3
je 0x40109e
nop
nop
nop
nop
nop
nop
mov dword [esp + 0x4c], eax
movzx eax, byte [eax]
cmp al, 0x25
je 0x401129
test al, al
je 0x403570
cmp dword [ebp + 8], 0
je 0x401092
mov ecx, edi
sub ecx, esi
mov edx, ecx
and edx, 1
mov ebx, esi
mov esi, ecx
xor esi, 1
lea edx, [esi + edx*2]
cmp edx, 0x200
jl 0x401090
add dword [esp + 0x48], ecx
push ecx
push dword [ebp + 0xc]
push ebx
call dword [ebp + 8]
add esp, 0xc
test eax, eax
je 0x403593
mov edi, eax
mov eax, dword [esp + 0x4c]
movzx eax, byte [eax]
mov esi, edi
jmp 0x401092
mov esi, ebx
mov byte [edi], al
inc edi
mov eax, dword [esp + 0x4c]
inc eax
test al, 3
jne 0x401030
mov dword [esp + 0x1c], esi
mov ecx, esi
mov ebx, edi
sub ecx, edi
add ecx, 0x200
jmp 0x4010c1
mov dword [edi], eax
add edi, 4
mov ebx, edi
mov eax, dword [esp + 0x4c]
add eax, 4
add ecx, 0xfffffffc
mov dword [esp + 0x4c], eax
mov eax, dword [eax]
mov edi, eax
not edi
lea esi, [eax + eax]
mov edx, esi
not edx
add edx, eax
or edx, edi
and edx, 0x80808080
and esi, 0x4a4a4a4a
neg esi
add esi, eax
add esi, 0x25252525
mov edi, esi
not edi
and edi, 0x1010101
and esi, 0xfefefefe
sub esi, edi
test esi, edx
mov edi, ebx
jne 0x40111d
lea esi, [eax - 0x1010101]
test edx, esi
jne 0x4011d6
cmp dword [ebp + 8], 0
je 0x4010b0
cmp ecx, 4
jge 0x4010b0
mov esi, dword [esp + 0x1c]
cmp al, 0x25
jne 0x40103f
mov ecx, dword [esp + 0x4c]
add ecx, 2
mov dword [esp + 4], 0
jmp 0x401140
or dword [esp + 4], 1
inc ecx
movzx eax, byte [ecx - 1]
lea edx, [eax - 0x20]
cmp edx, 0x3f
ja case.0x401150.33
jmp dword [edx*4 + 0x44b564]
mov edx, dword [esp + 4]
mov eax, edx
xor eax, 4
add eax, edx
and edx, 0xfffffffb
jmp 0x401182
or dword [esp + 4], 8
inc ecx
jmp 0x401140
mov edx, dword [esp + 4]
mov eax, edx
xor eax, 0x400
add eax, edx
and edx, 0xfffffbff
sub eax, edx
inc ecx
mov dword [esp + 4], eax
jmp 0x401140
or dword [esp + 4], 0x40
inc ecx
jmp 0x401140
test dword [esp + 4], 0x100
jne 0x4011b0
or dword [esp + 4], 0x100
inc ecx
jmp 0x401140
or dword [esp + 4], 2
inc ecx
jmp 0x401140
test dword [esp + 4], 0x800
jne 0x4011c8
or dword [esp + 4], 0x900
inc ecx
jmp 0x401140
or dword [esp + 4], 0x1000
inc ecx
jmp 0x401140
mov esi, dword [esp + 0x1c]
test al, al
jne 0x401047
jmp 0x403570
or dword [esp + 4], 0x10
movzx eax, byte [ecx]
cmp al, 0x2a
jne 0x401210
mov eax, dword [esp + 0x24]
mov edx, dword [eax]
mov dword [esp + 0x2c], edx
add eax, 4
mov dword [esp + 0x24], eax
movzx eax, byte [ecx + 1]
inc ecx
jmp 0x40124f
dec ecx
cmp al, 0x2a
je 0x4011f3
mov edx, eax
add dl, 0xd0
mov dword [esp + 0x2c], 0
cmp dl, 9
ja 0x40124f
xor ebx, ebx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
lea edx, [ebx + ebx*4]
movzx eax, al
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 0x401230
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x18], 0xffffffff
cmp al, 0x2e
mov dword [esp + 0x1c], esi
jne 0x4012c3
movzx eax, byte [ecx + 1]
cmp al, 0x2a
jne 0x401281
mov eax, dword [esp + 0x24]
mov edx, dword [eax]
mov dword [esp + 0x18], edx
add eax, 4
mov dword [esp + 0x24], eax
movzx eax, byte [ecx + 2]
add ecx, 2
jmp 0x4012c3
inc ecx
mov edx, eax
add dl, 0xd0
mov dword [esp + 0x18], 0
cmp dl, 9
ja 0x4012c3
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 0x4012a0
mov dword [esp + 0x18], esi
mov esi, dword [esp + 0x1c]
movzx eax, al
add eax, 0xffffffb7
cmp eax, 0x31
ja case.0x4012ce.74
jmp dword [eax*4 + 0x44b664]
inc ecx
movzx edx, byte [ecx]
mov dword [esp + 0x4c], ecx
movzx eax, dl
add eax, 0xffffffbf
cmp eax, 0x37
ja case.0x4012f0.67
mov dword [esp + 0x28], edi
jmp dword [eax*4 + 0x44b72c]
test byte [esp + 4], 0x20
jne 0x401755
mov eax, dword [esp + 0x24]
mov ecx, dword [eax]
add eax, 4
mov dword [esp + 0x24], eax
mov dword [esp + 0x30], 0
cmp dl, 0x75
je 0x401c49
test ecx, ecx
jns 0x401c49
neg ecx
mov dword [esp + 0x10], ecx
or dword [esp + 4], 0x80
jmp 0x401c4d
movzx edx, byte [ecx + 1]
cmp dl, 0x6c
jne 0x401796
or dword [esp + 4], 0x20
add ecx, 2
jmp case.0x4012ce.74
lea eax, [ecx + 1]
movzx edx, byte [ecx + 1]
cmp edx, 0x33
je 0x401aec
cmp edx, 0x36
jne 0x401afd
cmp byte [ecx + 2], 0x34
jne 0x401af6
or dword [esp + 4], 0x20
add ecx, 3
jmp case.0x4012ce.74
cmp byte [ecx + 1], 0x68
je 0x40179c
inc ecx
or dword [esp + 4], 0x200
jmp case.0x4012ce.74
mov eax, dword [esp + 0x18]
jmp 0x4017be
mov eax, str.0123456789ABCDEFXP
cmp dl, 0x45
je 0x4013b2
mov eax, str.0123456789abcdefxp
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x24]
fld qword [eax]
mov ecx, 6
mov eax, dword [esp + 0x18]
cmp eax, 0xffffffff
je 0x4013cc
mov ecx, eax
mov dword [esp + 0x14], ecx
mov eax, ecx
or eax, 0x80000000
sub esp, 0x18
mov dword [esp + 0x10], eax
fstp qword [esp + 8]
lea eax, [esp + 0x54]
mov dword [esp + 4], eax
lea eax, [esp + 0x74]
mov dword [esp], eax
lea ecx, [esp + 0x20]
lea edx, [esp + 0x38]
call fcn.004035b0
add esp, 0x18
test eax, eax
je 0x40140d
or dword [esp + 4], 0x80
add dword [esp + 0x24], 8
mov byte [esp + 0x34], 0
mov byte [esp + 0x40], 0
mov al, 0x2d
cmp byte [esp + 4], 0
js 0x401437
mov al, 0x20
test byte [esp + 4], 4
jne 0x401437
mov al, 0x2b
test byte [esp + 4], 2
je 0x401440
mov byte [esp + 0x40], 1
mov byte [esp + 0x41], al
mov ebx, dword [esp + 0x3c]
mov edx, dword [esp + 8]
cmp ebx, 0x7000
je 0x4027e6
mov dword [esp], edx
movzx ecx, byte [edx]
mov byte [esp + 0x9c], cl
lea esi, [esp + 0x9d]
cmp dword [esp + 0x14], 0
je 0x401487
movzx ecx, byte [section..data]
xor cl, 0x31
mov byte [esp + 0x9d], cl
lea esi, [esp + 0x9e]
mov eax, dword [esp + 0x20]
lea edx, [eax - 1]
cmp edx, dword [esp + 0x14]
jbe 0x40149d
mov eax, dword [esp + 0x14]
inc eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x10], eax
cmp eax, 2
jb 0x40155e
mov eax, dword [esp + 0x14]
mov ecx, eax
cmp eax, edx
jb 0x4014b6
mov ecx, edx
lea edi, [ecx - 1]
mov edx, 1
cmp edi, 7
jb 0x401535
mov dword [esp + 0x18], ebx
mov edi, ecx
and edi, 0xfffffff8
xor edx, edx
mov ebx, dword [esp]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx eax, byte [ebx + edx + 1]
mov byte [esi + edx], al
movzx eax, byte [ebx + edx + 2]
mov byte [esi + edx + 1], al
movzx eax, byte [ebx + edx + 3]
mov byte [esi + edx + 2], al
movzx eax, byte [ebx + edx + 4]
mov byte [esi + edx + 3], al
movzx eax, byte [ebx + edx + 5]
mov byte [esi + edx + 4], al
movzx eax, byte [ebx + edx + 6]
mov byte [esi + edx + 5], al
movzx eax, byte [ebx + edx + 7]
mov byte [esi + edx + 6], al
movzx eax, byte [ebx + edx + 8]
mov byte [esi + edx + 7], al
add edx, 8
cmp edi, edx
jne 0x4014e0
add esi, edx
inc edx
mov ebx, dword [esp + 0x18]
and ecx, 7
je 0x40155e
mov edi, dword [esp]
add edi, edx
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx eax, byte [edi + edx]
mov byte [esi + edx], al
inc edx
cmp ecx, edx
jne 0x401550
add esi, edx
mov eax, dword [esp + 0xc]
movzx eax, byte [eax + 0xe]
mov byte [esp + 0x35], al
mov eax, ebx
dec ebx
js 0x401f23
mov byte [esp + 0x36], 0x2b
jmp 0x401f2f
mov edi, str.0123456789ABCDEFXP
cmp dl, 0x41
je 0x40158c
mov edi, str.0123456789abcdefxp
mov dword [esp + 0x30], edx
mov ecx, 6
mov eax, dword [esp + 0x18]
cmp eax, 0xffffffff
je 0x4015a0
mov ecx, eax
mov dword [esp + 0x18], ecx
mov eax, dword [esp + 0x24]
mov edx, dword [eax + 4]
test edx, edx
jns 0x4015b7
or dword [esp + 4], 0x80
mov eax, dword [esp + 0x24]
mov esi, dword [eax]
mov al, 0x2d
cmp byte [esp + 4], 0
js 0x401708
mov al, 0x20
test byte [esp + 4], 4
jne 0x401708
mov al, 0x2b
test byte [esp + 4], 2
jne 0x401708
xor ebx, ebx
jmp 0x40170e
mov dword [esp + 0x10], str.0123456789ABCDEFXP
cmp dl, 0x42
je 0x401600
mov dword [esp + 0x10], str.0123456789abcdefxp
mov byte [esp + 0x40], 0
test byte [esp + 4], 8
je 0x401622
cmp dl, 0x42
setne al
mov word [esp + 0x40], 0x3002
shl al, 5
or al, 0x42
mov byte [esp + 0x42], al
mov dword [esp + 0x20], 0x180
mov ebx, 0x180
test byte [esp + 4], 0x20
je 0x401811
mov eax, dword [esp + 0x24]
mov edx, dword [eax]
mov ecx, dword [eax + 4]
add eax, 8
mov dword [esp + 0x24], eax
jmp 0x401820
mov eax, str.0123456789ABCDEFXP
cmp dl, 0x47
je 0x40165e
mov eax, str.0123456789abcdefxp
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x24]
fld qword [eax]
mov ecx, dword [esp + 0x18]
cmp ecx, 1
mov eax, ecx
adc eax, 0
mov esi, 6
cmp ecx, 0xffffffff
je 0x401680
mov esi, eax
lea eax, [esi - 1]
or eax, 0x80000000
sub esp, 0x18
fstp qword [esp + 8]
lea ecx, [esp + 0x54]
mov dword [esp + 4], ecx
lea ecx, [esp + 0x74]
mov dword [esp], ecx
mov dword [esp + 0x10], eax
lea ecx, [esp + 0x20]
lea edx, [esp + 0x38]
call fcn.004035b0
add esp, 0x18
test eax, eax
je 0x4016be
or dword [esp + 4], 0x80
mov eax, dword [esp + 0x20]
cmp eax, esi
jb 0x4016c8
mov eax, esi
mov dword [esp], esi
mov esi, eax
cmp eax, 2
jb 0x4017ac
mov ecx, dword [esp + 8]
mov eax, dword [esp]
nop
nop
nop
cmp byte [ecx + esi - 1], 0x30
jne 0x401fff
mov ebx, esi
dec ebx
lea edx, [eax - 1]
mov esi, ebx
cmp ebx, 2
jb 0x402001
cmp eax, 1
mov eax, edx
jne 0x4016e0
jmp 0x402001
mov byte [esp + 0x41], al
mov bl, 1
mov eax, edx
and eax, 0xfffff
sar edx, 0x14
mov ecx, edx
xor ecx, 0xfffff800
or edx, 0x7ff
and edx, ecx
mov dword [esp + 0x14], edi
je 0x401b22
add edx, 0xfffffc01
mov dword [esp + 0xc], edx
mov ecx, 0xffffffff
add esi, ecx
mov ecx, 0xfffff
adc eax, ecx
add esi, 1
adc eax, 0
jmp 0x401b37
mov ecx, dword [esp + 0x24]
lea ebx, [ecx + 8]
mov eax, dword [ecx]
mov dword [esp + 0x10], eax
mov eax, dword [ecx + 4]
cmp dl, 0x75
je 0x401c3f
test eax, eax
jns 0x401c3f
neg dword [esp + 0x10]
mov ecx, 0
sbb ecx, eax
or dword [esp + 4], 0x80
mov dword [esp + 0x30], ecx
mov dword [esp + 0x24], ebx
jmp 0x401c4d
inc ecx
jmp 0x4012d9
add ecx, 2
or dword [esp + 4], 0x200
jmp case.0x4012ce.74
mov edx, dword [esp]
jmp 0x402001
and dword [esp + 4], 0xffffffef
mov eax, 8
mov dword [esp + 0x10], str.0123456789ABCDEFXP
cmp dl, 0x58
je 0x4017d3
mov dword [esp + 0x10], str.0123456789abcdefxp
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], 0x440
mov byte [esp + 0x40], 0
mov ebx, 0x440
test byte [esp + 4], 8
je 0x401806
cmp dl, 0x58
setne al
mov word [esp + 0x40], 0x3002
shl al, 5
or al, 0x58
mov byte [esp + 0x42], al
test byte [esp + 4], 0x20
jne 0x40163a
mov eax, dword [esp + 0x24]
mov edx, dword [eax]
add eax, 4
mov dword [esp + 0x24], eax
xor ecx, ecx
mov dword [esp + 0x3c], 0
mov byte [esp + 0x34], 0
mov eax, edx
mov dword [esp + 0x14], ecx
or eax, ecx
jne 0x401847
mov byte [esp + 0x40], 0
cmp dword [esp + 0x18], 0
je 0x401b06
lea eax, [esp + 0x25c]
nop
nop
mov dword [esp], eax
mov edi, 0xffffffff
mov cl, bh
shl edi, cl
not edi
mov eax, edx
not eax
or eax, edi
add eax, edx
mov ebx, dword [esp + 0x20]
mov cl, bh
mov esi, dword [esp + 0x14]
shrd edx, esi, cl
mov ecx, dword [esp + 0x10]
movzx ecx, byte [ecx + eax + 1]
mov eax, dword [esp]
mov byte [eax - 1], cl
mov cl, bh
shr esi, cl
mov dword [esp + 0xc], ebx
test bh, 0x20
je 0x401893
mov edx, esi
xor esi, esi
mov edi, dword [esp + 0x28]
lea ebx, [eax - 1]
mov ecx, edx
mov dword [esp + 0x14], esi
or ecx, esi
jne 0x4018b3
lea ecx, [esp + 0x25c]
sub ecx, ebx
cmp ecx, dword [esp + 0x18]
jge 0x4018f5
mov dword [esp], ebx
test byte [esp + 4], 0x40
mov ebx, dword [esp + 0xc]
je 0x401853
inc ebx
mov dword [esp + 0x20], ebx
mov ecx, ebx
shr ecx, 4
xor ecx, ebx
test cl, 0xf
jne 0x401853
mov ecx, ebx
xor ecx, 0xf
or ebx, 0xfffffff0
and ebx, ecx
mov dword [esp + 0x20], ebx
movzx ecx, byte [0x44e001]
xor cl, 0x4e
mov byte [eax - 2], cl
add eax, 0xfffffffe
jmp 0x401850
mov esi, dword [esp + 0xc]
shl esi, 0x14
and esi, 0xf000000
add esi, ecx
mov dword [esp + 0xc], esi
mov dword [esp + 0x20], ecx
mov dword [esp + 0x10], 0
mov edx, ebx
mov eax, dword [esp + 0x18]
jmp 0x402905
mov byte [esp + 0x40], 0
test byte [esp + 4], 8
je 0x401932
mov word [esp + 0x40], 0x3001
mov dword [esp + 0x20], 0x330
mov dword [esp + 0x10], str.0123456789ABCDEFXP
mov ebx, 0x330
test byte [esp + 4], 0x20
je 0x401811
jmp 0x40163a
mov eax, dword [esp + 0x24]
mov eax, dword [eax]
mov edx, str.null
test eax, eax
je 0x401968
mov edx, eax
mov eax, dword [esp + 0x18]
mov ecx, eax
test eax, eax
jns 0x401977
mov ecx, 0xffffffff
test dl, 3
je 0x40233b
mov esi, eax
lea eax, [ecx + edx]
test esi, esi
je 0x4027c9
cmp byte [edx], 0
je 0x402770
mov dword [esp], edx
inc edx
lea esi, [ecx - 1]
test dl, 3
je 0x402774
test esi, esi
je 0x4027c6
cmp byte [edx], 0
je 0x4027fb
mov edx, dword [esp]
add edx, 2
lea esi, [ecx - 2]
test dl, 3
je 0x402774
test esi, esi
je 0x4027c6
cmp byte [edx], 0
je 0x4027fb
mov edx, dword [esp]
add edx, 3
lea esi, [ecx - 3]
test dl, 3
je 0x402774
test esi, esi
je 0x4027c6
cmp byte [edx], 0
je 0x4027fb
mov edx, dword [esp]
add edx, 4
add ecx, 0xfffffffc
test dl, 3
je 0x403567
test ecx, ecx
je 0x401a15
mov eax, edx
mov edi, dword [esp + 0x28]
jmp 0x4027c6
mov byte [esp + 0x25b], dl
mov dword [esp + 0x20], 1
mov byte [esp + 0x40], 0
mov byte [esp + 0x34], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0xc], 0
lea edx, [esp + 0x25b]
mov dword [esp + 4], 0
mov dword [esp + 0x10], 0
xor eax, eax
mov dword [esp + 0x2c], 0
jmp 0x402905
mov ecx, dword [esp + 0x24]
movzx eax, byte [ecx]
add ecx, 4
mov dword [esp + 0x24], ecx
mov byte [esp + 0x25b], al
mov dword [esp + 0x20], 1
mov byte [esp + 0x40], 0
mov byte [esp + 0x34], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0xc], 0
lea edx, [esp + 0x25b]
jmp 0x4027ee
mov eax, dword [esp + 0x24]
fld qword [eax]
add eax, 8
mov dword [esp + 0x24], eax
test dword [esp + 4], 0x100
jne 0x401e3e
jmp 0x4020e2
mov edx, dword [esp + 0x24]
mov eax, dword [edx]
mov ecx, dword [esp + 0x48]
sub ecx, esi
add ecx, edi
mov dword [eax], ecx
add edx, 4
mov dword [esp + 0x24], edx
jmp 0x401095
cmp byte [ecx + 2], 0x32
je 0x402135
mov ecx, eax
jmp case.0x4012ce.74
mov dword [esp + 0x4c], eax
jmp 0x4012dd
mov dword [esp + 0x20], 0
mov dword [esp + 0xc], 0
lea edx, [esp + 0x25c]
jmp 0x4027ee
xor edx, edx
mov ecx, esi
or ecx, eax
je 0x401b2f
mov edx, 0xfffffc02
mov dword [esp + 0xc], edx
mov dword [esp + 0x3c], edx
mov ecx, dword [esp + 0x18]
lea ecx, [ecx*4]
xor edi, edi
mov edx, 0x8000000
shrd edi, edx, cl
shr edx, cl
test cl, 0x20
je 0x401b57
mov edi, edx
xor edx, edx
cmp dword [esp + 0x18], 0xf
jl 0x401b62
xor edi, edi
xor edx, edx
shld eax, esi, 8
shl esi, 8
add esi, edi
adc eax, edx
movzx ecx, bl
lea edx, [esp + 0x40]
mov word [ecx + edx + 1], 0x7830
or bl, 2
mov byte [esp + 0x40], bl
mov ecx, eax
shr ecx, 0x1c
mov edx, dword [esp + 0x14]
movzx ecx, byte [edx + ecx]
mov byte [esp + 0x9c], cl
mov edx, dword [esp + 0x18]
test edx, edx
je 0x401c23
movzx ecx, byte [section..data]
xor cl, 0x31
mov byte [esp + 0x9d], cl
lea ecx, [esp + 0x9e]
mov dword [esp + 8], ecx
mov ecx, edx
cmp edx, 0xd
jb 0x401bca
mov ecx, 0xd
sub edx, ecx
jg 0x401bd0
xor edx, edx
mov dword [esp + 0x10], edx
mov edi, ecx
and edi, 3
je 0x40213d
mov dword [esp], ecx
xor edx, edx
mov ecx, dword [esp + 0x14]
nop
nop
nop
nop
nop
nop
nop
nop
mov ebx, eax
shr ebx, 0x18
and ebx, 0xf
movzx ebx, byte [ecx + ebx]
shld eax, esi, 4
mov byte [esp + edx + 0x9e], bl
shl esi, 4
inc edx
cmp edi, edx
jne 0x401bf0
lea edi, [esp + 0x9e]
lea ebx, [edi + edx]
mov ecx, dword [esp]
sub ecx, edx
jmp 0x402144
lea ebx, [esp + 0x9d]
mov dword [esp + 8], ebx
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], ebx
jmp 0x4021af
mov dword [esp + 0x30], eax
mov dword [esp + 0x24], ebx
jmp 0x401c4d
mov dword [esp + 0x10], ecx
test dword [esp + 4], 0x100
jne 0x401dfd
movzx eax, byte [0x44e001]
xor al, 0x4e
mov byte [esp + 0xc], al
mov esi, 0x200
xor edx, edx
nop
mov ebx, dword [esp + 0x10]
cmp ebx, 0x5f5e100
mov ecx, dword [esp + 0x30]
mov eax, ecx
sbb eax, 0
mov dword [esp], edx
jb 0x401cb0
push 0
push 0x5f5e100
push ecx
push ebx
call fcn.0040ca20
mov dword [esp + 0x30], edx
imul ecx, eax, 0x5f5e100
sub ebx, ecx
mov dword [esp + 0x10], eax
jmp 0x401cc0
mov dword [esp + 0x30], 0
mov dword [esp + 0x10], 0
lea eax, [esp + 0x54]
lea ecx, [eax + esi]
test byte [esp + 4], 0x40
jne 0x401d30
mov dword [esp + 0x14], ecx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ebx
mov ecx, 0x51eb851f
mul ecx
shr edx, 5
imul edi, edx, 0x64
mov eax, ebx
sub eax, edi
mov edi, eax
and edi, 0x7d
mov ecx, eax
and ecx, 2
or eax, 2
imul eax, ecx
xor ecx, 2
imul ecx, edi
movzx eax, word [ecx + eax + str.00010203040506070809101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899]
mov word [esp + esi + 0x5a], ax
add esi, 0xfffffffe
cmp ebx, 0x64
mov ebx, edx
jae 0x401ce0
mov edi, dword [esp + 0x28]
mov edx, dword [esp]
mov ecx, dword [esp + 0x14]
jmp 0x401da0
test ebx, ebx
mov edx, dword [esp]
jne 0x401d70
jmp 0x401da0
mov dword [esp + 0x14], ecx
mov dword [esp], edx
mov eax, ebx
mov ecx, 0xcccccccd
mul ecx
shr edx, 3
lea eax, [edx + edx]
lea eax, [eax + eax*4]
sub ebx, eax
or bl, 0x30
mov byte [esp + esi + 0x5b], bl
dec esi
mov ebx, edx
mov edx, dword [esp]
mov ecx, dword [esp + 0x14]
test ebx, ebx
je 0x401da0
test byte [esp + 4], 0x40
je 0x401d40
cmp edx, 3
je 0x401d83
mov dword [esp + 0x14], ecx
inc edx
jmp 0x401d44
movzx eax, byte [esp + 0xc]
mov byte [esp + esi + 0x5b], al
dec esi
dec ecx
xor edx, edx
test ebx, ebx
jne 0x401d70
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 0x10]
or eax, dword [esp + 0x30]
lea eax, [esp + esi + 0x5c]
jne 0x401dcd
jmp 0x401e85
inc edx
mov byte [esp + esi + 0x5b], 0x30
dec esi
lea eax, [esp + esi]
add eax, 0x5c
cmp eax, ecx
je 0x401c70
test byte [esp + 4], 0x40
je 0x401dc1
cmp edx, 3
jne 0x401dc0
movzx eax, byte [esp + 0xc]
mov byte [esp + esi + 0x5b], al
dec esi
dec ecx
xor edx, edx
lea eax, [esp + esi]
add eax, 0x5c
cmp eax, ecx
jne 0x401dd5
jmp 0x401c70
mov eax, 1
mov ecx, dword [esp + 0x18]
cmp ecx, 0xffffffff
je 0x401e0d
mov eax, ecx
mov dword [esp + 0x18], 0
cmp dword [esp + 0x10], 0x400
mov ecx, dword [esp + 0x30]
sbb ecx, 0
jb 0x401e2a
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x54], eax
fild qword [esp + 0x50]
xor eax, eax
mov ecx, dword [esp + 4]
test ecx, 0x800
sete al
fld qword [eax*8 + 0x44b550]
cmp ecx, 0x3ffffff
ja 0x401e7e
fld st(0)
fchs
fxch st(1)
fucom st(2)
fnstsw ax
sahf
jbe 0x40205d
fxch st(2)
fucom st(1)
fnstsw ax
sahf
fxch st(2)
jbe 0x40205d
fstp st(0)
fstp st(0)
jmp 0x4020e2
mov dword [esp], eax
cmp byte [esp + esi + 0x5c], 0x30
sete al
cmp esi, 0x200
setne cl
mov byte [esp + 0x34], 0
mov byte [esp + 0x40], 0
mov dl, 0x2d
cmp byte [esp + 4], 0
js 0x401ebe
mov dl, 0x20
test byte [esp + 4], 4
jne 0x401ebe
mov dl, 0x2b
test byte [esp + 4], 2
je 0x401ec7
mov byte [esp + 0x40], 1
mov byte [esp + 0x41], dl
and cl, al
movzx eax, cl
mov edx, dword [esp]
add edx, eax
mov eax, edx
lea ecx, [esp + 0x25c]
xor eax, ecx
mov esi, edx
not esi
and esi, ecx
add esi, esi
sub esi, eax
mov dword [esp + 0x20], esi
jne 0x401f00
mov byte [edx - 1], 0x30
dec edx
mov dword [esp + 0x20], 1
mov ecx, 1
jmp 0x401f02
mov ecx, esi
mov eax, dword [esp + 0x18]
mov dword [esp + 0x10], 0
test eax, eax
jg 0x401f14
xor eax, eax
add ecx, 0x3000000
mov dword [esp + 0xc], ecx
jmp 0x402905
mov byte [esp + 0x36], 0x2d
mov ebx, 1
sub ebx, eax
xor eax, eax
cmp ebx, 0x64
setge al
mov dword [esp], eax
mov eax, ebx
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 edi, [eax + eax*4]
mov eax, ecx
mov edx, 0x66666667
imul edx
mov eax, ebx
sub eax, edi
mov edi, edx
shr edi, 0x1f
sar edx, 2
add edx, edi
add edx, edx
lea edi, [edx + edx*4]
mov edx, ecx
sub edx, edi
mov edi, eax
and edi, 0x30
xor eax, 0x30
lea eax, [eax + edi*2]
mov dword [esp + 0xc], eax
mov edi, dword [esp]
lea eax, [edi + 4]
mov dword [esp + 0x18], eax
mov byte [esp + 0x34], al
mov eax, dword [esp + 0xc]
mov byte [esp + edi + 0x38], al
mov eax, edx
and eax, 0x30
xor edx, 0x30
lea eax, [edx + eax*2]
mov byte [esp + edi + 0x37], al
cmp ebx, 0x64
jl 0x401fdd
mov eax, ebx
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 + 0x34]
mov edi, dword [esp + 0x18]
mov byte [edi + eax - 2], dl
mov eax, dword [esp + 0x14]
sub eax, dword [esp + 0x10]
inc eax
mov dword [esp + 0x3c], ecx
mov dword [esp + 0xc], 0x3000001
mov dword [esp + 0x10], eax
mov edi, dword [esp + 0x28]
jmp 0x4028f4
mov edx, eax
add dword [esp + 0x24], 8
mov dword [esp + 0x20], esi
mov eax, dword [esp + 0x3c]
cmp eax, 0xfffffffd
jl 0x402035
cmp eax, dword [esp]
jg 0x402035
test eax, eax
jle 0x40232b
cmp eax, esi
jl 0x402343
mov dword [esp + 0x10], 0
jmp 0x402355
cmp edx, esi
jle 0x402043
dec esi
mov dword [esp + 0x14], esi
jmp 0x401412
mov dword [esp + 0x14], 0
sub edx, 1
jb 0x401412
mov dword [esp + 0x14], edx
jmp 0x401412
mov eax, dword [esp + 4]
lea ecx, [eax + 0x1000000]
fdiv st(2), st(0)
cmp eax, 0x2ffffff
ja 0x4020da
fucom st(2)
fnstsw ax
sahf
jbe 0x402082
fxch st(2)
fucom st(1)
fnstsw ax
sahf
fxch st(2)
ja 0x4020da
mov eax, dword [esp + 4]
lea ecx, [eax + 0x2000000]
fdiv st(2), st(0)
cmp eax, 0x1ffffff
ja 0x4020da
fucom st(2)
fnstsw ax
sahf
jbe 0x4020a7
fxch st(2)
fucom st(1)
fnstsw ax
sahf
fxch st(2)
ja 0x4020da
mov eax, dword [esp + 4]
lea ecx, [eax + 0x3000000]
fdiv st(2), st(0)
cmp eax, 0xffffff
ja 0x4020da
fucom st(2)
fnstsw ax
sahf
jbe 0x403556
fxch st(2)
fucom st(1)
fstp st(1)
fnstsw ax
sahf
fldz
fxch st(1)
fxch st(2)
jbe 0x403556
fstp st(0)
fstp st(0)
mov dword [esp + 4], ecx
mov ecx, 6
mov eax, dword [esp + 0x18]
cmp eax, 0xffffffff
je 0x4020f2
mov ecx, eax
sub esp, 0x18
fstp qword [esp + 8]
lea eax, [esp + 0x54]
mov dword [esp + 4], eax
lea eax, [esp + 0x74]
mov dword [esp], eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x10], ecx
lea ecx, [esp + 0x20]
lea edx, [esp + 0x38]
call fcn.004035b0
add esp, 0x18
test eax, eax
je 0x402355
or dword [esp + 4], 0x80
jmp 0x402355
add ecx, 3
jmp case.0x4012ce.74
lea ebx, [esp + 0x9e]
cmp dword [esp + 0x18], 4
jb 0x4021a4
mov edi, eax
nop
nop
nop
mov dword [esp], ecx
mov edx, eax
shr edx, 0x18
and edx, 0xf
mov ecx, dword [esp + 0x14]
movzx edx, byte [ecx + edx]
mov byte [ebx], dl
mov edx, eax
shr edx, 0x14
and edx, 0xf
movzx edx, byte [ecx + edx]
mov byte [ebx + 1], dl
mov edx, eax
shr edx, 0x10
and edx, 0xf
movzx edx, byte [ecx + edx]
mov byte [ebx + 2], dl
shld edi, esi, 0x10
shl esi, 0x10
shr eax, 0xc
and eax, 0xf
movzx eax, byte [ecx + eax]
mov ecx, dword [esp]
mov byte [ebx + 3], al
add ebx, 4
mov eax, edi
add ecx, 0xfffffffc
jne 0x402150
lea esi, [esp + 0x9e]
mov dword [esp + 0x14], esi
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x30]
cmp cl, 0x41
setne cl
shl cl, 5
or cl, 0x50
mov byte [esp + 0x35], cl
test eax, eax
js 0x4021ed
mov byte [esp + 0x36], 0x2b
cmp eax, 0x3e7
ja 0x4021fb
cmp eax, 0x63
jbe 0x40230c
mov dword [esp + 0x30], ebx
mov dword [esp], 5
jmp 0x402206
mov byte [esp + 0x36], 0x2d
neg eax
cmp eax, 0x3e7
jbe 0x4021d7
mov dword [esp + 0x30], ebx
mov dword [esp], 6
mov dword [esp + 0x18], 0
mov ecx, 0xcccccccd
mov dword [esp + 0xc], eax
mul ecx
shr edx, 2
and edx, 0xfffffffe
lea edi, [edx + edx*4]
mov eax, dword [esp + 0xc]
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 + 0xc]
sub ebx, edi
mov esi, dword [esp]
mov eax, esi
mov byte [esp + 0x34], al
or bl, 0x30
mov byte [esp + esi + 0x34], bl
mov eax, edx
shr eax, 0x1f
sar edx, 2
add edx, eax
add edx, edx
lea edx, [edx + edx*4]
mov eax, dword [esp + 0xc]
sub ecx, edx
add cl, 0x30
mov byte [esp + esi + 0x33], cl
cmp byte [esp + 0x18], 0
mov edi, dword [esp + 0x28]
mov ebx, dword [esp + 0x30]
jne 0x4026db
mov ecx, 0x51eb851f
imul ecx
mov ecx, edx
mov eax, edx
shr eax, 0x1f
sar ecx, 5
add ecx, eax
mov eax, ecx
mov edx, 0x66666667
imul edx
mov eax, edx
shr eax, 0x1f
sar edx, 2
add edx, eax
add edx, edx
lea eax, [edx + edx*4]
sub ecx, eax
add cl, 0x30
lea eax, [esp + 0x34]
mov edx, dword [esp]
mov byte [edx + eax - 2], cl
mov eax, dword [esp + 0xc]
cmp eax, 0x3e8
jb 0x4026db
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 + 0x34]
mov edx, dword [esp]
mov byte [edx + eax - 3], cl
jmp 0x4026db
cmp eax, 9
jbe 0x4026cc
mov dword [esp + 0x30], ebx
mov dword [esp], 4
mov cl, 1
mov dword [esp + 0x18], ecx
jmp 0x40220e
cmp edx, esi
jl 0x402333
mov ebx, esi
mov edx, esi
sub edx, eax
mov dword [esp + 0x10], edx
jmp 0x402355
mov dword [esp], edx
jmp 0x402776
mov ebx, esi
mov ecx, eax
not ecx
and ecx, esi
not ebx
and ebx, eax
sub ecx, ebx
mov dword [esp + 0x10], ecx
mov byte [esp + 0x34], 0
mov byte [esp + 0x40], 0
mov al, 0x2d
cmp byte [esp + 4], 0
js 0x40237a
mov al, 0x20
test byte [esp + 4], 4
jne 0x40237a
mov al, 0x2b
test byte [esp + 4], 2
je 0x402383
mov byte [esp + 0x40], 1
mov byte [esp + 0x41], al
mov ecx, dword [esp + 0x3c]
cmp ecx, 0x7000
jne 0x4023a0
mov dword [esp + 0xc], 0
mov edx, dword [esp + 8]
jmp 0x4027ee
test ecx, ecx
jle 0x40243e
mov dword [esp], 0
test byte [esp + 4], 0x40
je 0x4023d0
mov ebx, 0x258
sub ebx, ecx
mov eax, ebx
mov edx, 0xaaaaaaab
mul edx
shr edx, 1
lea eax, [edx + edx*2]
sub ebx, eax
mov dword [esp], ebx
cmp ecx, dword [esp + 0x20]
jae 0x4024c6
xor eax, eax
lea ecx, [esp + 0x9c]
mov dword [esp + 0xc], ecx
jmp 0x40240e
mov dword [esp], ecx
mov edx, dword [esp + 0xc]
mov ecx, dword [esp + 8]
movzx ecx, byte [ecx + eax]
lea edi, [edx + 1]
mov dword [esp + 0xc], edi
mov byte [edx], cl
inc eax
mov ecx, dword [esp + 0x3c]
cmp eax, ecx
jae 0x402523
test byte [esp + 4], 0x40
je 0x4023ec
mov ecx, dword [esp]
inc ecx
cmp ecx, 4
jne 0x4023e9
mov ecx, dword [esp + 4]
and ecx, 0x40
shr ecx, 6
mov dword [esp], ecx
movzx ecx, byte [0x44e001]
xor cl, 0x4e
mov edx, dword [esp + 0xc]
mov byte [edx], cl
inc edx
jmp 0x4023f0
mov byte [esp + 0x9c], 0x30
lea esi, [esp + 0x9d]
cmp dword [esp + 0x10], 0
je 0x402474
movzx eax, byte [section..data]
mov edx, eax
add dl, al
and dl, 0x62
sub al, dl
add al, 0x31
mov byte [esp + 0x9d], al
lea esi, [esp + 0x9e]
neg ecx
mov eax, dword [esp + 0x10]
mov edi, eax
cmp eax, ecx
jl 0x402482
mov edi, ecx
test edi, edi
mov dword [esp], edi
je 0x4025f2
mov eax, esi
and eax, 3
je 0x4025f2
mov eax, edi
mov edi, esi
not edi
and edi, 3
lea ebx, [eax - 1]
cmp edi, ebx
jb 0x4024aa
mov edi, ebx
lea eax, [edi + 1]
push eax
push 0x30
push esi
call fcn.0040cb10
add esp, 0xc
add esi, edi
inc esi
sub ebx, edi
mov edi, dword [esp]
jmp 0x4025f4
xor eax, eax
lea esi, [esp + 0x9c]
jmp 0x40250e
mov ecx, dword [esp + 4]
and ecx, 0x40
shr ecx, 6
mov dword [esp], ecx
movzx ecx, byte [0x44e001]
mov edx, ecx
or dl, 0xb1
not cl
or cl, 0x4e
and cl, dl
not cl
mov byte [esi], cl
inc esi
mov ecx, esi
mov edx, dword [esp + 8]
movzx edx, byte [edx + eax]
inc esi
mov byte [ecx], dl
inc eax
cmp eax, dword [esp + 0x20]
jae 0x402590
test byte [esp + 4], 0x40
je 0x4024f6
mov ecx, dword [esp]
inc ecx
cmp ecx, 4
je 0x4024d1
mov dword [esp], ecx
jmp 0x4024f6
mov esi, dword [esp + 0xc]
cmp dword [esp + 0x10], 0
je 0x402544
movzx ecx, byte [section..data]
xor cl, 0x31
mov byte [edx + 1], cl
add edx, 2
mov ecx, dword [esp + 0x3c]
mov esi, edx
mov edx, dword [esp + 0x20]
mov edi, edx
sub edi, ecx
cmp edi, dword [esp + 0x10]
jbe 0x40255c
mov edx, dword [esp + 0x10]
add edx, ecx
mov dword [esp + 0x20], edx
cmp eax, edx
mov edi, dword [esp + 0x28]
jae 0x40269e
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [esp + 8]
movzx ecx, byte [ecx + eax]
mov byte [esi], cl
inc esi
inc eax
mov edx, dword [esp + 0x20]
cmp eax, edx
jb 0x402570
mov dword [esp], esi
mov ecx, dword [esp + 0x3c]
jmp 0x4026a1
mov edx, dword [esp + 0x3c]
mov ebx, edx
sub ebx, eax
jbe 0x40283d
test byte [esp + 4], 0x40
jne 0x402830
cmp edx, eax
je 0x40283d
mov dword [esp + 0xc], ebx
mov dword [esp + 0x14], edx
lea ebx, [ecx + 1]
mov edi, ebx
xor edi, 0xfffffffc
mov edx, ebx
or edx, 3
test edx, edi
je 0x4027ff
inc esi
mov byte [ecx + 1], 0x30
inc ecx
dec dword [esp + 0xc]
inc ebx
mov edx, dword [esp + 0x14]
dec edx
mov dword [esp + 0x14], edx
cmp eax, edx
jne 0x4025bc
inc ecx
mov esi, ecx
mov edi, dword [esp + 0x28]
jmp 0x40283d
mov ebx, edi
cmp ebx, 4
jl 0x40262c
mov eax, ebx
cmp ebx, 7
jl 0x402605
mov eax, 7
neg eax
lea edi, [ebx + eax]
add edi, 3
and edi, 0xfffffffc
lea eax, [edi + 4]
push eax
push 0x30
push esi
call fcn.0040cb10
add esp, 0xc
add esi, edi
add esi, 4
sub ebx, edi
add ebx, 0xfffffffc
mov edi, dword [esp]
test ebx, ebx
je 0x40263e
push ebx
push 0x30
push esi
call fcn.0040cb10
add esp, 0xc
add esi, ebx
mov eax, dword [esp + 0x20]
mov ecx, eax
and ecx, edi
mov edx, eax
xor edx, edi
lea ecx, [edx + ecx*2]
cmp ecx, dword [esp + 0x10]
jle 0x40265d
mov eax, dword [esp + 0x10]
sub eax, edi
mov dword [esp + 0x20], eax
test eax, eax
je 0x402756
mov ecx, eax
and ecx, 3
je 0x402704
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov edi, dword [esp + 8]
lea ebx, [edi + 1]
mov dword [esp + 8], ebx
movzx ebx, byte [edi]
mov byte [esi + edx], bl
inc edx
cmp ecx, edx
jne 0x402680
add esi, edx
mov ecx, eax
sub ecx, edx
jmp 0x402706
mov dword [esp], esi
lea eax, [esp + 0x9c]
mov esi, dword [esp + 0xc]
sub esi, eax
add esi, 0x3000000
mov dword [esp + 0xc], esi
mov eax, dword [esp + 0x10]
sub eax, edx
add eax, ecx
mov dword [esp + 0x10], eax
mov esi, dword [esp]
jmp 0x40286f
mov byte [esp + 0x34], 3
or al, 0x30
mov byte [esp + 0x37], al
mov edi, dword [esp + 0x28]
add dword [esp + 0x24], 8
mov eax, ebx
sub eax, dword [esp + 0x14]
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x9c]
sub ebx, eax
mov dword [esp + 0x20], ebx
mov dword [esp + 0xc], 0x3000001
jmp 0x402901
mov ecx, eax
cmp eax, 4
jb 0x402756
mov edx, dword [esp + 8]
lea edi, [edx + 1]
mov dword [esp + 8], edi
movzx edx, byte [edx]
mov byte [esi], dl
mov edx, dword [esp + 8]
lea edi, [edx + 1]
mov dword [esp + 8], edi
movzx edx, byte [edx]
mov byte [esi + 1], dl
mov edx, dword [esp + 8]
lea edi, [edx + 1]
mov dword [esp + 8], edi
movzx edx, byte [edx]
mov byte [esi + 2], dl
mov edx, dword [esp + 8]
lea edi, [edx + 1]
mov dword [esp + 8], edi
movzx edx, byte [edx]
mov byte [esi + 3], dl
add esi, 4
add ecx, 0xfffffffc
jne 0x40270b
mov ecx, dword [esp]
add ecx, eax
sub dword [esp + 0x10], ecx
mov dword [esp + 0xc], 0x3000001
mov edi, dword [esp + 0x28]
jmp 0x40286f
mov eax, edx
jmp 0x4027c9
mov ecx, esi
mov eax, edx
mov esi, ecx
cmp ecx, 4
jb 0x4027ac
mov edi, dword [eax]
mov ecx, edi
not ecx
add edi, 0xfefefeff
and edi, ecx
mov edx, esi
xor edx, 4
mov ecx, esi
and ecx, 0xfffffffb
add ecx, ecx
sub ecx, edx
lea edx, [eax + 4]
test edi, 0x80808080
mov edi, dword [esp + 0x28]
je 0x402776
jmp 0x4027b0
test esi, esi
je 0x4027c6
lea ecx, [eax + esi]
xor edx, edx
cmp byte [eax + edx], 0
je 0x4027c4
inc edx
cmp esi, edx
jne 0x4027b5
mov eax, ecx
jmp 0x4027c6
add eax, edx
mov edx, dword [esp]
add dword [esp + 0x24], 4
sub eax, edx
mov dword [esp + 0x20], eax
mov byte [esp + 0x40], 0
mov byte [esp + 0x34], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
jmp 0x402903
mov eax, edx
jmp 0x4027c6
mov ebx, dword [esp + 0x14]
sub ebx, eax
inc ecx
cmp ebx, 4
mov edi, dword [esp + 0x28]
jb 0x40351d
mov eax, ebx
and eax, 0xfffffffc
push eax
push 0x30
push ecx
call fcn.0040cb10
add esp, 0xc
mov eax, dword [esp + 0xc]
and eax, 0xfffffffc
add esi, eax
and ebx, 3
mov eax, ebx
test ebx, ebx
mov eax, dword [esp]
jne 0x403531
mov ecx, esi
lea eax, [esp + 0x9c]
sub ecx, eax
add ecx, 0x3000000
mov dword [esp + 0xc], ecx
cmp dword [esp + 0x10], 0
je 0x402867
movzx eax, byte [section..data]
xor al, 0x31
mov byte [esi], al
inc esi
jmp 0x40286f
mov dword [esp + 0x10], 0
test dword [esp + 4], 0x100
je 0x4028f4
mov ecx, dword [esp + 4]
mov eax, ecx
and eax, 0x400
sete byte [esp + 0x34]
mov byte [esp + 0x35], 0x20
cmp ecx, 0x1000000
jb 0x4028f4
mov ecx, dword [esp + 4]
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 dword [esp + 4], 0x800
jne 0x4028ca
movzx ecx, byte [ecx + str._kMGT]
mov byte [esp + edx + 0x34], cl
jmp 0x4028f0
movzx ecx, byte [ecx + str._KMGT]
mov byte [esp + edx + 0x34], cl
mov ecx, dword [esp + 4]
and ecx, 0x1800
cmp ecx, 0x800
jne 0x4028f0
movzx eax, al
mov byte [esp + eax + 0x35], 0x69
inc eax
mov byte [esp + 0x34], al
lea eax, [esp + 0x9c]
sub esi, eax
mov dword [esp + 0x20], esi
mov edx, eax
xor eax, eax
mov dword [esp], edx
mov ecx, dword [esp + 0x20]
cmp eax, ecx
jg 0x402912
mov eax, ecx
mov dword [esp + 0x28], ecx
mov esi, eax
movsx eax, byte [esp + 0x40]
movsx edx, byte [esp + 0x34]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x18], esi
add ecx, esi
add ecx, eax
add ecx, edx
mov edx, dword [esp + 0x2c]
cmp edx, ecx
jg 0x40293a
mov edx, ecx
sub edx, ecx
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x18]
mov ecx, edx
not ecx
mov esi, dword [esp + 0x28]
and ecx, esi
not esi
and esi, edx
mov edx, esi
sub edx, ecx
test byte [esp + 4], 1
mov esi, dword [esp + 0x1c]
jne 0x402970
test byte [esp + 4], 0x10
jne 0x402976
mov dword [esp + 4], 0
mov ecx, dword [esp + 0x2c]
jmp 0x402984
mov ecx, edx
mov edx, dword [esp + 0x2c]
cmp edx, ecx
jg 0x402982
mov edx, ecx
xor ecx, ecx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x28], edx
add ecx, edx
mov edx, dword [esp]
je 0x402e9c
test byte [esp + 4], 1
jne 0x402afb
mov ecx, dword [esp + 0x2c]
test ecx, ecx
jg 0x4029c7
jmp 0x402afb
mov edi, eax
mov esi, eax
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp]
sub ecx, dword [esp + 0x14]
test ecx, ecx
jle 0x402af2
mov dword [esp + 0x2c], ecx
cmp dword [ebp + 8], 0
je 0x4029f2
mov ecx, edi
sub ecx, esi
mov eax, ecx
not eax
and ecx, 0xfffffdff
and eax, 0x200
sub eax, ecx
mov ecx, dword [esp + 0x2c]
mov ebx, ecx
cmp ecx, eax
jl 0x4029f2
mov ecx, eax
test ecx, ecx
mov dword [esp + 0x1c], esi
mov dword [esp + 0x14], ecx
je 0x402a70
mov eax, edi
and eax, 3
je 0x402a60
mov ecx, edi
not edi
and edi, 3
mov eax, dword [esp + 0x14]
lea esi, [eax - 1]
cmp edi, esi
jb 0x402a19
mov edi, esi
lea eax, [edi + 1]
push eax
push 0x20
mov ebx, ecx
push ecx
call fcn.0040cb10
add esp, 0xc
lea ecx, [edi + ebx]
inc ecx
sub esi, edi
mov edx, dword [esp]
cmp esi, 4
jge 0x402a79
test esi, esi
je 0x402ab3
push esi
push 0x20
mov edi, ecx
push ecx
call fcn.0040cb10
mov edx, dword [esp + 0xc]
add esp, 0xc
add edi, esi
jmp 0x402ab5
mov ecx, edi
mov esi, dword [esp + 0x14]
cmp esi, 4
jge 0x402a79
jmp 0x402a38
mov esi, ecx
mov ecx, edi
cmp esi, 4
jl 0x402a38
mov eax, esi
cmp esi, 7
jl 0x402a85
mov eax, 7
neg eax
lea edi, [esi + eax]
add edi, 3
and edi, 0xfffffffc
lea eax, [edi + 4]
push eax
push 0x20
mov ebx, ecx
push ecx
call fcn.0040cb10
add esp, 0xc
lea ecx, [edi + ebx]
add ecx, 4
sub esi, edi
add esi, 0xfffffffc
mov edx, dword [esp]
test esi, esi
jne 0x402a3c
mov edi, ecx
mov esi, dword [esp + 0x1c]
cmp dword [ebp + 8], 0
mov ecx, dword [esp + 0x2c]
je 0x4029bb
mov eax, edi
sub eax, esi
cmp eax, 0x1ff
jl 0x4029bb
add dword [esp + 0x48], eax
push eax
push dword [ebp + 0xc]
push esi
call dword [ebp + 8]
add esp, 0xc
test eax, eax
jne 0x4029b0
jmp 0x403593
mov dword [esp + 0x2c], ecx
movzx eax, byte [esp + 0x40]
lea ecx, [esp + 0x41]
mov dword [esp + 8], ecx
jmp 0x402b1c
mov edi, eax
mov esi, eax
mov edx, dword [esp]
movzx eax, byte [esp + 0x40]
test al, al
je 0x402c2d
movsx ecx, al
mov ebx, ecx
cmp dword [ebp + 8], 0
je 0x402b49
mov ebx, edi
not ebx
and ebx, esi
mov edx, esi
not edx
and edx, edi
sub ebx, edx
add ebx, 0x200
cmp ebx, ecx
jl 0x402b49
mov ebx, ecx
sub cl, bl
mov byte [esp + 0x40], cl
test ebx, ebx
je 0x402beb
mov ecx, ebx
and ecx, 3
je 0x402c20
mov dword [esp + 0x1c], esi
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
mov esi, dword [esp + 8]
mov eax, edi
lea edi, [esi + 1]
mov dword [esp + 8], edi
mov edi, eax
movzx eax, byte [esi]
mov byte [edi + edx], al
inc edx
cmp ecx, edx
jne 0x402b70
add edi, edx
mov ecx, ebx
sub ecx, edx
mov esi, dword [esp + 0x1c]
cmp ebx, 4
jb 0x402beb
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 8]
lea edx, [eax + 1]
mov dword [esp + 8], edx
movzx eax, byte [eax]
mov byte [edi], al
mov eax, dword [esp + 8]
lea edx, [eax + 1]
mov dword [esp + 8], edx
movzx eax, byte [eax]
mov byte [edi + 1], al
mov eax, dword [esp + 8]
lea edx, [eax + 1]
mov dword [esp + 8], edx
movzx eax, byte [eax]
mov byte [edi + 2], al
mov eax, dword [esp + 8]
lea edx, [eax + 1]
mov dword [esp + 8], edx
movzx eax, byte [eax]
mov byte [edi + 3], al
add edi, 4
add ecx, 0xfffffffc
jne 0x402ba0
cmp dword [ebp + 8], 0
je 0x402b14
mov eax, edi
sub eax, esi
cmp eax, 0x1ff
jl 0x402b14
add dword [esp + 0x48], eax
push eax
push dword [ebp + 0xc]
push esi
call dword [ebp + 8]
add esp, 0xc
test eax, eax
jne 0x402b10
jmp 0x403593
mov ecx, ebx
cmp ebx, 4
jae 0x402ba0
jmp 0x402beb
mov dword [esp + 0x1c], esi
mov eax, dword [esp + 0xc]
mov ecx, eax
shr ecx, 0x18
mov dword [esp + 0x14], ecx
xor esi, esi
test byte [esp + 4], 0x40
je 0x402c60
and eax, 0xffffff
add eax, dword [esp + 0x28]
mov esi, dword [esp + 0x14]
lea ecx, [esi + 1]
xor edx, edx
div ecx
sub esi, edx
mov edx, dword [esp]
cmp dword [esp + 0x28], 0
jle 0x403510
mov ebx, dword [esp + 0x28]
jmp 0x402c90
mov ebx, dword [esp + 0x28]
sub ebx, dword [esp + 0xc]
test ebx, ebx
jle 0x402e93
mov eax, dword [esp + 0x1c]
sub eax, edi
add eax, 0x200
mov ecx, ebx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x28], ebx
cmp ebx, eax
jl 0x402cad
mov dword [esp + 0xc], eax
cmp dword [ebp + 8], 0
mov ebx, dword [esp + 4]
jne 0x402cbf
mov eax, dword [esp + 0x28]
mov dword [esp + 0xc], eax
test bl, 0x40
jne 0x402d20
cmp dword [esp + 0xc], 0
je 0x402d30
mov eax, edi
and eax, 3
je 0x402d30
mov ecx, edi
not edi
and edi, 3
mov eax, dword [esp + 0xc]
dec eax
cmp edi, eax
jb 0x402ce4
mov edi, eax
mov dword [esp + 0x18], eax
lea eax, [edi + 1]
push eax
push 0x30
mov ebx, ecx
push ecx
call fcn.0040cb10
add esp, 0xc
add ebx, edi
inc ebx
mov ecx, dword [esp + 0x18]
sub ecx, edi
mov edi, ebx
mov ebx, dword [esp + 4]
mov edx, dword [esp]
cmp ecx, 4
jge 0x402d39
jmp 0x402d7f
mov ecx, dword [esp + 0xc]
jmp 0x402d7f
mov ecx, dword [esp + 0xc]
cmp ecx, 4
jl 0x402d7f
mov edx, ecx
mov ecx, edi
mov eax, edx
mov edi, edx
cmp edx, 7
jl 0x402d4b
mov eax, 7
neg eax
mov dword [esp + 0x18], edi
add edi, eax
add edi, 3
and edi, 0xfffffffc
lea eax, [edi + 4]
push eax
push 0x30
mov ebx, ecx
push ecx
call fcn.0040cb10
mov ecx, dword [esp + 0x24]
add esp, 0xc
sub ecx, edi
add ecx, 0xfffffffc
add edi, ebx
add edi, 4
mov ebx, dword [esp + 4]
mov edx, dword [esp]
test ecx, ecx
je 0x402de0
test cl, 1
jne 0x402da0
mov eax, ecx
cmp ecx, 1
jne 0x402e53
jmp 0x402de0
mov al, 0x30
test bl, 0x40
je 0x402dc8
cmp esi, dword [esp + 0x14]
jne 0x402dc7
movzx eax, byte [0x44e001]
mov esi, ecx
mov ecx, eax
add cl, al
and cl, 0x9c
sub al, cl
mov ecx, esi
add al, 0x4e
xor esi, esi
jmp 0x402dc8
inc esi
mov byte [edi], al
inc edi
lea eax, [ecx - 1]
cmp ecx, 1
jne 0x402e53
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [ebp + 8], 0
mov dword [esp + 4], ebx
je 0x402c80
mov eax, edi
mov ecx, dword [esp + 0x1c]
sub eax, ecx
cmp eax, 0x1ff
jl 0x402c80
add dword [esp + 0x48], eax
push eax
push dword [ebp + 0xc]
push ecx
call dword [ebp + 8]
add esp, 0xc
test eax, eax
je 0x403593
mov edi, eax
mov dword [esp + 0x1c], eax
mov edx, dword [esp]
jmp 0x402c80
movzx ecx, byte [0x44e001]
mov edx, ecx
add dl, cl
and dl, 0x9c
sub cl, dl
add cl, 0x4e
xor esi, esi
mov edx, dword [esp]
mov byte [edi + 1], cl
add edi, 2
add eax, 0xfffffffe
je 0x402de0
mov cl, 0x30
test bl, 0x40
je 0x402e81
cmp esi, dword [esp + 0x14]
jne 0x402e80
movzx edx, byte [0x44e001]
mov ch, dl
add ch, dl
and ch, 0x9c
sub dl, ch
add dl, 0x4e
xor esi, esi
jmp 0x402e83
inc esi
mov dl, 0x30
mov byte [edi], dl
test bl, 0x40
je 0x402e45
cmp esi, dword [esp + 0x14]
je 0x402e30
inc esi
jmp 0x402e45
movzx eax, byte [esp + 0x40]
mov esi, dword [esp + 0x1c]
lea ecx, [esp + 0x41]
mov dword [esp + 8], ecx
jmp 0x402ebc
mov edi, eax
mov esi, eax
mov edx, dword [esp]
movzx eax, byte [esp + 0x40]
test al, al
je 0x402fcd
movsx edx, al
mov ebx, esi
sub ebx, edi
add ebx, 0x200
cmp ebx, edx
jl 0x402ed7
mov ebx, edx
cmp dword [ebp + 8], 0
jne 0x402edf
mov ebx, edx
sub al, bl
mov byte [esp + 0x40], al
test ebx, ebx
je 0x402f7b
mov eax, ebx
and eax, 3
je 0x402fc0
mov dword [esp + 0x1c], esi
xor edx, edx
nop
nop
mov esi, dword [esp + 8]
mov ecx, edi
lea edi, [esi + 1]
mov dword [esp + 8], edi
mov edi, ecx
movzx ecx, byte [esi]
mov byte [edi + edx], cl
inc edx
cmp eax, edx
jne 0x402f00
add edi, edx
mov eax, ebx
sub eax, edx
mov esi, dword [esp + 0x1c]
cmp ebx, 4
jb 0x402f7b
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [esp + 8]
lea edx, [ecx + 1]
mov dword [esp + 8], edx
movzx ecx, byte [ecx]
mov byte [edi], cl
mov ecx, dword [esp + 8]
lea edx, [ecx + 1]
mov dword [esp + 8], edx
movzx ecx, byte [ecx]
mov byte [edi + 1], cl
mov ecx, dword [esp + 8]
lea edx, [ecx + 1]
mov dword [esp + 8], edx
movzx ecx, byte [ecx]
mov byte [edi + 2], cl
mov ecx, dword [esp + 8]
lea edx, [ecx + 1]
mov dword [esp + 8], edx
movzx ecx, byte [ecx]
mov byte [edi + 3], cl
add edi, 4
add eax, 0xfffffffc
jne 0x402f30
cmp dword [ebp + 8], 0
je 0x402eb4
mov ecx, edi
not ecx
and ecx, esi
mov eax, esi
not eax
and eax, edi
sub eax, ecx
cmp eax, 0x1ff
jl 0x402eb4
add dword [esp + 0x48], eax
push eax
push dword [ebp + 0xc]
push esi
call dword [ebp + 8]
add esp, 0xc
test eax, eax
jne 0x402eb0
jmp 0x403593
mov eax, ebx
cmp ebx, 4
jae 0x402f30
jmp 0x402f7b
mov dword [esp + 0x1c], esi
mov ebx, dword [esp + 0x20]
test ebx, ebx
jne 0x403129
mov ecx, dword [esp + 0x10]
test ecx, ecx
mov esi, dword [esp + 0x1c]
jne 0x40326d
lea eax, [esp + 0x35]
mov dword [esp + 8], eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ecx, byte [esp + 0x34]
test cl, cl
je 0x403373
movsx edx, cl
mov eax, esi
sub eax, edi
add eax, 0x200
cmp eax, edx
jl 0x40301f
mov eax, edx
cmp dword [ebp + 8], 0
jne 0x403027
mov eax, edx
sub cl, al
mov byte [esp + 0x34], cl
test eax, eax
je 0x4030cb
mov ecx, eax
and ecx, 3
je 0x403110
mov dword [esp + 0x1c], esi
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov esi, dword [esp + 8]
mov ebx, edi
lea edi, [esi + 1]
mov dword [esp + 8], edi
mov edi, ebx
movzx ebx, byte [esi]
mov byte [edi + edx], bl
inc edx
cmp ecx, edx
jne 0x403050
add edi, edx
mov ecx, eax
sub ecx, edx
mov esi, dword [esp + 0x1c]
cmp eax, 4
jb 0x4030cb
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 8]
lea edx, [eax + 1]
mov dword [esp + 8], edx
movzx eax, byte [eax]
mov byte [edi], al
mov eax, dword [esp + 8]
lea edx, [eax + 1]
mov dword [esp + 8], edx
movzx eax, byte [eax]
mov byte [edi + 1], al
mov eax, dword [esp + 8]
lea edx, [eax + 1]
mov dword [esp + 8], edx
movzx eax, byte [eax]
mov byte [edi + 2], al
mov eax, dword [esp + 8]
lea edx, [eax + 1]
mov dword [esp + 8], edx
movzx eax, byte [eax]
mov byte [edi + 3], al
add edi, 4
add ecx, 0xfffffffc
jne 0x403080
cmp dword [ebp + 8], 0
je 0x403000
mov eax, edi
sub eax, esi
cmp eax, 0x1ff
jl 0x403000
add dword [esp + 0x48], eax
push eax
push dword [ebp + 0xc]
push esi
call dword [ebp + 8]
add esp, 0xc
test eax, eax
je 0x403593
mov edi, eax
mov esi, eax
jmp 0x403000
mov ecx, eax
cmp eax, 4
jae 0x403080
jmp 0x4030cb
sub ebx, dword [esp]
je 0x402fdd
mov ecx, ebx
cmp dword [ebp + 8], 0
je 0x403152
mov eax, edi
sub eax, dword [esp + 0x1c]
mov ecx, eax
xor ecx, 0x200
not eax
and eax, 0x200
add eax, eax
sub eax, ecx
mov ecx, ebx
cmp ebx, eax
jl 0x403152
mov ecx, eax
mov eax, ecx
mov dword [esp], ecx
cmp ecx, 4
jl 0x40317b
nop
nop
nop
nop
mov ecx, dword [edx]
mov dword [edi], ecx
add edi, 4
add edx, 4
mov ecx, eax
xor ecx, 4
and eax, 0xfffffffb
add eax, eax
sub eax, ecx
cmp eax, 3
jg 0x403160
test eax, eax
je 0x403201
mov ecx, eax
and ecx, 7
je 0x403250
mov dword [esp + 0x14], ebx
mov esi, edx
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ebx, byte [esi + edx]
mov byte [edi + edx], bl
inc edx
cmp ecx, edx
jne 0x4031a0
add edi, edx
mov ecx, eax
sub ecx, edx
add esi, edx
mov edx, esi
mov ebx, dword [esp + 0x14]
cmp eax, 8
jb 0x403201
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 0x4031c0
cmp dword [ebp + 8], 0
je 0x403120
mov eax, edi
mov ecx, dword [esp + 0x1c]
sub eax, ecx
cmp eax, 0x1ff
jl 0x403120
mov esi, edx
add dword [esp + 0x48], eax
push eax
push dword [ebp + 0xc]
push ecx
call dword [ebp + 8]
add esp, 0xc
test eax, eax
je 0x403593
mov edi, eax
mov dword [esp + 0x1c], eax
mov edx, esi
jmp 0x403120
mov ecx, eax
cmp eax, 8
jae 0x4031c0
jmp 0x403201
mov ecx, dword [esp + 0x10]
sub ecx, dword [esp]
je 0x402fed
mov edx, ecx
cmp dword [ebp + 8], 0
je 0x403286
mov eax, esi
sub eax, edi
add eax, 0x200
mov edx, ecx
cmp ecx, eax
jl 0x403286
mov edx, eax
test edx, edx
mov dword [esp + 0x1c], esi
mov dword [esp + 0x10], ecx
mov dword [esp], edx
je 0x4032f0
mov eax, edi
and eax, 3
je 0x4032f0
mov esi, edi
not edi
and edi, 3
lea ebx, [edx - 1]
cmp edi, ebx
jb 0x4032ac
mov edi, ebx
lea eax, [edi + 1]
push eax
push 0x30
push esi
call fcn.0040cb10
add esp, 0xc
lea ecx, [edi + esi]
inc ecx
sub ebx, edi
mov esi, dword [esp + 0x1c]
cmp ebx, 4
jge 0x4032f9
test ebx, ebx
je 0x403334
push ebx
push 0x30
mov edi, ecx
push ecx
call fcn.0040cb10
add esp, 0xc
add edi, ebx
cmp dword [ebp + 8], 0
jne 0x403340
jmp 0x403260
mov ecx, edi
mov ebx, edx
cmp ebx, 4
jl 0x4032ca
mov eax, ebx
cmp ebx, 7
jl 0x403305
mov eax, 7
neg eax
lea edi, [ebx + eax]
add edi, 3
and edi, 0xfffffffc
lea eax, [edi + 4]
push eax
push 0x30
mov esi, ecx
push ecx
call fcn.0040cb10
add esp, 0xc
lea ecx, [edi + esi]
add ecx, 4
sub ebx, edi
add ebx, 0xfffffffc
mov esi, dword [esp + 0x1c]
test ebx, ebx
jne 0x4032ce
mov edi, ecx
cmp dword [ebp + 8], 0
je 0x403260
mov eax, edi
sub eax, esi
lea ecx, [eax + 1]
cmp ecx, 0x200
jl 0x403260
add dword [esp + 0x48], eax
push eax
push dword [ebp + 0xc]
push esi
call dword [ebp + 8]
add esp, 0xc
test eax, eax
je 0x403593
mov edi, eax
mov esi, eax
jmp 0x403260
test byte [esp + 4], 1
je 0x401095
mov ecx, dword [esp + 0x2c]
test ecx, ecx
jle 0x401095
jne 0x4033a8
jmp 0x401095
sub ecx, edx
je 0x401095
mov eax, esi
sub eax, edi
add eax, 0x200
mov edx, ecx
cmp ecx, eax
jl 0x4033d0
mov edx, eax
cmp dword [ebp + 8], 0
je 0x4033d6
test edx, edx
jne 0x4033dc
jmp 0x403438
cmp dword [ebp + 8], 0
jne 0x4033bf
mov edx, ecx
test edx, edx
je 0x403438
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x1c], esi
lea esi, [edx + 3]
xor ebx, ebx
mov eax, edx
mov ecx, edi
mov dword [esp], edx
mov edi, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov dword [esp + 4], esi
mov esi, ecx
lea eax, [ecx + ebx]
mov edx, eax
xor edx, 0xfffffffc
mov ecx, eax
or ecx, 3
test ecx, edx
je 0x403450
mov ecx, esi
mov byte [esi + ebx], 0x20
inc ebx
dec edi
mov esi, dword [esp + 4]
dec esi
cmp dword [esp], ebx
jne 0x403400
add ecx, ebx
mov edi, ecx
mov esi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp]
cmp dword [ebp + 8], 0
jne 0x4034d7
jmp 0x4033a0
mov ecx, eax
mov dword [esp + 0x28], esi
mov edx, dword [esp]
mov eax, edx
sub eax, ebx
cmp eax, 4
jl 0x4034ab
cmp edi, 7
jl 0x40346c
mov edi, 7
mov eax, edx
sub eax, edi
sub eax, ebx
add eax, 3
and eax, 0xfffffffc
add eax, 4
push eax
push 0x20
push ecx
call fcn.0040cb10
mov edx, dword [esp + 0xc]
add esp, 0xc
mov ecx, dword [esp + 4]
sub ecx, edi
and ecx, 0xfffffffc
mov eax, dword [esp + 0x28]
add eax, ecx
lea edi, [ebx + eax]
add edi, 4
mov eax, edx
sub eax, ecx
sub eax, ebx
add eax, 0xfffffffc
jmp 0x4034ad
mov edi, ecx
test eax, eax
mov esi, dword [esp + 0x1c]
je 0x4034c9
push eax
push 0x20
push edi
mov ebx, eax
call fcn.0040cb10
mov edx, dword [esp + 0xc]
add esp, 0xc
add edi, ebx
mov ecx, dword [esp + 0x2c]
cmp dword [ebp + 8], 0
je 0x4033a0
mov eax, edi
sub eax, esi
cmp eax, 0x1ff
jl 0x4033a0
mov edi, esi
mov esi, edx
mov ebx, ecx
add dword [esp + 0x48], eax
push eax
push dword [ebp + 0xc]
push edi
call dword [ebp + 8]
add esp, 0xc
test eax, eax
je 0x403593
mov edi, eax
mov ecx, ebx
mov edx, esi
mov esi, edi
jmp 0x4033a0
lea eax, [esp + 0x41]
mov dword [esp + 8], eax
jmp 0x402fd1
mov esi, ecx
mov eax, dword [esp]
jmp 0x403531
mov byte [esi], 0x30
dec ebx
inc esi
test ebx, ebx
je 0x40283d
test byte [esp + 4], 0x40
je 0x403524
inc eax
cmp eax, 4
jne 0x403524
movzx eax, byte [0x44e001]
mov ecx, eax
add cl, al
and cl, 0x9c
sub al, cl
add al, 0x4e
mov byte [esi], al
xor eax, eax
jmp 0x403528
fstp st(1)
or dword [esp + 4], 0x4000000
fdivp st(1)
jmp 0x4020e2
mov edi, dword [esp + 0x28]
jmp 0x402776
cmp dword [ebp + 8], 0
je 0x403599
mov eax, edi
sub eax, esi
test eax, eax
jle 0x40359c
add dword [esp + 0x48], eax
push eax
push dword [ebp + 0xc]
push esi
call dword [ebp + 8]
add esp, 0xc
mov edi, eax
mov esi, eax
jmp 0x40359c
xor edi, edi
xor esi, esi
jmp 0x40359c
mov byte [edi], 0
mov eax, dword [esp + 0x48]
add eax, edi
sub eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret