Function at 0x401000
Capabilities:
Authenticate hmac
Parse credit card information
Resolve function by parsing pe exports

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 esi, dword [ebp + 0x10]
mov dword [esp + 0x18], 0
mov edx, esi
jmp 0x40103f
mov esi, eax
mov eax, edi
movzx eax, byte [edi]
mov edx, esi
mov byte [esi], al
inc esi
mov eax, edi
inc eax
mov dword [esp + 0x1c], edx
test al, 3
mov dword [esp + 0x28], esi
mov edi, eax
je 0x401060
movzx eax, byte [eax]
jmp 0x40107e
mov eax, dword [eax]
mov edx, eax
not edx
and edx, 0x80808080
mov ecx, eax
xor ecx, 0x25252525
add ecx, 0xfefefeff
test ecx, edx
je 0x4010c4
cmp al, 0x25
je 0x401134
mov esi, dword [esp + 0x28]
mov edx, dword [esp + 0x1c]
test al, al
je 0x4035f5
cmp dword [ebp + 8], 0
je 0x401039
mov ecx, esi
sub ecx, edx
cmp ecx, 0x1ff
jl 0x401039
add dword [esp + 0x18], ecx
push ecx
push dword [ebp + 0xc]
push edx
call dword [ebp + 8]
add esp, 0xc
test eax, eax
jne 0x401030
jmp 0x403625
mov ecx, dword [esp + 0x1c]
sub ecx, esi
add ecx, 0x200
jmp 0x401112
mov dword [edx], eax
add edx, 4
mov dword [esp + 0x28], edx
mov eax, dword [edi + 4]
add edi, 4
mov edx, eax
not edx
and edx, 0x80808080
mov esi, eax
xor esi, 0x25252525
add esi, 0xfefefeff
add ecx, 0xfffffffc
test esi, edx
jne 0x40107e
lea esi, [eax - 0x1010101]
test edx, esi
jne 0x401086
cmp dword [ebp + 8], 0
mov edx, dword [esp + 0x28]
je 0x4010e0
cmp ecx, 4
jge 0x4010e0
jmp 0x40107e
add edi, 2
xor ebx, ebx
mov ecx, edi
mov edi, dword [esp + 0x18]
jmp 0x401153
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.0x401164.33
mov edx, 2
jmp dword [esi*4 + 0x447564]
mov edx, 4
jmp case.0x401164.43
mov edx, 0x400
jmp case.0x401164.43
mov edx, 0x100
mov eax, ebx
test ebx, 0x100
je case.0x401164.43
mov edx, ebx
and edx, 0x800
add edx, 0x800
jmp case.0x401164.43
mov edx, 8
jmp case.0x401164.43
mov edx, 0x40
jmp case.0x401164.43
or ebx, 0x10
movzx eax, byte [ecx]
jmp 0x4011af
dec ecx
cmp al, 0x2a
mov esi, dword [esp + 0x28]
jne 0x4011cf
mov eax, dword [esp + 0x24]
mov edx, dword [eax]
mov dword [esp + 0x44], edx
add eax, 4
mov dword [esp + 0x24], eax
movzx eax, byte [ecx + 1]
inc ecx
jmp 0x401213
mov edx, eax
add dl, 0xd0
mov dword [esp + 0x44], 0
cmp dl, 9
ja 0x401213
xor edi, edi
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx eax, al
lea edx, [edi + edi*4]
lea edi, [eax + edx*2]
add edi, 0xffffffd0
movzx eax, byte [ecx + 1]
inc ecx
mov edx, eax
add dl, 0xd0
cmp dl, 0xa
jb 0x4011f0
mov dword [esp + 0x44], edi
mov edi, dword [esp + 0x18]
cmp al, 0x2e
mov dword [esp + 0x18], edi
jne 0x401241
movzx eax, byte [ecx + 1]
cmp al, 0x2a
jne 0x4012b7
mov eax, dword [esp + 0x24]
mov edx, dword [eax]
mov dword [esp + 4], edx
add eax, 4
mov dword [esp + 0x24], eax
movzx eax, byte [ecx + 2]
add ecx, 2
jmp 0x401249
mov dword [esp + 4], 0xffffffff
mov edx, ebx
movzx eax, al
add eax, 0xffffffb7
cmp eax, 0x31
ja case.0x401256.74
jmp dword [eax*4 + 0x447664]
inc ecx
movzx eax, byte [ecx]
mov dword [esp + 0x48], ecx
mov dword [esp + 8], eax
movzx eax, al
add eax, 0xffffffbf
cmp eax, 0x37
ja case.0x401278.67
jmp dword [eax*4 + 0x44772c]
test dl, 0x20
jne 0x401703
mov eax, dword [esp + 0x24]
mov esi, dword [eax]
add eax, 4
mov dword [esp + 0x24], eax
xor ecx, ecx
cmp byte [esp + 8], 0x75
je 0x401733
test esi, esi
jns 0x401733
neg esi
or edx, 0x80
jmp 0x401733
inc ecx
mov edx, eax
add dl, 0xd0
mov dword [esp + 4], 0
cmp dl, 9
ja 0x401249
xor edi, edi
movzx eax, al
lea edx, [edi + edi*4]
lea edi, [eax + edx*2]
add edi, 0xffffffd0
movzx eax, byte [ecx + 1]
inc ecx
mov edx, eax
add dl, 0xd0
cmp dl, 0xa
jb 0x4012d0
mov dword [esp + 4], edi
mov edx, ebx
mov edi, dword [esp + 0x18]
jmp 0x40124b
movzx eax, byte [ecx + 1]
cmp al, 0x6c
jne 0x401957
or edx, 0x20
add ecx, 2
jmp case.0x401256.74
lea eax, [ecx + 1]
movzx edi, byte [ecx + 1]
cmp edi, 0x33
je 0x401d5e
mov dword [esp + 8], edi
cmp edi, 0x36
jne 0x401d74
cmp byte [ecx + 2], 0x34
jne 0x401d64
or edx, 0x20
jmp 0x401d68
cmp byte [ecx + 1], 0x68
je 0x40195d
inc ecx
or edx, 0x200
jmp case.0x401256.74
mov ebx, str.0123456789ABCDEFXP
cmp byte [esp + 8], 0x45
je 0x401367
mov ebx, str.0123456789abcdefxp
mov esi, edx
mov eax, 6
mov ecx, dword [esp + 4]
cmp ecx, 0xffffffff
je 0x401379
mov eax, ecx
mov dword [esp], eax
or eax, 0x80000000
mov ecx, dword [esp + 0x24]
fld qword [ecx]
sub esp, 0x1c
mov dword [esp + 0x18], eax
fstp qword [esp + 0x10]
lea eax, [esp + 0x54]
mov dword [esp + 0xc], eax
lea eax, [esp + 0x78]
mov dword [esp + 8], eax
lea eax, [esp + 0x3c]
mov dword [esp + 4], eax
lea eax, [esp + 0x2c]
mov dword [esp], eax
call fcn.00403640
add esp, 0x1c
mov edx, esi
test eax, eax
je 0x4013c5
or edx, 0x80
add dword [esp + 0x24], 8
mov byte [esp + 0x30], 0
mov byte [esp + 0x3c], 0
mov al, 0x2d
test dl, dl
js 0x4013e8
mov al, 0x20
test dl, 4
jne 0x4013e8
mov al, 0x2b
test dl, 2
je 0x4013f1
mov byte [esp + 0x3c], 1
mov byte [esp + 0x3d], al
mov edi, dword [esp + 0x38]
mov esi, dword [esp + 0x10]
cmp edi, 0x7000
jne 0x4015d8
mov dword [esp + 8], 0
mov dword [esp + 0x14], esi
jmp 0x4028c4
mov eax, str.0123456789ABCDEFXP
cmp byte [esp + 8], 0x41
je 0x401427
mov eax, str.0123456789abcdefxp
mov dword [esp + 0x2c], eax
mov edi, 6
mov eax, dword [esp + 4]
cmp eax, 0xffffffff
je 0x40143b
mov edi, eax
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + 4]
test ecx, ecx
jns 0x40144c
or edx, 0x80
mov eax, dword [esp + 0x24]
mov ebx, dword [eax]
mov al, 0x2d
test dl, dl
js 0x40158a
mov al, 0x20
test dl, 4
jne 0x40158a
mov al, 0x2b
test dl, 2
jne 0x40158a
mov dword [esp + 0x14], 0
jmp 0x401594
mov dword [esp], str.0123456789ABCDEFXP
mov eax, dword [esp + 8]
cmp al, 0x42
je 0x401495
mov dword [esp], str.0123456789abcdefxp
mov byte [esp + 0x3c], 0
test dl, 8
je 0x4014b4
cmp al, 0x42
setne al
mov word [esp + 0x3c], 0x3002
shl al, 5
or al, 0x42
mov byte [esp + 0x3e], al
mov dword [esp + 0x20], 0x180
mov ecx, 1
jmp 0x4019e6
mov ebx, str.0123456789ABCDEFXP
cmp byte [esp + 8], 0x47
je 0x4014d7
mov ebx, str.0123456789abcdefxp
mov edi, edx
mov eax, dword [esp + 0x24]
fld qword [eax]
mov ecx, dword [esp + 4]
cmp ecx, 1
mov eax, ecx
adc eax, 0
mov esi, 6
cmp ecx, 0xffffffff
je 0x4014f7
mov esi, eax
lea eax, [esi - 1]
or eax, 0x80000000
sub esp, 0x1c
fstp qword [esp + 0x10]
lea ecx, [esp + 0x54]
mov dword [esp + 0xc], ecx
lea ecx, [esp + 0x78]
mov dword [esp + 8], ecx
lea ecx, [esp + 0x3c]
mov dword [esp + 4], ecx
lea ecx, [esp + 0x2c]
mov dword [esp], ecx
mov dword [esp + 0x18], eax
call fcn.00403640
add esp, 0x1c
test eax, eax
je 0x40153b
or edi, 0x80
mov eax, dword [esp + 0x20]
cmp eax, esi
jb 0x401545
mov eax, esi
mov dword [esp + 0xc], edi
mov ecx, eax
mov dword [esp], eax
cmp eax, 2
jb 0x40196b
mov edx, dword [esp + 0x10]
mov ecx, esi
nop
nop
nop
mov edi, dword [esp]
cmp byte [edx + edi - 1], 0x30
jne 0x401fea
lea eax, [ecx - 1]
dec edi
mov dword [esp], edi
cmp edi, 2
jb 0x401fec
cmp ecx, 1
mov ecx, eax
jne 0x401560
jmp 0x401fec
mov byte [esp + 0x3d], al
mov al, 1
mov dword [esp + 0x14], eax
mov esi, ecx
and esi, 0xfffff
shr ecx, 0x14
and ecx, 0x7ff
mov dword [esp + 0xc], edx
mov dword [esp + 4], edi
je 0x401db2
add ecx, 0xfffffc01
mov dword [esp + 0x4c], ecx
mov eax, 0xffffffff
add ebx, eax
mov eax, 0xfffff
adc esi, eax
add ebx, 1
mov edi, ebx
adc esi, 0
jmp 0x401dcc
mov dword [esp + 0x14], ebx
mov dword [esp + 0xc], edx
movzx ecx, byte [esi]
mov byte [esp + 0x9c], cl
lea eax, [esp + 0x9d]
mov dword [esp + 4], eax
cmp dword [esp], 0
mov ebx, esi
je 0x401616
movzx ecx, byte [section..data]
mov byte [esp + 0x9d], cl
lea eax, [esp + 0x9e]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x20]
lea edx, [eax - 1]
cmp edx, dword [esp]
jbe 0x40162a
mov eax, dword [esp]
inc eax
mov dword [esp + 0x20], eax
mov dword [esp + 8], eax
cmp eax, 2
jb 0x4016e2
mov eax, dword [esp]
mov ecx, eax
cmp eax, edx
jb 0x401642
mov ecx, edx
lea esi, [ecx - 1]
mov edx, 1
cmp esi, 7
jb 0x4016b9
mov dword [esp + 0x2c], edi
mov esi, ecx
and esi, 0xfffffff8
xor edx, edx
mov edi, dword [esp + 4]
nop
nop
movzx eax, byte [ebx + edx + 1]
mov byte [edi + edx], al
movzx eax, byte [ebx + edx + 2]
mov byte [edi + edx + 1], al
movzx eax, byte [ebx + edx + 3]
mov byte [edi + edx + 2], al
movzx eax, byte [ebx + edx + 4]
mov byte [edi + edx + 3], al
movzx eax, byte [ebx + edx + 5]
mov byte [edi + edx + 4], al
movzx eax, byte [ebx + edx + 6]
mov byte [edi + edx + 5], al
movzx eax, byte [ebx + edx + 7]
mov byte [edi + edx + 6], al
movzx eax, byte [ebx + edx + 8]
mov byte [edi + edx + 7], al
add edx, 8
cmp esi, edx
jne 0x401660
add edi, edx
mov dword [esp + 4], edi
inc edx
mov edi, dword [esp + 0x2c]
and ecx, 7
je 0x4016e2
add ebx, edx
xor edx, edx
mov esi, dword [esp + 4]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx eax, byte [ebx + edx]
mov byte [esi + edx], al
inc edx
cmp ecx, edx
jne 0x4016d0
add esi, edx
mov dword [esp + 4], esi
mov eax, dword [esp + 0x14]
movzx eax, byte [eax + 0xe]
mov byte [esp + 0x31], al
test edi, edi
jle 0x401f12
dec edi
mov byte [esp + 0x32], 0x2b
mov esi, edi
jmp 0x401f1e
mov ecx, dword [esp + 0x24]
lea eax, [ecx + 8]
mov esi, dword [ecx]
mov ecx, dword [ecx + 4]
cmp byte [esp + 8], 0x75
je 0x40172f
test ecx, ecx
jns 0x40172f
neg esi
mov ebx, esi
mov esi, ecx
mov ecx, 0
sbb ecx, esi
mov esi, ebx
or edx, 0x80
mov dword [esp + 0x24], eax
mov dword [esp], ecx
test edx, 0x100
jne 0x401897
mov dword [esp + 8], esi
movzx ecx, byte [0x44a001]
mov eax, ecx
xor al, 0xb3
mov byte [esp + 0x2c], al
mov eax, ecx
add al, cl
and al, 0x66
sub cl, al
add cl, 0xb3
mov byte [esp + 0x14], cl
mov esi, 0x200
xor edi, edi
mov dword [esp + 0xc], edx
nop
mov ebx, dword [esp + 8]
cmp ebx, 0x5f5e100
mov ecx, dword [esp]
mov eax, ecx
sbb eax, 0
jb 0x4017b0
push 0
push 0x5f5e100
push ecx
push ebx
call fcn.0040c4a0
mov dword [esp], edx
mov edx, dword [esp + 0xc]
imul ecx, eax, 0x5f5e100
sub ebx, ecx
mov dword [esp + 8], eax
jmp 0x4017bf
mov dword [esp], 0
mov dword [esp + 8], 0
lea eax, [esp + 0x54]
lea ecx, [eax + esi]
test dl, 0x40
jne 0x401873
mov dword [esp + 0x4c], ecx
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
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 + 0x5a], ax
add esi, 0xfffffffe
cmp ecx, 0x64
mov ecx, edx
jae 0x4017e0
mov edx, dword [esp + 0xc]
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 8]
or eax, dword [esp]
jne 0x401827
jmp 0x4018d5
inc edi
mov byte [esp + esi + 0x5b], 0x30
dec esi
lea eax, [esp + esi]
add eax, 0x5c
cmp eax, ecx
je 0x401770
test dl, 0x40
je 0x401821
cmp edi, 3
jne 0x401820
movzx eax, byte [esp + 0x14]
mov byte [esp + esi + 0x5b], al
dec esi
dec ecx
xor edi, edi
jmp 0x401827
inc edi
mov eax, ebx
mov edx, 0xcccccccd
mul edx
shr edx, 3
lea eax, [edx + edx]
lea eax, [eax + eax*4]
sub ebx, eax
or bl, 0x30
mov byte [esp + esi + 0x5b], bl
dec esi
mov ebx, edx
mov edx, dword [esp + 0xc]
test ebx, ebx
je 0x401812
test dl, 0x40
je 0x401851
cmp edi, 3
jne 0x401850
movzx eax, byte [esp + 0x2c]
mov byte [esp + esi + 0x5b], al
dec esi
dec ecx
xor edi, edi
test ebx, ebx
jne 0x401877
jmp 0x401812
mov eax, 1
mov ecx, dword [esp + 4]
cmp ecx, 0xffffffff
je 0x4018a7
mov eax, ecx
mov dword [esp + 4], 0
cmp esi, 0x400
mov ecx, dword [esp]
sbb ecx, 0
jb 0x4018c1
mov dword [esp + 4], eax
mov dword [esp + 0x50], esi
mov eax, dword [esp]
mov dword [esp + 0x54], eax
fild qword [esp + 0x50]
jmp 0x401cf3
cmp byte [esp + esi + 0x5c], 0x30
sete al
cmp esi, 0x200
setne cl
mov byte [esp + 0x30], 0
mov byte [esp + 0x3c], 0
mov ebx, edx
mov dl, 0x2d
test bl, bl
js 0x40190a
mov dl, 0x20
test byte [esp + 0xc], 4
jne 0x40190a
mov dl, 0x2b
test byte [esp + 0xc], 2
je 0x401913
mov byte [esp + 0x3c], 1
mov byte [esp + 0x3d], dl
and cl, al
movzx eax, cl
add esi, eax
lea eax, [esp + esi]
add eax, 0x5c
lea edx, [esi - 0x200]
neg edx
mov dword [esp + 0x20], edx
cmp esi, 0x200
jne 0x401ede
mov byte [eax - 1], 0x30
dec eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x20], 1
mov eax, 1
mov edx, dword [esp + 0xc]
jmp 0x401eea
inc ecx
jmp 0x401261
add ecx, 2
or edx, 0x200
jmp case.0x401256.74
mov eax, esi
jmp 0x401fec
and edx, 0xffffffef
mov dword [esp + 4], 8
mov dword [esp], str.0123456789ABCDEFXP
mov eax, dword [esp + 8]
cmp al, 0x58
je 0x401993
mov dword [esp], str.0123456789abcdefxp
mov dword [esp + 0x20], 0x440
mov byte [esp + 0x3c], 0
mov ecx, 4
test dl, 8
je 0x4019e6
cmp al, 0x58
setne al
mov word [esp + 0x3c], 0x3002
shl al, 5
or al, 0x58
mov byte [esp + 0x3e], al
jmp 0x4019e6
mov byte [esp + 0x3c], 0
test dl, 8
je 0x4019d2
mov word [esp + 0x3c], 0x3001
mov dword [esp + 0x20], 0x330
mov dword [esp], str.0123456789ABCDEFXP
mov ecx, 3
mov dword [esp + 0xc], edx
test dl, 0x20
jne 0x401a00
mov edx, dword [esp + 0x24]
mov edi, dword [edx]
add edx, 4
mov dword [esp + 0x24], edx
xor esi, esi
jmp 0x401a10
mov edx, dword [esp + 0x24]
mov edi, dword [edx]
mov esi, dword [edx + 4]
add edx, 8
mov dword [esp + 0x24], edx
mov dword [esp + 0x38], 0
mov byte [esp + 0x30], 0
mov edx, edi
or edx, esi
jne 0x401a33
mov byte [esp + 0x3c], 0
cmp dword [esp + 4], 0
je 0x401d85
mov edx, 0xffffffff
shl edx, cl
not edx
and edx, edi
mov ebx, dword [esp + 0x20]
mov cl, bh
shrd edi, esi, cl
mov eax, dword [esp]
movzx ecx, byte [eax + edx]
mov byte [esp + 0x25b], cl
mov cl, bh
shr esi, cl
mov dword [esp + 8], ebx
test bh, 0x20
je 0x401a66
mov edi, esi
xor esi, esi
mov ecx, edi
or ecx, esi
mov edx, dword [esp + 4]
jne 0x401a8a
mov ecx, 1
cmp edx, 2
jge 0x401a8a
lea eax, [esp + 0x25b]
mov dword [esp + 0x14], eax
jmp 0x401b5b
lea ecx, [esp + 0x25b]
mov dword [esp + 0x14], ecx
lea edx, [esp + 0x25c]
nop
nop
nop
nop
test byte [esp + 0xc], 0x40
jne 0x401ab0
mov edx, dword [esp + 0x14]
jmp 0x401b00
mov ebx, dword [esp + 8]
inc ebx
mov dword [esp + 0x20], ebx
mov ecx, ebx
shr ecx, 4
xor ecx, ebx
test cl, 0xf
mov ecx, dword [esp + 0x14]
je 0x401ad1
mov dword [esp + 8], ebx
mov edx, ecx
jmp 0x401b00
and ebx, 0xfffffff0
mov dword [esp + 0x20], ebx
movzx ecx, byte [0x44a001]
mov ch, cl
add ch, cl
and ch, 0x66
sub cl, ch
add cl, 0xb3
mov byte [edx - 2], cl
add edx, 0xfffffffe
mov eax, dword [esp + 0x20]
mov dword [esp + 8], eax
nop
nop
nop
nop
nop
nop
nop
mov ebx, 0xffffffff
mov eax, dword [esp + 8]
mov cl, ah
shl ebx, cl
not ebx
and ebx, edi
mov eax, dword [esp + 0x20]
mov cl, ah
shrd edi, esi, cl
mov ecx, dword [esp]
movzx ecx, byte [ecx + ebx]
mov byte [edx - 1], cl
mov cl, ah
shr esi, cl
mov dword [esp + 8], eax
test ah, 0x20
je 0x401b35
mov edi, esi
xor esi, esi
lea ecx, [edx - 1]
mov dword [esp + 0x14], ecx
mov ecx, edi
or ecx, esi
jne 0x401aa0
lea ecx, [esp + 0x25c]
sub ecx, dword [esp + 0x14]
cmp ecx, dword [esp + 4]
jl 0x401aa0
mov eax, dword [esp + 8]
shl eax, 0x14
and eax, 0xf000000
add eax, ecx
mov dword [esp + 8], eax
mov dword [esp + 0x20], ecx
mov dword [esp], 0
mov edx, dword [esp + 0xc]
jmp 0x401f09
mov eax, dword [esp + 0x24]
mov eax, dword [eax]
mov dword [esp + 0x14], str.null
test eax, eax
je 0x401b97
mov dword [esp + 0x14], eax
mov eax, dword [esp + 4]
mov esi, eax
test eax, eax
jns 0x401ba6
mov esi, 0xffffffff
mov eax, dword [esp + 0x14]
test al, 3
je 0x4026a0
lea ebx, [esi + eax]
cmp dword [esp + 4], 0
je 0x40289d
cmp byte [eax], 0
je 0x40282e
lea ecx, [eax + 1]
lea eax, [esi - 1]
test cl, 3
je 0x402841
test eax, eax
je 0x40289d
cmp byte [ecx], 0
je 0x401c40
mov eax, dword [esp + 0x14]
lea ecx, [eax + 2]
lea eax, [esi - 2]
test cl, 3
je 0x402841
test eax, eax
je 0x40289d
cmp byte [ecx], 0
je 0x401c40
mov eax, dword [esp + 0x14]
lea ecx, [eax + 3]
lea eax, [esi - 3]
test cl, 3
je 0x402841
test eax, eax
je 0x40289d
cmp byte [ecx], 0
je 0x401c40
mov eax, dword [esp + 0x14]
lea ecx, [eax + 4]
add esi, 0xfffffffc
test cl, 3
je 0x402843
test esi, esi
je 0x40289d
mov ebx, ecx
jmp 0x40289d
mov eax, dword [esp + 8]
mov byte [esp + 0x25b], al
mov dword [esp + 0x20], 1
mov byte [esp + 0x3c], 0
mov byte [esp + 0x30], 0
mov dword [esp + 0x38], 0
mov dword [esp + 8], 0
lea eax, [esp + 0x25b]
mov dword [esp + 0x14], eax
xor edx, edx
mov dword [esp], 0
xor esi, esi
mov dword [esp + 0x44], 0
jmp 0x4028cd
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 + 0x3c], 0
mov byte [esp + 0x30], 0
mov dword [esp + 0x38], 0
mov dword [esp + 8], 0
lea eax, [esp + 0x25b]
jmp 0x402357
mov eax, dword [esp + 0x24]
fld qword [eax]
add eax, 8
mov dword [esp + 0x24], eax
test edx, 0x100
je 0x4020c8
xor eax, eax
test edx, 0x800
sete al
fld qword [eax*8 + 0x447550]
cmp edx, 0x3ffffff
ja 0x401d2f
fld st(0)
fchs
fxch st(1)
fucom st(2)
fnstsw ax
sahf
jbe 0x40204e
fxch st(2)
fucom st(1)
fnstsw ax
sahf
fxch st(2)
jbe 0x40204e
fstp st(0)
fstp st(0)
jmp 0x4020c8
mov edx, dword [esp + 0x24]
mov eax, dword [edx]
mov ecx, edi
mov ebx, edi
mov edi, dword [esp + 0x1c]
sub ecx, edi
add ecx, esi
mov dword [eax], ecx
add edx, 4
mov dword [esp + 0x24], edx
mov edx, edi
mov edi, ebx
mov eax, dword [esp + 0x48]
jmp 0x403578
cmp byte [ecx + 2], 0x32
je 0x401d68
mov ecx, eax
jmp 0x401d6b
add ecx, 3
mov edi, dword [esp + 0x18]
jmp case.0x401256.74
mov dword [esp + 0x48], eax
mov eax, dword [esp + 8]
mov edi, dword [esp + 0x18]
jmp 0x401265
mov dword [esp + 0x20], 0
mov dword [esp + 8], 0
lea eax, [esp + 0x25c]
mov dword [esp + 0x14], eax
mov dword [esp], 0
xor esi, esi
mov edx, dword [esp + 0xc]
jmp 0x4028cd
mov ecx, ebx
or ecx, esi
mov eax, 0
je 0x401dc2
mov eax, 0xfffffc02
mov edi, ebx
mov dword [esp + 0x4c], eax
mov dword [esp + 0x38], eax
mov eax, dword [esp + 4]
lea ecx, [eax*4]
xor ebx, ebx
mov eax, 0x8000000
shrd ebx, eax, cl
mov edx, 0x8000000
shr edx, cl
test cl, 0x20
je 0x401df1
mov ebx, edx
xor edx, edx
cmp dword [esp + 4], 0xf
jl 0x401dfc
xor ebx, ebx
xor edx, edx
shld esi, edi, 8
shl edi, 8
add edi, ebx
mov ebx, edi
adc esi, edx
mov edx, dword [esp + 0x14]
movzx ecx, dl
lea eax, [esp + 0x3c]
mov word [ecx + eax + 1], 0x7830
or dl, 2
mov byte [esp + 0x3c], dl
mov ecx, esi
shr ecx, 0x1c
mov eax, dword [esp + 0x2c]
movzx ecx, byte [eax + ecx]
mov byte [esp + 0x9c], cl
mov edi, dword [esp + 4]
test edi, edi
je 0x401eca
movzx ecx, byte [section..data]
mov byte [esp + 0x9d], cl
lea eax, [esp + 0x9e]
mov dword [esp + 0x10], eax
mov ecx, edi
cmp edi, 0xd
jb 0x401e67
mov ecx, 0xd
mov eax, edi
sub eax, ecx
jg 0x401e6f
xor eax, eax
mov dword [esp], eax
mov edx, ecx
and edx, 3
je 0x402125
mov dword [esp + 0x14], ecx
mov edi, ebx
xor ebx, ebx
mov ecx, dword [esp + 0x2c]
nop
nop
nop
nop
nop
nop
nop
mov eax, esi
shr eax, 0x18
and eax, 0xf
movzx eax, byte [ecx + eax]
shld esi, edi, 4
mov byte [esp + ebx + 0x9e], al
shl edi, 4
inc ebx
cmp edx, ebx
jne 0x401e90
lea eax, [esp + 0x9e]
lea edx, [eax + ebx]
mov ecx, dword [esp + 0x14]
sub ecx, ebx
mov ebx, edi
mov edi, dword [esp + 4]
jmp 0x40212c
lea edx, [esp + 0x9d]
mov dword [esp + 0x10], edx
xor edi, edi
mov esi, edx
jmp 0x4021a0
mov ecx, edx
mov dword [esp + 0x14], eax
mov edx, dword [esp + 0xc]
mov eax, ecx
mov dword [esp], 0
cmp dword [esp + 4], 0
jg 0x401f00
mov dword [esp + 4], 0
add eax, 0x3000000
mov dword [esp + 8], eax
mov esi, dword [esp + 4]
jmp 0x4028cd
mov byte [esp + 0x32], 0x2d
mov esi, 1
sub esi, edi
cmp esi, 0x64
mov edi, 4
sbb edi, 0xffffffff
mov eax, esi
mov ecx, 0xcccccccd
mul ecx
shr edx, 2
and edx, 0xfffffffe
lea eax, [edx + edx*4]
mov dword [esp + 0x14], eax
mov ebx, esi
mov eax, esi
mov ecx, 0x66666667
imul ecx
mov ecx, edx
mov eax, edx
shr eax, 0x1f
sar ecx, 2
add ecx, eax
mov eax, ecx
mov edx, 0x66666667
imul edx
sub ebx, dword [esp + 0x14]
mov eax, edx
shr eax, 0x1f
sar edx, 2
add edx, eax
add edx, edx
lea edx, [edx + edx*4]
mov eax, ecx
sub eax, edx
or bl, 0x30
mov edx, edi
mov byte [esp + 0x30], dl
mov byte [esp + edi + 0x30], bl
add al, 0x30
mov byte [esp + edi + 0x2f], al
cmp esi, 0x64
jb 0x401fca
mov eax, esi
mov ecx, 0x51eb851f
imul ecx
mov ecx, edx
mov eax, edx
shr eax, 0x1f
sar ecx, 5
add ecx, eax
mov eax, ecx
mov edx, 0x66666667
imul edx
mov eax, edx
shr eax, 0x1f
shr edx, 2
add edx, eax
add edx, edx
lea eax, [edx + edx*4]
mov edx, ecx
sub edx, eax
add dl, 0x30
lea eax, [esp + 0x30]
mov byte [edi + eax - 2], dl
mov edi, dword [esp]
sub edi, dword [esp + 8]
inc edi
mov dword [esp], edi
mov dword [esp + 0x38], ecx
mov dword [esp + 8], 0x3000001
mov edx, dword [esp + 0xc]
jmp 0x402812
mov eax, ecx
add dword [esp + 0x24], 8
mov ecx, dword [esp]
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x38]
cmp ecx, 0xfffffffd
mov edx, dword [esp + 0xc]
jl 0x402026
cmp ecx, esi
jg 0x402026
test ecx, ecx
jle 0x40230a
sub dword [esp], ecx
jg 0x402318
mov dword [esp], 0
jmp 0x402318
mov ecx, dword [esp]
cmp eax, ecx
jle 0x402036
dec ecx
mov dword [esp], ecx
jmp 0x4013ca
mov dword [esp], 0
sub eax, 1
jb 0x4013ca
mov dword [esp], eax
jmp 0x4013ca
fdiv st(2), st(0)
lea ecx, [edx + 0x1000000]
cmp edx, 0x2ffffff
ja 0x4020c2
fucom st(2)
fnstsw ax
sahf
jbe 0x402070
fxch st(2)
fucom st(1)
fnstsw ax
sahf
fxch st(2)
ja 0x4020c2
fdiv st(2), st(0)
lea ecx, [edx + 0x2000000]
cmp edx, 0x1ffffff
ja 0x4020c2
fucom st(2)
fnstsw ax
sahf
jbe 0x402092
fxch st(2)
fucom st(1)
fnstsw ax
sahf
fxch st(2)
ja 0x4020c2
fdiv st(2), st(0)
lea ecx, [edx + 0x3000000]
cmp edx, 0xffffff
ja 0x4020c2
fucom st(2)
fnstsw ax
sahf
jbe 0x4035e6
fxch st(2)
fucom st(1)
fstp st(1)
fnstsw ax
sahf
fldz
fxch st(1)
fxch st(2)
jbe 0x4035e6
fstp st(0)
fstp st(0)
mov edx, ecx
mov esi, edx
mov ecx, 6
mov eax, dword [esp + 4]
cmp eax, 0xffffffff
je 0x4020da
mov ecx, eax
sub esp, 0x1c
fstp qword [esp + 0x10]
lea eax, [esp + 0x54]
mov dword [esp + 0xc], eax
lea eax, [esp + 0x78]
mov dword [esp + 8], eax
lea eax, [esp + 0x3c]
mov dword [esp + 4], eax
lea eax, [esp + 0x2c]
mov dword [esp], eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], ecx
call fcn.00403640
add esp, 0x1c
mov edx, esi
test eax, eax
je 0x402318
or edx, 0x80
jmp 0x402318
lea edx, [esp + 0x9e]
cmp edi, 4
jb 0x402196
mov edi, ebx
mov ebx, esi
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov dword [esp + 0x14], ecx
mov eax, esi
shr eax, 0x18
and eax, 0xf
mov ecx, dword [esp + 0x2c]
movzx eax, byte [ecx + eax]
mov byte [edx], al
mov eax, esi
shr eax, 0x14
and eax, 0xf
movzx eax, byte [ecx + eax]
mov byte [edx + 1], al
mov eax, esi
shr eax, 0x10
and eax, 0xf
movzx eax, byte [ecx + eax]
mov byte [edx + 2], al
shld ebx, edi, 0x10
shl edi, 0x10
shr esi, 0xc
and esi, 0xf
movzx eax, byte [ecx + esi]
mov ecx, dword [esp + 0x14]
mov byte [edx + 3], al
add edx, 4
mov esi, ebx
add ecx, 0xfffffffc
jne 0x402140
lea esi, [esp + 0x9e]
mov edi, dword [esp]
mov eax, dword [esp + 8]
cmp al, 0x41
setne al
shl al, 5
or al, 0x50
mov byte [esp + 0x31], al
mov eax, dword [esp + 0x4c]
test eax, eax
js 0x4021c1
mov byte [esp + 0x32], 0x2b
jmp 0x4021c8
mov byte [esp + 0x32], 0x2d
neg eax
cmp eax, 0x3e7
mov dword [esp], edi
mov dword [esp + 0x14], edx
ja 0x4021ed
cmp eax, 0x63
jbe 0x4022ea
mov dword [esp + 8], esi
mov dword [esp + 4], 5
jmp 0x4021f9
mov dword [esp + 8], esi
mov dword [esp + 4], 6
mov dword [esp + 0x2c], 0
mov edi, eax
mov ecx, 0xcccccccd
mul ecx
shr edx, 2
and edx, 0xfffffffe
lea ebx, [edx + edx*4]
mov eax, edi
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 eax, edi
sub eax, ebx
mov ebx, dword [esp + 4]
mov byte [esp + 0x30], bl
or al, 0x30
mov byte [esp + ebx + 0x30], al
mov eax, edx
shr eax, 0x1f
sar edx, 2
add edx, eax
add edx, edx
lea eax, [edx + edx*4]
sub ecx, eax
add cl, 0x30
mov byte [esp + ebx + 0x2f], cl
cmp byte [esp + 0x2c], 0
mov ecx, 0x51eb851f
mov esi, dword [esp + 8]
jne 0x4026e8
mov eax, edi
imul ecx
mov ecx, edx
mov eax, edx
shr eax, 0x1f
sar ecx, 5
add ecx, eax
mov eax, ecx
mov edx, 0x66666667
imul edx
mov eax, edx
shr eax, 0x1f
sar edx, 2
add edx, eax
add edx, edx
lea eax, [edx + edx*4]
sub ecx, eax
add cl, 0x30
lea eax, [esp + 0x30]
mov byte [ebx + eax - 2], cl
cmp edi, 0x3e8
jb 0x4026e8
mov eax, edi
mov ecx, 0x10624dd3
imul ecx
mov ecx, edx
mov eax, edx
shr eax, 0x1f
sar ecx, 6
add ecx, eax
mov eax, ecx
mov edx, 0x66666667
imul edx
mov eax, edx
shr eax, 0x1f
shr edx, 2
add edx, eax
add edx, edx
lea eax, [edx + edx*4]
sub ecx, eax
add cl, 0x30
lea eax, [esp + 0x30]
mov byte [ebx + eax - 3], cl
jmp 0x4026e8
cmp eax, 9
jbe 0x4026dd
mov dword [esp + 8], esi
mov dword [esp + 4], 4
mov cl, 1
mov dword [esp + 0x2c], ecx
jmp 0x402201
mov esi, dword [esp]
cmp eax, esi
jl 0x402313
mov eax, esi
sub eax, ecx
mov dword [esp], eax
mov byte [esp + 0x30], 0
mov byte [esp + 0x3c], 0
mov al, 0x2d
test dl, dl
js 0x402336
mov al, 0x20
test dl, 4
jne 0x402336
mov al, 0x2b
test dl, 2
je 0x40233f
mov byte [esp + 0x3c], 1
mov byte [esp + 0x3d], al
mov ecx, dword [esp + 0x38]
cmp ecx, 0x7000
jne 0x402360
mov dword [esp + 8], 0
mov eax, dword [esp + 0x10]
mov dword [esp + 0x14], eax
jmp 0x4028c4
test ecx, ecx
mov dword [esp + 0xc], edx
jle 0x4023f9
xor esi, esi
test dl, 0x40
je 0x40238e
mov esi, 0x258
sub esi, ecx
mov eax, esi
mov edx, 0xaaaaaaab
mul edx
shr edx, 1
lea eax, [edx + edx*2]
mov edx, dword [esp + 0xc]
sub esi, eax
cmp ecx, dword [esp + 0x20]
jae 0x402515
xor eax, eax
lea edi, [esp + 0x9c]
jmp 0x4023ca
mov edx, edi
mov ecx, dword [esp + 0x10]
movzx ecx, byte [ecx + eax]
inc edi
mov byte [edx], cl
inc eax
mov ecx, dword [esp + 0x38]
cmp eax, ecx
jae 0x402584
mov ecx, dword [esp + 0xc]
test cl, 0x40
je 0x4023b0
inc esi
cmp esi, 4
jne 0x4023b0
mov esi, ecx
and esi, 0x40
shr esi, 6
movzx ecx, byte [0x44a001]
mov edx, ecx
add dl, cl
and dl, 0x66
sub cl, dl
add cl, 0xb3
mov byte [edi], cl
inc edi
jmp 0x4023b0
mov byte [esp + 0x9c], 0x30
lea edi, [esp + 0x9d]
mov edx, dword [esp]
test edx, edx
je 0x402424
movzx eax, byte [section..data]
mov byte [esp + 0x9d], al
lea edi, [esp + 0x9e]
neg ecx
mov ebx, edx
cmp edx, ecx
jl 0x40242e
mov ebx, ecx
test ebx, ebx
mov dword [esp + 0x14], ebx
je 0x402462
mov eax, edi
and eax, 3
je 0x402462
mov esi, edi
not esi
and esi, 3
dec ebx
cmp esi, ebx
jb 0x40244b
mov esi, ebx
lea eax, [esi + 1]
push eax
push 0x30
push edi
call fcn.0040c720
add esp, 0xc
add edi, esi
inc edi
sub ebx, esi
mov edx, dword [esp]
cmp ebx, 4
jl 0x40249a
mov eax, ebx
cmp ebx, 7
jl 0x402473
mov eax, 7
neg eax
lea esi, [ebx + eax]
add esi, 3
and esi, 0xfffffffc
lea eax, [esi + 4]
push eax
push 0x30
push edi
call fcn.0040c720
add esp, 0xc
add edi, esi
add edi, 4
sub ebx, esi
add ebx, 0xfffffffc
mov edx, dword [esp]
test ebx, ebx
je 0x4024b0
push ebx
push 0x30
push edi
call fcn.0040c720
mov edx, dword [esp + 0xc]
add esp, 0xc
add edi, ebx
mov eax, dword [esp + 0x20]
mov ebx, dword [esp + 0x14]
lea ecx, [eax + ebx]
cmp ecx, edx
jle 0x4024c8
mov eax, dword [esp]
sub eax, ebx
mov dword [esp + 0x20], eax
test eax, eax
je 0x40277e
mov esi, dword [esp]
mov dword [esp + 8], esi
cmp esi, ecx
jl 0x4024df
mov dword [esp + 8], ecx
mov ecx, eax
and ecx, 3
je 0x402726
xor esi, esi
nop
nop
nop
nop
mov ebx, dword [esp + 0x10]
lea edx, [ebx + 1]
mov dword [esp + 0x10], edx
movzx edx, byte [ebx]
mov byte [edi + esi], dl
inc esi
cmp ecx, esi
jne 0x4024f0
add edi, esi
mov ecx, eax
sub ecx, esi
mov ebx, dword [esp + 0x14]
jmp 0x402728
mov dword [esp + 0x14], esi
xor eax, eax
mov esi, 0xffffffff
mov ebx, 1
lea edi, [esp + 0x9c]
jmp 0x40254b
mov ecx, dword [esp + 0x10]
movzx ecx, byte [ecx + ebx - 1]
mov byte [edi], cl
mov ecx, edi
inc edi
inc eax
dec esi
inc ebx
cmp eax, dword [esp + 0x20]
jae 0x40260e
test dl, 0x40
je 0x402530
mov ecx, dword [esp + 0x14]
inc ecx
mov dword [esp + 0x14], ecx
cmp ecx, 4
jne 0x402530
and edx, 0x40
shr edx, 6
mov dword [esp + 0x14], edx
movzx ecx, byte [0x44a001]
mov edx, ecx
add dl, cl
and dl, 0x66
sub cl, dl
mov edx, dword [esp + 0xc]
add cl, 0xb3
mov byte [edi], cl
inc edi
jmp 0x402530
mov esi, edi
mov dword [esp + 4], edi
cmp dword [esp], 0
je 0x4025a5
movzx ecx, byte [section..data]
mov byte [edx + 1], cl
add edx, 2
mov ecx, dword [esp + 0x38]
mov dword [esp + 4], edx
mov edx, dword [esp + 0x20]
mov esi, edx
sub esi, ecx
cmp esi, dword [esp]
jbe 0x4025bb
mov edx, dword [esp]
add edx, ecx
mov dword [esp + 0x20], edx
cmp eax, edx
jae 0x4025ec
mov esi, dword [esp + 4]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [esp + 0x10]
movzx ecx, byte [ecx + eax]
mov byte [esi], cl
inc esi
inc eax
mov edx, dword [esp + 0x20]
cmp eax, edx
jb 0x4025d0
mov dword [esp + 4], esi
mov ecx, dword [esp + 0x38]
lea eax, [esp + 0x9c]
sub edi, eax
add edi, 0x3000000
mov dword [esp + 8], edi
mov eax, dword [esp]
sub eax, edx
add eax, ecx
mov dword [esp], eax
jmp 0x40278f
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 8], ecx
sub ecx, eax
jbe 0x4026a7
test dl, 0x40
jne 0x402832
cmp dword [esp + 8], eax
je 0x403582
mov eax, edi
and eax, 3
je 0x403582
mov ecx, 2
sub ecx, dword [esp + 4]
and ecx, 3
mov eax, dword [esp + 8]
sub eax, ebx
mov edx, ecx
mov dword [esp + 0x2c], ecx
cmp ecx, eax
jb 0x40265e
mov edx, eax
mov dword [esp + 0x4c], edx
lea eax, [edx + 1]
push eax
push 0x30
push edi
call fcn.0040c720
add esp, 0xc
add esi, dword [esp + 8]
mov eax, dword [esp + 0x2c]
cmp esi, eax
jb 0x40267f
mov esi, eax
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x4c]
lea edi, [eax + ecx]
add edi, 2
mov eax, dword [esp + 8]
sub eax, esi
sub eax, ebx
mov ebx, eax
mov edx, dword [esp + 0xc]
jmp 0x403584
mov ecx, eax
jmp 0x402843
mov dword [esp + 4], edi
mov esi, dword [esp + 4]
mov ecx, esi
lea eax, [esp + 0x9c]
sub ecx, eax
add ecx, 0x3000000
mov dword [esp + 8], ecx
cmp dword [esp], 0
je 0x40271d
movzx eax, byte [section..data]
mov byte [esi], al
inc esi
mov dword [esp + 4], esi
jmp 0x402793
mov byte [esp + 0x30], 3
or al, 0x30
mov byte [esp + 0x33], al
add dword [esp + 0x24], 8
mov ecx, dword [esp + 0x14]
mov eax, ecx
sub eax, esi
mov dword [esp + 0x38], eax
lea eax, [esp + 0x9c]
sub ecx, eax
mov dword [esp + 0x20], ecx
xor esi, esi
mov dword [esp + 8], 0x3000001
mov dword [esp + 0x14], eax
mov edx, dword [esp + 0xc]
jmp 0x4028cd
mov dword [esp], 0
jmp 0x402793
mov ecx, eax
mov edx, ebx
sub edx, dword [esp + 8]
cmp edx, 0xfffffffc
ja 0x40277e
mov edx, dword [esp + 0x10]
lea esi, [edx + 1]
mov dword [esp + 0x10], esi
movzx edx, byte [edx]
mov byte [edi], dl
mov edx, dword [esp + 0x10]
lea esi, [edx + 1]
mov dword [esp + 0x10], esi
movzx edx, byte [edx]
mov byte [edi + 1], dl
mov edx, dword [esp + 0x10]
lea esi, [edx + 1]
mov dword [esp + 0x10], esi
movzx edx, byte [edx]
mov byte [edi + 2], dl
mov edx, dword [esp + 0x10]
lea esi, [edx + 1]
mov dword [esp + 0x10], esi
movzx edx, byte [edx]
mov byte [edi + 3], dl
add edi, 4
add ecx, 0xfffffffc
jne 0x402733
mov dword [esp + 4], edi
add ebx, eax
sub dword [esp], ebx
mov dword [esp + 8], 0x3000001
mov edx, dword [esp + 0xc]
test edx, 0x100
je 0x402812
mov eax, edx
and eax, 0x400
sete byte [esp + 0x30]
mov byte [esp + 0x31], 0x20
cmp edx, 0x1000000
jb 0x402812
mov ecx, edx
shr ecx, 0x18
mov ebx, eax
shr ebx, 0xa
mov esi, edx
mov edx, 2
sub edx, ebx
cmp eax, 1
mov eax, 0
adc al, 1
test esi, 0x800
jne 0x4027e8
movzx ecx, byte [ecx + str._kMGT]
mov byte [esp + edx + 0x30], cl
mov edx, esi
jmp 0x40280e
movzx ecx, byte [ecx + str._KMGT]
mov byte [esp + edx + 0x30], cl
mov ecx, esi
and ecx, 0x1800
cmp ecx, 0x800
mov edx, esi
jne 0x40280e
movzx eax, al
mov byte [esp + eax + 0x31], 0x69
inc eax
mov byte [esp + 0x30], al
lea eax, [esp + 0x9c]
mov ecx, dword [esp + 4]
sub ecx, eax
mov dword [esp + 0x20], ecx
xor esi, esi
mov dword [esp + 0x14], eax
jmp 0x4028cd
mov ebx, eax
jmp 0x40289d
mov dword [esp + 4], edi
mov eax, dword [esp + 0x14]
mov ebx, ecx
jmp 0x4035c0
mov esi, eax
mov dword [esp], esi
mov dword [esp + 0xc], ecx
mov eax, ecx
nop
nop
nop
nop
mov ebx, eax
mov ecx, esi
cmp esi, 4
jb 0x40287b
mov edi, edx
mov edx, dword [ebx]
mov eax, edx
not eax
add edx, 0xfefefeff
and edx, eax
lea eax, [ebx + 4]
lea esi, [ecx - 4]
test edx, 0x80808080
mov edx, edi
je 0x402850
jmp 0x40287f
test ecx, ecx
je 0x40289d
mov eax, edx
mov esi, dword [esp + 0xc]
add esi, dword [esp]
xor edx, edx
cmp byte [ebx + edx], 0
je 0x402899
inc edx
cmp ecx, edx
jne 0x40288a
mov ebx, esi
jmp 0x40289b
add ebx, edx
mov edx, eax
add dword [esp + 0x24], 4
sub ebx, dword [esp + 0x14]
mov dword [esp + 0x20], ebx
mov byte [esp + 0x3c], 0
mov byte [esp + 0x30], 0
mov dword [esp + 0x38], 0
mov dword [esp + 8], 0
mov dword [esp], 0
xor esi, esi
mov dword [esp + 0xc], edx
mov ecx, dword [esp + 0x20]
cmp esi, ecx
mov edx, esi
jg 0x4028dd
mov edx, ecx
movsx eax, byte [esp + 0x3c]
movsx esi, byte [esp + 0x30]
mov edi, edx
mov edx, dword [esp]
mov dword [esp + 4], edi
add edx, edi
add edx, eax
add edx, esi
mov esi, dword [esp + 0x44]
cmp esi, edx
jg 0x402900
mov esi, edx
sub esi, edx
mov edx, esi
sub dword [esp + 4], ecx
mov ecx, dword [esp + 0xc]
test cl, 1
mov esi, dword [esp + 0x28]
mov edi, dword [esp + 0x18]
jne 0x402926
test cl, 0x10
jne 0x40292e
mov dword [esp + 0xc], 0
mov ecx, edx
mov edx, dword [esp + 4]
jmp 0x40293a
mov ecx, dword [esp + 4]
cmp edx, ecx
jg 0x402938
mov edx, ecx
xor ecx, ecx
mov dword [esp + 0x44], ecx
add ecx, edx
jne 0x40294b
mov edx, dword [esp + 0xc]
jmp 0x402e42
mov dword [esp + 4], edx
mov edx, dword [esp + 0xc]
test dl, 1
jne 0x402ab7
mov ecx, dword [esp + 0x44]
test ecx, ecx
jg 0x40298c
jmp 0x402ab7
mov esi, eax
mov dword [esp + 0x1c], eax
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x28]
sub ecx, ebx
test ecx, ecx
jle 0x402aae
mov eax, dword [esp + 0x1c]
sub eax, esi
add eax, 0x200
mov ebx, ecx
cmp ecx, eax
jl 0x40299f
mov ebx, eax
cmp dword [ebp + 8], 0
jne 0x4029a7
mov ebx, ecx
test ebx, ebx
mov dword [esp + 0x44], ecx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x18], edi
je 0x402a20
mov eax, esi
and eax, 3
je 0x402a20
mov eax, ebx
mov ecx, esi
not esi
and esi, 3
dec ebx
cmp esi, ebx
jb 0x4029ce
mov esi, ebx
lea eax, [esi + 1]
push eax
push 0x20
mov edi, ecx
push ecx
call fcn.0040c720
add esp, 0xc
lea ecx, [esi + edi]
inc ecx
mov eax, ebx
sub eax, esi
mov edi, dword [esp + 0x18]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x28]
mov esi, eax
cmp esi, 4
jge 0x402a29
test esi, esi
je 0x402a6f
push esi
push 0x20
mov edi, esi
mov esi, ecx
push ecx
call fcn.0040c720
mov edx, dword [esp + 0x18]
add esp, 0xc
add esi, edi
mov edi, dword [esp + 0x18]
jmp 0x402a71
mov ecx, esi
mov esi, ebx
cmp esi, 4
jl 0x4029fa
mov eax, esi
cmp esi, 7
jl 0x402a35
mov eax, 7
neg eax
mov ebx, esi
add esi, eax
add esi, 3
and esi, 0xfffffffc
lea eax, [esi + 4]
push eax
push 0x20
mov edi, ecx
push ecx
call fcn.0040c720
add esp, 0xc
lea ecx, [esi + edi]
add ecx, 4
sub ebx, esi
mov esi, ebx
add esi, 0xfffffffc
mov edi, dword [esp + 0x18]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x28]
test esi, esi
jne 0x4029fe
mov esi, ecx
cmp dword [ebp + 8], 0
mov ecx, dword [esp + 0x44]
je 0x402982
mov eax, esi
mov ebx, dword [esp + 0x1c]
sub eax, ebx
cmp eax, 0x1ff
jl 0x40297e
add edi, eax
push eax
push dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
call ebx
add esp, 0xc
test eax, eax
jne 0x402970
jmp 0x40361a
mov dword [esp + 0x44], ecx
movzx eax, byte [esp + 0x3c]
lea ecx, [esp + 0x3d]
mov dword [esp + 0x10], ecx
jmp 0x402adf
mov esi, eax
mov dword [esp + 0x1c], eax
mov edx, dword [esp + 0xc]
movzx eax, byte [esp + 0x3c]
test al, al
je 0x402bfd
movsx edx, al
mov ebx, dword [esp + 0x1c]
sub ebx, esi
add ebx, 0x200
cmp ebx, edx
jl 0x402afc
mov ebx, edx
cmp dword [ebp + 8], 0
jne 0x402b04
mov ebx, edx
sub al, bl
mov byte [esp + 0x3c], al
test ebx, ebx
je 0x402bab
mov eax, ebx
and eax, 3
je 0x402bf0
mov dword [esp + 0x18], edi
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov edi, esi
mov esi, dword [esp + 0x10]
lea ecx, [esi + 1]
mov dword [esp + 0x10], ecx
movzx ecx, byte [esi]
mov esi, edi
mov byte [edi + edx], cl
inc edx
cmp eax, edx
jne 0x402b30
add esi, edx
mov eax, ebx
sub eax, edx
mov edi, dword [esp + 0x18]
cmp ebx, 4
jb 0x402bab
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [esp + 0x10]
lea edx, [ecx + 1]
mov dword [esp + 0x10], edx
movzx ecx, byte [ecx]
mov byte [esi], cl
mov ecx, dword [esp + 0x10]
lea edx, [ecx + 1]
mov dword [esp + 0x10], edx
movzx ecx, byte [ecx]
mov byte [esi + 1], cl
mov ecx, dword [esp + 0x10]
lea edx, [ecx + 1]
mov dword [esp + 0x10], edx
movzx ecx, byte [ecx]
mov byte [esi + 2], cl
mov ecx, dword [esp + 0x10]
lea edx, [ecx + 1]
mov dword [esp + 0x10], edx
movzx ecx, byte [ecx]
mov byte [esi + 3], cl
add esi, 4
add eax, 0xfffffffc
jne 0x402b60
cmp dword [ebp + 8], 0
je 0x402ad6
mov eax, esi
mov ecx, dword [esp + 0x1c]
sub eax, ecx
cmp eax, 0x1ff
jl 0x402ad6
add edi, eax
push eax
push dword [ebp + 0xc]
push ecx
call dword [ebp + 8]
add esp, 0xc
test eax, eax
jne 0x402ad0
jmp 0x40361a
mov eax, ebx
cmp ebx, 4
jae 0x402b60
jmp 0x402bab
mov dword [esp + 0x18], edi
mov edi, esi
mov eax, dword [esp + 8]
mov ecx, eax
shr ecx, 0x18
mov dword [esp + 0x28], ecx
xor esi, esi
test dl, 0x40
je 0x402c31
and eax, 0xffffff
add eax, dword [esp + 4]
mov esi, dword [esp + 0x28]
lea ecx, [esi + 1]
xor edx, edx
div ecx
sub esi, edx
mov edx, dword [esp + 0xc]
cmp dword [esp + 4], 0
jle 0x402f89
mov ebx, dword [esp + 4]
jmp 0x402c6e
mov dword [esp + 0x18], edi
mov edi, eax
mov dword [esp + 0x1c], eax
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 4]
sub ebx, dword [esp + 8]
test ebx, ebx
jle 0x402e37
mov eax, dword [esp + 0x1c]
sub eax, edi
add eax, 0x200
mov ecx, ebx
mov dword [esp + 8], ebx
mov dword [esp + 4], ebx
cmp ebx, eax
jl 0x402ce0
mov dword [esp + 8], eax
cmp dword [ebp + 8], 0
je 0x402ce6
test dl, 0x40
jne 0x402cf3
cmp dword [esp + 8], 0
je 0x402d00
mov eax, edi
and eax, 3
je 0x402d00
mov ecx, edi
not ecx
and ecx, 3
mov eax, dword [esp + 8]
lea ebx, [eax - 1]
cmp ecx, ebx
jb 0x402cb8
mov ecx, ebx
mov dword [esp + 0x2c], ecx
lea eax, [ecx + 1]
push eax
push 0x30
push edi
call fcn.0040c720
add esp, 0xc
mov eax, dword [esp + 0x2c]
add edi, eax
inc edi
sub ebx, eax
mov edx, dword [esp + 0xc]
cmp ebx, 4
jge 0x402d09
jmp 0x402d44
cmp dword [ebp + 8], 0
jne 0x402c91
mov eax, dword [esp + 4]
mov dword [esp + 8], eax
test dl, 0x40
je 0x402c96
mov ebx, dword [esp + 8]
jmp 0x402d44
mov ebx, dword [esp + 8]
cmp ebx, 4
jl 0x402d44
mov eax, ebx
cmp ebx, 7
jl 0x402d15
mov eax, 7
neg eax
add eax, ebx
add eax, 3
and eax, 0xfffffffc
mov dword [esp + 0x2c], eax
add eax, 4
push eax
push 0x30
push edi
call fcn.0040c720
add esp, 0xc
mov eax, dword [esp + 0x2c]
add edi, eax
add edi, 4
sub ebx, eax
add ebx, 0xfffffffc
mov edx, dword [esp + 0xc]
test ebx, ebx
je 0x402d90
test bl, 1
jne 0x402d60
mov eax, ebx
cmp ebx, 1
jne 0x402df4
jmp 0x402d90
mov al, 0x30
test dl, 0x40
je 0x402d84
cmp esi, dword [esp + 0x28]
jne 0x402d83
movzx eax, byte [0x44a001]
mov ecx, eax
add cl, al
and cl, 0x66
sub al, cl
add al, 0xb3
xor esi, esi
jmp 0x402d84
inc esi
mov byte [edi], al
inc edi
lea eax, [ebx - 1]
cmp ebx, 1
jne 0x402df4
nop
cmp dword [ebp + 8], 0
je 0x402c5e
mov eax, edi
mov ecx, dword [esp + 0x1c]
sub eax, ecx
cmp eax, 0x1ff
jl 0x402c5e
mov edi, dword [esp + 0x18]
add edi, eax
push eax
push dword [ebp + 0xc]
push ecx
call dword [ebp + 8]
add esp, 0xc
test eax, eax
jne 0x402c50
jmp 0x40361a
movzx ecx, byte [0x44a001]
mov edx, ecx
add dl, cl
and dl, 0x66
sub cl, dl
mov edx, dword [esp + 0xc]
add cl, 0xb3
xor esi, esi
mov byte [edi + 1], cl
add edi, 2
add eax, 0xfffffffe
je 0x402d90
mov cl, 0x30
test dl, 0x40
je 0x402e21
cmp esi, dword [esp + 0x28]
jne 0x402e20
movzx edx, byte [0x44a001]
mov ch, dl
add ch, dl
and ch, 0x66
sub dl, ch
add dl, 0xb3
xor esi, esi
jmp 0x402e23
inc esi
mov dl, 0x30
mov byte [edi], dl
mov edx, dword [esp + 0xc]
test dl, 0x40
je 0x402de9
cmp esi, dword [esp + 0x28]
je 0x402dd0
inc esi
jmp 0x402de9
movzx eax, byte [esp + 0x3c]
mov esi, edi
mov edi, dword [esp + 0x18]
lea ecx, [esp + 0x3d]
mov dword [esp + 0x10], ecx
test al, al
jne 0x402e6d
mov dword [esp + 0x18], edi
mov edi, esi
jmp 0x402f91
movzx eax, byte [esp + 0x3c]
test al, al
je 0x402f7d
movsx edx, al
mov ecx, dword [esp + 0x1c]
sub ecx, esi
add ecx, 0x200
cmp ecx, edx
jl 0x402e82
mov ecx, edx
cmp dword [ebp + 8], 0
jne 0x402e8a
mov ecx, edx
sub al, cl
mov byte [esp + 0x3c], al
test ecx, ecx
je 0x402f2b
mov eax, ecx
and eax, 3
je 0x402f70
mov dword [esp + 0x28], ecx
mov dword [esp + 0x18], edi
xor edx, edx
nop
nop
nop
mov ebx, esi
mov esi, dword [esp + 0x10]
lea edi, [esi + 1]
mov dword [esp + 0x10], edi
movzx ecx, byte [esi]
mov esi, ebx
mov byte [ebx + edx], cl
inc edx
cmp eax, edx
jne 0x402eb0
add esi, edx
mov ecx, dword [esp + 0x28]
mov eax, ecx
sub eax, edx
mov edi, dword [esp + 0x18]
cmp ecx, 4
jb 0x402f2b
nop
nop
nop
mov ecx, dword [esp + 0x10]
lea edx, [ecx + 1]
mov dword [esp + 0x10], edx
movzx ecx, byte [ecx]
mov byte [esi], cl
mov ecx, dword [esp + 0x10]
lea edx, [ecx + 1]
mov dword [esp + 0x10], edx
movzx ecx, byte [ecx]
mov byte [esi + 1], cl
mov ecx, dword [esp + 0x10]
lea edx, [ecx + 1]
mov dword [esp + 0x10], edx
movzx ecx, byte [ecx]
mov byte [esi + 2], cl
mov ecx, dword [esp + 0x10]
lea edx, [ecx + 1]
mov dword [esp + 0x10], edx
movzx ecx, byte [ecx]
mov byte [esi + 3], cl
add esi, 4
add eax, 0xfffffffc
jne 0x402ee0
cmp dword [ebp + 8], 0
je 0x402e60
mov eax, esi
mov ecx, dword [esp + 0x1c]
sub eax, ecx
cmp eax, 0x1ff
jl 0x402e60
add edi, eax
push eax
push dword [ebp + 0xc]
push ecx
call dword [ebp + 8]
add esp, 0xc
test eax, eax
je 0x40361a
mov esi, eax
mov dword [esp + 0x1c], eax
jmp 0x402e60
mov eax, ecx
cmp ecx, 4
jae 0x402ee0
jmp 0x402f2b
mov dword [esp + 0x18], edi
mov edi, esi
mov edx, dword [esp + 0xc]
jmp 0x402f91
lea eax, [esp + 0x3d]
mov dword [esp + 0x10], eax
mov ebx, dword [esp + 0x20]
test ebx, ebx
jne 0x402ff6
mov ecx, dword [esp]
test ecx, ecx
mov esi, edi
mov edi, dword [esp + 0x18]
jne 0x4031cb
lea eax, [esp + 0x31]
mov dword [esp + 0x10], eax
movzx ecx, byte [esp + 0x30]
test cl, cl
jne 0x403315
mov eax, dword [esp + 0x48]
test dl, 1
je 0x403574
mov ecx, dword [esp + 0x44]
test ecx, ecx
mov edx, dword [esp + 0x1c]
jle 0x403578
jne 0x40343c
jmp 0x403578
sub ebx, dword [esp + 0x28]
je 0x402f99
mov eax, dword [esp + 0x1c]
sub eax, edi
add eax, 0x200
mov ecx, ebx
cmp ebx, eax
jl 0x403009
mov ecx, eax
cmp dword [ebp + 8], 0
jne 0x403011
mov ecx, ebx
cmp ecx, 4
mov dword [esp + 0x28], ecx
jl 0x403070
lea esi, [ecx - 4]
mov eax, esi
shr eax, 2
inc eax
and eax, 7
je 0x403078
mov dword [esp + 8], esi
shl eax, 2
xor edx, edx
mov esi, dword [esp + 0x14]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [esi + edx]
mov dword [edi + edx], ecx
add edx, 4
cmp eax, edx
jne 0x403040
add edi, edx
mov ecx, dword [esp + 0x28]
sub ecx, edx
add esi, edx
mov dword [esp + 0x14], esi
mov eax, ecx
mov edx, dword [esp + 0xc]
mov esi, dword [esp + 8]
jmp 0x403078
mov eax, ecx
mov esi, dword [esp + 0x14]
jmp 0x4030d1
cmp esi, 0x1c
mov esi, dword [esp + 0x14]
jb 0x4030d1
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esi]
mov dword [edi], eax
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov eax, dword [esi + 8]
mov dword [edi + 8], eax
mov eax, dword [esi + 0xc]
mov dword [edi + 0xc], eax
mov eax, dword [esi + 0x10]
mov dword [edi + 0x10], eax
mov eax, dword [esi + 0x14]
mov dword [edi + 0x14], eax
mov eax, dword [esi + 0x18]
mov dword [edi + 0x18], eax
mov eax, dword [esi + 0x1c]
mov dword [edi + 0x1c], eax
lea eax, [ecx - 0x20]
add esi, 0x20
add edi, 0x20
add ecx, 0xffffffdc
cmp ecx, 0xfffffff8
mov ecx, eax
jb 0x403090
test eax, eax
je 0x403161
mov ecx, eax
and ecx, 7
je 0x4031b0
mov dword [esp + 0x14], ebx
xor edx, edx
nop
nop
nop
nop
nop
nop
movzx ebx, byte [esi + edx]
mov byte [edi + edx], bl
inc edx
cmp ecx, edx
jne 0x4030f0
add edi, edx
mov ecx, eax
sub ecx, edx
add esi, edx
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x14]
cmp eax, 8
jb 0x403161
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx eax, byte [esi]
mov byte [edi], al
movzx eax, byte [esi + 1]
mov byte [edi + 1], al
movzx eax, byte [esi + 2]
mov byte [edi + 2], al
movzx eax, byte [esi + 3]
mov byte [edi + 3], al
movzx eax, byte [esi + 4]
mov byte [edi + 4], al
movzx eax, byte [esi + 5]
mov byte [edi + 5], al
movzx eax, byte [esi + 6]
mov byte [edi + 6], al
movzx eax, byte [esi + 7]
add esi, 8
mov byte [edi + 7], al
add edi, 8
add ecx, 0xfffffff8
jne 0x403120
mov dword [esp + 0x14], esi
cmp dword [ebp + 8], 0
je 0x402ff0
mov eax, edi
mov ecx, dword [esp + 0x1c]
sub eax, ecx
cmp eax, 0x1ff
jl 0x402ff0
mov edi, dword [esp + 0x18]
add edi, eax
push eax
push dword [ebp + 0xc]
push ecx
call dword [ebp + 8]
add esp, 0xc
test eax, eax
je 0x40361a
mov dword [esp + 0x18], edi
mov edi, eax
mov dword [esp + 0x1c], eax
mov edx, dword [esp + 0xc]
jmp 0x402ff0
mov ecx, eax
cmp eax, 8
jae 0x403120
jmp 0x403161
mov ecx, dword [esp]
sub ecx, ebx
je 0x402faa
mov eax, dword [esp + 0x1c]
sub eax, esi
add eax, 0x200
mov ebx, ecx
mov dword [esp], ecx
cmp ecx, eax
jl 0x4031e1
mov ebx, eax
cmp dword [ebp + 8], 0
jne 0x4031ea
mov ebx, dword [esp]
test ebx, ebx
mov dword [esp + 0x18], edi
mov dword [esp + 0x28], ebx
je 0x403270
mov eax, esi
and eax, 3
je 0x403270
mov ecx, esi
mov eax, ebx
mov ebx, esi
not ebx
and ebx, 3
lea esi, [eax - 1]
cmp ebx, esi
jb 0x403211
mov ebx, esi
lea eax, [ebx + 1]
push eax
push 0x30
mov edi, ecx
push ecx
call fcn.0040c720
add esp, 0xc
lea ecx, [ebx + edi]
inc ecx
sub esi, ebx
mov edi, dword [esp + 0x18]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x28]
cmp esi, 4
jge 0x403279
test esi, esi
je 0x4032bc
push esi
push 0x30
mov edi, ecx
push ecx
call fcn.0040c720
mov edx, dword [esp + 0x18]
add esp, 0xc
add edi, esi
mov esi, edi
mov edi, dword [esp + 0x18]
cmp dword [ebp + 8], 0
jne 0x4032c8
jmp 0x4031c0
mov ecx, esi
mov esi, ebx
cmp esi, 4
jl 0x403239
mov eax, esi
cmp esi, 7
jl 0x403285
mov eax, 7
neg eax
lea edi, [esi + eax]
add edi, 3
and edi, 0xfffffffc
lea eax, [edi + 4]
push eax
push 0x30
mov ebx, ecx
push ecx
call fcn.0040c720
add esp, 0xc
lea ecx, [edi + ebx]
add ecx, 4
sub esi, edi
add esi, 0xfffffffc
mov edi, dword [esp + 0x18]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x28]
test esi, esi
jne 0x40323d
mov esi, ecx
cmp dword [ebp + 8], 0
je 0x4031c0
mov eax, esi
mov ecx, dword [esp + 0x1c]
sub eax, ecx
cmp eax, 0x1ff
jl 0x4031c0
add edi, eax
push eax
push dword [ebp + 0xc]
push ecx
call dword [ebp + 8]
add esp, 0xc
test eax, eax
je 0x40361a
mov esi, eax
mov dword [esp + 0x1c], eax
mov edx, dword [esp + 0xc]
jmp 0x4031c0
mov edx, dword [esp + 0xc]
movzx ecx, byte [esp + 0x30]
test cl, cl
mov eax, dword [esp + 0x48]
je 0x402fc3
movsx edx, cl
mov eax, dword [esp + 0x1c]
sub eax, esi
add eax, 0x200
cmp eax, edx
jl 0x403329
mov eax, edx
cmp dword [ebp + 8], 0
jne 0x403331
mov eax, edx
sub cl, al
mov byte [esp + 0x30], cl
test eax, eax
je 0x4033db
mov ecx, eax
and ecx, 3
je 0x403420
mov dword [esp + 0x28], eax
mov dword [esp + 0x18], edi
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, esi
mov esi, dword [esp + 0x10]
lea edi, [esi + 1]
mov dword [esp + 0x10], edi
movzx ebx, byte [esi]
mov esi, eax
mov byte [eax + edx], bl
inc edx
cmp ecx, edx
jne 0x403360
add esi, edx
mov eax, dword [esp + 0x28]
mov ecx, eax
sub ecx, edx
mov edi, dword [esp + 0x18]
cmp eax, 4
jb 0x4033db
nop
nop
nop
mov eax, dword [esp + 0x10]
lea edx, [eax + 1]
mov dword [esp + 0x10], edx
movzx eax, byte [eax]
mov byte [esi], al
mov eax, dword [esp + 0x10]
lea edx, [eax + 1]
mov dword [esp + 0x10], edx
movzx eax, byte [eax]
mov byte [esi + 1], al
mov eax, dword [esp + 0x10]
lea edx, [eax + 1]
mov dword [esp + 0x10], edx
movzx eax, byte [eax]
mov byte [esi + 2], al
mov eax, dword [esp + 0x10]
lea edx, [eax + 1]
mov dword [esp + 0x10], edx
movzx eax, byte [eax]
mov byte [esi + 3], al
add esi, 4
add ecx, 0xfffffffc
jne 0x403390
cmp dword [ebp + 8], 0
je 0x403300
mov eax, esi
mov ecx, dword [esp + 0x1c]
sub eax, ecx
cmp eax, 0x1ff
jl 0x403300
add edi, eax
push eax
push dword [ebp + 0xc]
push ecx
call dword [ebp + 8]
add esp, 0xc
test eax, eax
je 0x40361a
mov esi, eax
mov dword [esp + 0x1c], eax
jmp 0x403300
mov ecx, eax
cmp eax, 4
jae 0x403390
jmp 0x4033db
mov eax, dword [esp + 0x48]
sub ecx, ebx
je 0x403578
mov eax, edx
sub eax, esi
add eax, 0x200
mov ebx, ecx
cmp ecx, eax
jl 0x40344d
mov ebx, eax
cmp dword [ebp + 8], 0
jne 0x403455
mov ebx, ecx
test ebx, ebx
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edx
mov dword [esp + 0x44], ecx
mov dword [esp + 0x28], ebx
je 0x4034d0
mov eax, esi
and eax, 3
je 0x4034d0
mov ecx, esi
mov eax, ebx
mov ebx, esi
not ebx
and ebx, 3
lea esi, [eax - 1]
cmp ebx, esi
jb 0x403484
mov ebx, esi
lea eax, [ebx + 1]
push eax
push 0x20
mov edi, ecx
push ecx
call fcn.0040c720
add esp, 0xc
lea ecx, [ebx + edi]
inc ecx
sub esi, ebx
mov edi, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x28]
cmp esi, 4
jge 0x4034d9
test esi, esi
je 0x40351c
push esi
push 0x20
mov edi, ecx
push ecx
call fcn.0040c720
add esp, 0xc
add edi, esi
mov esi, edi
mov edi, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
jmp 0x40351e
mov ecx, esi
mov esi, ebx
cmp esi, 4
jl 0x4034ac
mov eax, esi
cmp esi, 7
jl 0x4034e5
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.0040c720
add esp, 0xc
lea ecx, [edi + ebx]
add ecx, 4
sub esi, edi
add esi, 0xfffffffc
mov edi, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x28]
test esi, esi
jne 0x4034b0
mov esi, ecx
mov eax, dword [esp + 0x48]
cmp dword [ebp + 8], 0
mov ecx, dword [esp + 0x44]
je 0x403434
mov eax, esi
sub eax, edx
cmp eax, 0x1ff
jl 0x403430
mov esi, dword [ebp + 8]
mov edx, edi
mov edi, ecx
add edx, eax
mov dword [esp + 0x18], edx
push eax
push dword [ebp + 0xc]
push dword [esp + 0x24]
call esi
add esp, 0xc
test eax, eax
je 0x403625
mov esi, eax
mov edx, eax
mov eax, dword [esp + 0x48]
mov ecx, edi
mov edi, dword [esp + 0x18]
jmp 0x403434
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x18], edi
inc eax
jmp 0x40103f
mov ebx, ecx
cmp ebx, 4
jb 0x4035a9
mov esi, ebx
and esi, 0xfffffffc
push esi
push 0x30
push edi
call fcn.0040c720
mov edx, dword [esp + 0x18]
add esp, 0xc
add edi, esi
mov dword [esp + 4], edi
and ebx, 3
jmp 0x4035ad
mov dword [esp + 4], edi
mov eax, dword [esp + 0x14]
jmp 0x4035c0
mov ecx, dword [esp + 4]
mov byte [ecx], 0x30
dec ebx
inc ecx
mov dword [esp + 4], ecx
test ebx, ebx
je 0x4026ab
test dl, 0x40
je 0x4035b3
inc eax
cmp eax, 4
jne 0x4035b3
movzx eax, byte [0x44a001]
xor al, 0xb3
mov ecx, dword [esp + 4]
mov byte [ecx], al
xor eax, eax
jmp 0x4035bb
fstp st(1)
fdivp st(1)
or edx, 0x4000000
jmp 0x4020c8
cmp dword [ebp + 8], 0
je 0x403620
mov eax, esi
sub eax, edx
test eax, eax
mov edi, dword [esp + 0x18]
jle 0x40362d
add edi, eax
push eax
push dword [ebp + 0xc]
push edx
call dword [ebp + 8]
add esp, 0xc
mov esi, eax
mov edx, eax
jmp 0x40362d
xor esi, esi
xor edx, edx
jmp 0x40362d
mov byte [esi], 0
jmp 0x403629
xor esi, esi
xor edx, edx
mov edi, dword [esp + 0x18]
add edi, esi
sub edi, edx
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret