Function at 0x40d970
Capabilities:
Contain obfuscated stackstrings
Get process heap flags
Get process heap force flags
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5c98d3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xb4
push ebx
push esi
push edi
push 6
push 0x609454
lea ecx, [esp + 0x88]
mov dword [esp + 0xd0], 1
call fcn.00558100
push 6
push 0x609c6c
lea ecx, [esp + 0x84]
mov byte [esp + 0xd0], 2
call fcn.00558100
lea ecx, [esp + 0x18]
mov byte [esp + 0xc8], 3
call fcn.00558060
lea ecx, [esp + 0x9c]
mov byte [esp + 0xc8], 4
call fcn.00559c60
lea ecx, [esp + 0x84]
mov byte [esp + 0xc8], 5
call fcn.00558060
lea ecx, [esp + 0x8c]
mov byte [esp + 0xc8], 6
call fcn.005589e0
mov ebx, 0x1e
mov byte [esp + 0xc8], 7
mov byte [esp + 0x4c], 6
mov byte [esp + 0x4d], 9
mov byte [esp + 0x4e], 8
mov byte [esp + 0x4f], 0xa
mov byte [esp + 0x50], 0xb
mov byte [esp + 0x51], 0xc
mov byte [esp + 0x52], 0xd
mov byte [esp + 0x53], 0xf
mov byte [esp + 0x54], 0x10
mov byte [esp + 0x55], 0x12
mov byte [esp + 0x56], 0x14
mov byte [esp + 0x57], 0x16
mov byte [esp + 0x58], 0x17
mov byte [esp + 0x59], 0x18
mov byte [esp + 0x5a], 0x1a
mov byte [esp + 0x5b], 0x1c
mov byte [esp + 0x5c], 0x1d
mov byte [esp + 0x5d], 0x20
mov byte [esp + 0x5e], 0x22
mov byte [esp + 0x5f], 0x23
mov byte [esp + 0x60], 0x24
mov byte [esp + 0x61], 0x25
mov byte [esp + 0x62], 0x26
mov byte [esp + 0x63], 0x28
mov byte [esp + 0x64], 0x2a
mov byte [esp + 0x65], 0x2c
mov byte [esp + 0x66], 0x2e
mov byte [esp + 0x67], 0x30
mov byte [esp + 0x68], 0x35
mov byte [esp + 0x69], 0x37
mov byte [esp + 0x6a], 0x3b
mov byte [esp + 0x6b], 0x3c
mov byte [esp + 0x6c], 0x3f
mov byte [esp + 0x6d], 0x41
mov byte [esp + 0x6e], 0x43
mov byte [esp + 0x6f], 0x44
mov byte [esp + 0x70], 0x46
mov byte [esp + 0x71], 0x48
mov byte [esp + 0x72], 0x4a
mov byte [esp + 0x73], 0x4b
mov byte [esp + 0x74], 0x4c
mov byte [esp + 0x75], 0x4f
mov byte [esp + 0x76], bl
mov byte [esp + 0x77], bl
xor edi, edi
mov byte [esp + 0x78], 0
mov ax, word [ebp + 0x2c]
mov byte [esp + 0x24], 6
cmp ax, di
mov byte [esp + 0x25], 8
mov byte [esp + 0x26], 0xa
mov byte [esp + 0x27], 0xc
mov byte [esp + 0x28], 0xe
mov byte [esp + 0x29], 0x11
mov byte [esp + 0x2a], 0x13
mov byte [esp + 0x2b], 0x15
mov byte [esp + 0x2c], 0x17
mov byte [esp + 0x2d], 0x1c
mov byte [esp + 0x2e], 0x1d
mov byte [esp + 0x2f], bl
mov byte [esp + 0x30], 0x1f
mov byte [esp + 0x31], 0x21
mov byte [esp + 0x32], 0x23
mov byte [esp + 0x33], 0x25
mov byte [esp + 0x34], 0x27
mov byte [esp + 0x35], 0x28
mov byte [esp + 0x36], 0x2c
mov byte [esp + 0x37], 0x2e
mov byte [esp + 0x38], 0x33
mov byte [esp + 0x39], 0x34
mov byte [esp + 0x3a], 0x38
mov byte [esp + 0x3b], 0x39
mov byte [esp + 0x3c], 0x3a
mov byte [esp + 0x3d], 0x3b
mov byte [esp + 0x3e], 0x3d
mov byte [esp + 0x3f], 0x3f
mov byte [esp + 0x40], 0x40
mov byte [esp + 0x41], 0x45
mov byte [esp + 0x42], 0x47
mov byte [esp + 0x43], 0x49
mov byte [esp + 0x44], 0x4a
mov byte [esp + 0x45], 0x4b
mov byte [esp + 0x46], 0x4d
mov byte [esp + 0x47], 0x4e
mov byte [esp + 0x48], 0x4f
mov byte [esp + 0x49], 0x53
jne 0x40e716
lea ecx, [ebp + 0x28]
call fcn.00558520
movsx ecx, word [ebp + 0xc]
movzx dx, byte [esp + ecx + 0x4c]
cmp ax, dx
jg 0x40dca3
lea ecx, [esp + 0x8c]
mov byte [esp + 0xc8], 6
call fcn.00558a00
lea ecx, [esp + 0x84]
mov byte [esp + 0xc8], 5
call fcn.005581a0
lea ecx, [esp + 0x9c]
mov byte [esp + 0xc8], 4
call fcn.00559d60
lea ecx, [esp + 0x18]
mov byte [esp + 0xc8], 3
call fcn.005581a0
lea ecx, [esp + 0x7c]
mov byte [esp + 0xc8], 2
call fcn.005581a0
lea ecx, [esp + 0x80]
mov byte [esp + 0xc8], 1
call fcn.005581a0
mov eax, dword [ebp + 0x1c]
mov esi, dword [ebp + 0x18]
cmp esi, eax
mov byte [esp + 0xc8], 9
mov ebx, eax
je 0x40dc84
mov ecx, esi
call fcn.005581a0
add esi, 4
cmp esi, ebx
jne 0x40dc73
mov esi, dword [ebp + 0x18]
push esi
call fcn.005bc500
add esp, 4
mov dword [ebp + 0x18], edi
mov dword [ebp + 0x1c], edi
mov dword [ebp + 0x20], edi
mov byte [esp + 0xc8], 8
jmp 0x40ef75
push ecx
lea eax, [ebp + 0x28]
mov ecx, esp
mov dword [esp + 0x10], esp
push eax
call fcn.00558070
lea ecx, [esp + 0x1c]
call fcn.00558390
movsx eax, word [ebp + 0xc]
cmp eax, 0x2b
ja case.default.0x40e817
jmp dword [eax*4 + 0x40efb8]
push 6
lea ecx, [esp + 0x1c]
call fcn.00558380
and eax, 0xff
lea ecx, [eax + eax*2]
lea eax, [eax + ecx*4]
cdq
and edx, 0x7f
add eax, edx
sar eax, 7
mov dword [esp + 0xc], eax
fild dword [esp + 0xc]
jmp 0x40ed40
push 9
lea ecx, [esp + 0x1c]
call fcn.00558380
and eax, 0xff
lea eax, [eax + eax*2]
shl eax, 5
cdq
and edx, 0x7f
add eax, edx
sar eax, 7
sub eax, 0x30
mov dword [esp + 0xc], eax
fild dword [esp + 0xc]
jmp 0x40ed40
push 8
lea ecx, [esp + 0x1c]
call fcn.00558380
and eax, 0xff
mov dword [esp + 0xc], eax
fild dword [esp + 0xc]
fmul qword [0x5e5340]
jmp 0x40ed40
push 0xa
lea ecx, [esp + 0x1c]
call fcn.00558380
and eax, 0xff
mov dword [esp + 0xc], eax
fild dword [esp + 0xc]
fmul qword [0x5e5340]
jmp 0x40ed40
push 0xb
lea ecx, [esp + 0x1c]
call fcn.00558380
and eax, 0xff
lea eax, [eax + eax*2]
shl eax, 5
cdq
and edx, 0x7f
add eax, edx
sar eax, 7
sub eax, 0x30
mov dword [esp + 0xc], eax
fild dword [esp + 0xc]
jmp 0x40ed40
push 0xc
lea ecx, [esp + 0x1c]
call fcn.00558380
and eax, 0xff
mov dword [esp + 0xc], eax
fild dword [esp + 0xc]
fmul qword [0x5e5340]
jmp 0x40ed40
push 0xd
lea ecx, [esp + 0x1c]
call fcn.00558380
and eax, 0xff
lea eax, [eax + eax*2]
lea eax, [eax + eax*4]
shl eax, 2
cdq
and edx, 0x7f
add eax, edx
sar eax, 7
mov dword [esp + 0xc], eax
fild dword [esp + 0xc]
jmp 0x40ed40
push 0xf
lea ecx, [esp + 0x1c]
call fcn.00558380
and eax, 0xff
lea eax, [eax + eax*2]
lea eax, [eax + eax*4]
shl eax, 2
cdq
and edx, 0x7f
add eax, edx
sar eax, 7
mov dword [esp + 0xc], eax
fild dword [esp + 0xc]
jmp 0x40ed40
push 0x10
lea ecx, [esp + 0x1c]
call fcn.00558380
and eax, 0xff
mov dword [esp + 0xc], eax
fild dword [esp + 0xc]
fmul qword [0x5e5340]
jmp 0x40ed40
push 0x11
lea ecx, [esp + 0x1c]
call fcn.00558380
and eax, 0xff
push 0x12
shl eax, 2
cdq
and edx, 0x7f
lea ecx, [esp + 0x1c]
add eax, edx
mov esi, eax
sar esi, 7
call fcn.00558380
and eax, 0xff
lea edx, [esi + eax*8]
mov dword [esp + 0xc], edx
fild dword [esp + 0xc]
jmp 0x40eea5
push 0x14
lea ecx, [esp + 0x1c]
call fcn.00558380
and eax, 0xff
push 0x13
mov ecx, eax
shl eax, 4
add eax, ecx
shl eax, 4
add eax, ecx
lea ecx, [esp + 0x1c]
lea eax, [eax + eax*4]
shl eax, 1
cdq
and edx, 0x7f
add eax, edx
mov esi, eax
sar esi, 7
call fcn.00558380
and eax, 0xff
lea eax, [eax + eax*4]
shl eax, 1
cdq
and edx, 0x7f
add eax, edx
sar eax, 7
add esi, eax
mov dword [esp + 0xc], esi
fild dword [esp + 0xc]
jmp 0x40eea5
push 0x16
lea ecx, [esp + 0x1c]
call fcn.00558380
and eax, 0xff
push 0x15
lea ecx, [eax*8]
sub ecx, eax
lea ecx, [eax + ecx*4]
lea edx, [ecx + ecx*2]
lea ecx, [esp + 0x1c]
lea eax, [eax + edx*8]
cdq
and edx, 0x7f
add eax, edx
mov esi, eax
sar esi, 7
call fcn.00558380
and eax, 0xff
shl eax, 1
cdq
and edx, 0x7f
add eax, edx
sar eax, 7
add esi, eax
mov dword [esp + 0xc], esi
fild dword [esp + 0xc]
jmp 0x40eea5
push 0x17
lea ecx, [esp + 0x1c]
call fcn.00558380
and eax, 0xff
mov dword [esp + 0xc], eax
fild dword [esp + 0xc]
fmul qword [0x5e5190]
jmp 0x40eea5
push 0x18
jmp 0x40e9be
push 0x19
lea ecx, [esp + 0x1c]
call fcn.00558380
and eax, 0xff
push 0x1a
shl eax, 6
cdq
and edx, 0x7f
lea ecx, [esp + 0x1c]
add eax, edx
mov esi, eax
sar esi, 7
call fcn.00558380
and eax, 0xff
shl eax, 8
add esi, eax
push esi
jmp 0x40e666
push 0x1c
lea ecx, [esp + 0x1c]
call fcn.00558380
mov bl, al
push 0x1b
and ebx, 0xff
lea ecx, [esp + 0x1c]
shl ebx, 8
call fcn.00558380
and eax, 0xff
add eax, ebx
push eax
jmp 0x40e618
push 0x1d
lea ecx, [esp + 0x1c]
call fcn.00558380
and eax, 0xff
mov dword [esp + 0xc], eax
fild dword [esp + 0xc]
fmul qword [0x5e5338]
jmp 0x40eea5
push 0x20
lea ecx, [esp + 0x1c]
call fcn.00558380
and eax, 0xff
push 0x1f
mov dword [esp + 0x10], eax
lea ecx, [esp + 0x1c]
fild dword [esp + 0x10]
fmul qword [0x5e5330]
fstp qword [esp + 0x20]
call fcn.00558380
and eax, 0xff
mov dword [esp + 0xc], eax
fild dword [esp + 0xc]
fmul qword [0x5e5328]
fadd qword [esp + 0x1c]
jmp 0x40eea5
push 0x22
lea ecx, [esp + 0x1c]
call fcn.00558380
and eax, 0xff
push 0x21
mov dword [esp + 0x10], eax
lea ecx, [esp + 0x1c]
fild dword [esp + 0x10]
fmul qword [0x5e5330]
fstp qword [esp + 0x20]
call fcn.00558380
and eax, 0xff
mov dword [esp + 0xc], eax
fild dword [esp + 0xc]
fmul qword [0x5e5328]
fadd qword [esp + 0x1c]
jmp 0x40eea5
push 0x23
lea ecx, [esp + 0x1c]
call fcn.00558380
and eax, 0xff
mov ecx, 0x48
lea eax, [eax + eax*2]
shl eax, 4
cdq
and edx, 0x7f
add eax, edx
sar eax, 7
sub ecx, eax
mov dword [esp + 0xc], ecx
fild dword [esp + 0xc]
jmp 0x40ed40
push 0x24
lea ecx, [esp + 0x1c]
call fcn.00558380
and eax, 0xff
lea eax, [eax + eax*2]
shl eax, 4
cdq
and edx, 0x7f
add eax, edx
mov edx, 0x48
sar eax, 7
sub edx, eax
mov dword [esp + 0xc], edx
fild dword [esp + 0xc]
jmp 0x40eea5
push 0x25
lea ecx, [esp + 0x1c]
call fcn.00558380
and eax, 0xff
mov ecx, 0x48
lea eax, [eax + eax*2]
shl eax, 4
cdq
and edx, 0x7f
add eax, edx
sar eax, 7
sub ecx, eax
mov dword [esp + 0xc], ecx
fild dword [esp + 0xc]
jmp 0x40ed40
push 0x26
lea ecx, [esp + 0x1c]
call fcn.00558380
and eax, 0xff
lea eax, [eax + eax*2]
shl eax, 4
cdq
and edx, 0x7f
add eax, edx
mov edx, 0x48
sar eax, 7
sub edx, eax
mov dword [esp + 0xc], edx
fild dword [esp + 0xc]
jmp 0x40eea5
push 0x28
lea ecx, [esp + 0x1c]
call fcn.00558380
and eax, 0xff
push 0x27
mov ecx, eax
shl ecx, 6
add ecx, eax
lea eax, [eax + ecx*2]
lea ecx, [esp + 0x1c]
cdq
and edx, 0x7f
add eax, edx
sar eax, 7
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
fstp qword [esp + 0x20]
call fcn.00558380
and eax, 0xff
mov dword [esp + 0xc], eax
fild dword [esp + 0xc]
fmul qword [0x5e5320]
fadd qword [esp + 0x1c]
jmp 0x40ed40
push 0x2a
lea ecx, [esp + 0x1c]
call fcn.00558380
and eax, 0xff
push 0x29
mov edx, eax
lea ecx, [esp + 0x1c]
shl edx, 6
add edx, eax
lea eax, [eax + edx*2]
cdq
and edx, 0x7f
add eax, edx
sar eax, 7
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
fstp qword [esp + 0x20]
call fcn.00558380
and eax, 0xff
mov dword [esp + 0xc], eax
fild dword [esp + 0xc]
fmul qword [0x5e5320]
fadd qword [esp + 0x1c]
jmp 0x40eea5
push 0x2c
lea ecx, [esp + 0x1c]
call fcn.00558380
and eax, 0xff
push 0x2b
mov ecx, eax
shl ecx, 6
add ecx, eax
lea eax, [eax + ecx*2]
lea ecx, [esp + 0x1c]
cdq
and edx, 0x7f
add eax, edx
sar eax, 7
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
fstp qword [esp + 0x20]
call fcn.00558380
and eax, 0xff
mov dword [esp + 0xc], eax
fild dword [esp + 0xc]
fmul qword [0x5e5320]
fadd qword [esp + 0x1c]
jmp 0x40ed40
push 0x2e
lea ecx, [esp + 0x1c]
call fcn.00558380
and eax, 0xff
push 0x2d
mov edx, eax
lea ecx, [esp + 0x1c]
shl edx, 6
add edx, eax
lea eax, [eax + edx*2]
cdq
and edx, 0x7f
add eax, edx
sar eax, 7
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
fstp qword [esp + 0x20]
call fcn.00558380
and eax, 0xff
mov dword [esp + 0xc], eax
fild dword [esp + 0xc]
fmul qword [0x5e5320]
fadd qword [esp + 0x1c]
jmp 0x40eea5
push 0x30
lea ecx, [esp + 0x1c]
call fcn.00558380
and eax, 0xff
push 0x2f
mov ecx, eax
shl ecx, 6
add ecx, eax
lea eax, [eax + ecx*2]
lea ecx, [esp + 0x1c]
cdq
and edx, 0x7f
add eax, edx
sar eax, 7
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
fstp qword [esp + 0x20]
call fcn.00558380
and eax, 0xff
mov dword [esp + 0xc], eax
fild dword [esp + 0xc]
fmul qword [0x5e5320]
fadd qword [esp + 0x1c]
jmp 0x40ed40
push 0x35
lea ecx, [esp + 0x1c]
call fcn.00558380
and eax, 0xff
push 0x34
lea ecx, [esp + 0x1c]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 1
cdq
and edx, 0x7f
add eax, edx
sar eax, 7
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
fstp qword [esp + 0x20]
call fcn.00558380
and eax, 0xff
mov dword [esp + 0xc], eax
fild dword [esp + 0xc]
fmul qword [0x5e5318]
fadd qword [esp + 0x1c]
jmp 0x40ed40
push 0x37
lea ecx, [esp + 0x1c]
call fcn.00558380
and eax, 0xff
push 0x36
lea ecx, [esp + 0x1c]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 1
cdq
and edx, 0x7f
add eax, edx
sar eax, 7
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
fstp qword [esp + 0x20]
call fcn.00558380
and eax, 0xff
mov dword [esp + 0xc], eax
fild dword [esp + 0xc]
fmul qword [0x5e5318]
fadd qword [esp + 0x1c]
jmp 0x40ed40
push 0x3b
lea ecx, [esp + 0x1c]
call fcn.00558380
and eax, 0xff
push 0x3a
lea ecx, [esp + 0x1c]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 1
cdq
and edx, 0x7f
add eax, edx
sar eax, 7
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
fstp qword [esp + 0x20]
call fcn.00558380
and eax, 0xff
mov dword [esp + 0xc], eax
fild dword [esp + 0xc]
fmul qword [0x5e5318]
fadd qword [esp + 0x1c]
jmp 0x40ed40
push 0x3c
lea ecx, [esp + 0x1c]
call fcn.00558380
and eax, 0xff
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 1
cdq
and edx, 0x7f
add eax, edx
sar eax, 7
mov dword [esp + 0xc], eax
fild dword [esp + 0xc]
jmp 0x40ed40
push 0x3f
lea ecx, [esp + 0x1c]
call fcn.00558380
and eax, 0xff
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 1
cdq
and edx, 0x7f
add eax, edx
sar eax, 7
mov dword [esp + 0xc], eax
fild dword [esp + 0xc]
jmp 0x40ed40
push 0x41
lea ecx, [esp + 0x1c]
call fcn.00558380
and eax, 0xff
push 0x40
lea ecx, [esp + 0x1c]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 1
cdq
and edx, 0x7f
add eax, edx
sar eax, 7
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
fstp qword [esp + 0x20]
call fcn.00558380
and eax, 0xff
mov dword [esp + 0xc], eax
fild dword [esp + 0xc]
fmul qword [0x5e5318]
fadd qword [esp + 0x1c]
jmp 0x40ed40
push 0x43
lea ecx, [esp + 0x1c]
call fcn.00558380
and eax, 0xff
push 0x42
lea ecx, [esp + 0x1c]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 1
cdq
and edx, 0x7f
add eax, edx
sar eax, 7
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
fstp qword [esp + 0x20]
call fcn.00558380
and eax, 0xff
mov dword [esp + 0xc], eax
fild dword [esp + 0xc]
fmul qword [0x5e5318]
fadd qword [esp + 0x1c]
jmp 0x40ed40
push 0x44
lea ecx, [esp + 0x1c]
call fcn.00558380
and eax, 0xff
push eax
jmp 0x40e618
push 0x46
lea ecx, [esp + 0x1c]
call fcn.00558380
and eax, 0xff
push 0x45
lea ecx, [esp + 0x1c]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 1
cdq
and edx, 0x7f
add eax, edx
sar eax, 7
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
fstp qword [esp + 0x20]
call fcn.00558380
and eax, 0xff
mov dword [esp + 0xc], eax
fild dword [esp + 0xc]
fmul qword [0x5e5318]
fadd qword [esp + 0x1c]
jmp 0x40eea5
push 0x48
lea ecx, [esp + 0x1c]
call fcn.00558380
and eax, 0xff
push 0x47
lea ecx, [esp + 0x1c]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 1
cdq
and edx, 0x7f
add eax, edx
sar eax, 7
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
fstp qword [esp + 0x20]
call fcn.00558380
and eax, 0xff
mov dword [esp + 0xc], eax
fild dword [esp + 0xc]
fmul qword [0x5e5310]
fadd qword [esp + 0x1c]
jmp 0x40eea5
push 0x4a
lea ecx, [esp + 0x1c]
call fcn.00558380
and eax, 0xff
push 0x49
shl eax, 3
cdq
and edx, 0x7f
lea ecx, [esp + 0x1c]
add eax, edx
sar eax, 7
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
fstp qword [esp + 0x20]
call fcn.00558380
and eax, 0xff
mov dword [esp + 0xc], eax
fild dword [esp + 0xc]
fmul qword [0x5e5308]
fadd qword [esp + 0x1c]
jmp 0x40eea5
push 0x4b
lea ecx, [esp + 0x1c]
call fcn.00558380
and eax, 0xff
mov ecx, 0xa
cdq
idiv ecx
push edx
mov edx, dword [ebp + 0x24]
push 0x609488
push edx
call fcn.005bcf3d
add esp, 0xc
jmp case.default.0x40e817
push 0x4c
lea ecx, [esp + 0x1c]
call fcn.00558380
and eax, 0xff
push eax
mov eax, dword [ebp + 0x24]
push 0x609488
push eax
call fcn.005bcf3d
add esp, 0xc
jmp case.default.0x40e817
push 0x4f
lea ecx, [esp + 0x1c]
call fcn.00558380
and eax, 0xff
push eax
mov ecx, dword [ebp + 0x24]
push 0x609488
push ecx
call fcn.005bcf3d
add esp, 0xc
jmp case.default.0x40e817
push ebx
lea ecx, [esp + 0x1c]
call fcn.00558380
test al, 1
je 0x40e6b4
mov edi, 0x609c98
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, dword [ebp + 0x24]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
xor edi, edi
jmp case.default.0x40e817
mov edi, 0x609c94
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, dword [ebp + 0x24]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
xor edi, edi
jmp case.default.0x40e817
push ebx
lea ecx, [esp + 0x1c]
call fcn.00558380
test al, 4
je 0x40e6b4
mov edi, 0x609c98
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, dword [ebp + 0x24]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
xor edi, edi
jmp case.default.0x40e817
cmp ax, 1
jne case.default.0x40e817
lea ecx, [ebp + 0x28]
call fcn.00558520
movsx ecx, word [ebp + 0xc]
movzx dx, byte [esp + ecx + 0x24]
cmp ax, dx
jg 0x40e7f1
lea ecx, [esp + 0x8c]
mov byte [esp + 0xc8], 6
call fcn.00558a00
lea ecx, [esp + 0x84]
mov byte [esp + 0xc8], 5
call fcn.005581a0
lea ecx, [esp + 0x9c]
mov byte [esp + 0xc8], 4
call fcn.00559d60
lea ecx, [esp + 0x18]
mov byte [esp + 0xc8], 3
call fcn.005581a0
lea ecx, [esp + 0x7c]
mov byte [esp + 0xc8], 2
call fcn.005581a0
lea ecx, [esp + 0x80]
mov byte [esp + 0xc8], 1
call fcn.005581a0
mov eax, dword [ebp + 0x1c]
mov esi, dword [ebp + 0x18]
cmp esi, eax
mov byte [esp + 0xc8], 0xb
mov ebx, eax
je 0x40e7d2
mov ecx, esi
call fcn.005581a0
add esi, 4
cmp esi, ebx
jne 0x40e7c1
mov esi, dword [ebp + 0x18]
push esi
call fcn.005bc500
add esp, 4
mov dword [ebp + 0x18], edi
mov dword [ebp + 0x1c], edi
mov dword [ebp + 0x20], edi
mov byte [esp + 0xc8], 0xa
jmp 0x40ef75
push ecx
lea eax, [ebp + 0x28]
mov ecx, esp
mov dword [esp + 0x10], esp
push eax
call fcn.00558070
lea ecx, [esp + 0x1c]
call fcn.00558390
movsx eax, word [ebp + 0xc]
cmp eax, 0x25
ja case.default.0x40e817
jmp dword [eax*4 + 0x40f068]
push 6
lea ecx, [esp + 0x1c]
call fcn.00558380
and eax, 0xff
mov dword [esp + 0xc], eax
fild dword [esp + 0xc]
fmul qword [0x5e5300]
jmp 0x40ede9
push 8
lea ecx, [esp + 0x1c]
call fcn.00558380
and eax, 0xff
mov dword [esp + 0xc], eax
fild dword [esp + 0xc]
fmul qword [0x5e52f8]
jmp 0x40ede9
push 0xa
lea ecx, [esp + 0x1c]
call fcn.00558380
and eax, 0xff
mov dword [esp + 0xc], eax
fild dword [esp + 0xc]
fmul qword [0x5e52f8]
jmp 0x40ede9
push 0xc
lea ecx, [esp + 0x1c]
call fcn.00558380
and eax, 0xff
mov dword [esp + 0xc], eax
fild dword [esp + 0xc]
fmul qword [0x5e52f8]
jmp 0x40ede9
push 0xe
lea ecx, [esp + 0x1c]
call fcn.00558380
and eax, 0xff
mov dword [esp + 0xc], eax
fild dword [esp + 0xc]
fmul qword [0x5e52f8]
jmp 0x40ede9
push 0x11
lea ecx, [esp + 0x1c]
call fcn.00558380
mov bl, al
push 0x10
and ebx, 0xff
shl ebx, 8
lea ecx, [esp + 0x1c]
call fcn.00558380
and eax, 0xff
add eax, ebx
jmp 0x40e665
push 0x13
lea ecx, [esp + 0x1c]
call fcn.00558380
mov bl, al
push 0x12
and ebx, 0xff
lea ecx, [esp + 0x1c]
shl ebx, 8
call fcn.00558380
mov edx, dword [ebp + 0x24]
and eax, 0xff
add eax, ebx
push eax
push 0x609488
push edx
call fcn.005bcf3d
add esp, 0xc
jmp case.default.0x40e817
push 0x15
lea ecx, [esp + 0x1c]
call fcn.00558380
mov bl, al
push 0x14
and ebx, 0xff
lea ecx, [esp + 0x1c]
shl ebx, 8
call fcn.00558380
and eax, 0xff
add eax, ebx
push eax
mov eax, dword [ebp + 0x24]
push 0x609488
push eax
call fcn.005bcf3d
add esp, 0xc
jmp case.default.0x40e817
push 0x17
lea ecx, [esp + 0x1c]
call fcn.00558380
mov bl, al
push 0x16
and ebx, 0xff
shl ebx, 8
jmp 0x40e8e5
push 0x1c
lea ecx, [esp + 0x1c]
call fcn.00558380
and eax, 0xff
push eax
mov edx, dword [ebp + 0x24]
push 0x609488
push edx
call fcn.005bcf3d
add esp, 0xc
jmp case.default.0x40e817
push 0x1d
lea ecx, [esp + 0x1c]
call fcn.00558380
and eax, 0xff
push eax
mov eax, dword [ebp + 0x24]
push 0x609488
push eax
call fcn.005bcf3d
add esp, 0xc
jmp case.default.0x40e817
push ebx
jmp 0x40e657
push 0x1f
jmp 0x40e997
push 0x21
lea ecx, [esp + 0x1c]
call fcn.00558380
and eax, 0xff
push 0x20
mov dword [esp + 0x10], eax
lea ecx, [esp + 0x1c]
fild dword [esp + 0x10]
fmul qword [0x5e5330]
fstp qword [esp + 0x20]
call fcn.00558380
and eax, 0xff
mov dword [esp + 0xc], eax
fild dword [esp + 0xc]
fmul qword [0x5e5328]
fadd qword [esp + 0x1c]
jmp 0x40eea5
push 0x23
lea ecx, [esp + 0x1c]
call fcn.00558380
and eax, 0xff
push 0x22
mov dword [esp + 0x10], eax
lea ecx, [esp + 0x1c]
fild dword [esp + 0x10]
fmul qword [0x5e52f0]
fstp qword [esp + 0x20]
call fcn.00558380
and eax, 0xff
mov dword [esp + 0xc], eax
fild dword [esp + 0xc]
fmul qword [0x5e5328]
fadd qword [esp + 0x1c]
jmp 0x40eea5
push 0x25
lea ecx, [esp + 0x1c]
call fcn.00558380
and eax, 0xff
push 0x24
lea ecx, [eax + eax*4]
lea eax, [eax + ecx*8]
lea ecx, [esp + 0x1c]
cdq
and edx, 0x7f
add eax, edx
sar eax, 7
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
fstp qword [esp + 0x20]
call fcn.00558380
and eax, 0xff
mov dword [esp + 0xc], eax
fild dword [esp + 0xc]
fmul qword [0x5e5328]
fadd qword [esp + 0x1c]
jmp 0x40ed40
push 0x27
lea ecx, [esp + 0x1c]
call fcn.00558380
and eax, 0xff
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 1
cdq
and edx, 0x7f
add eax, edx
sar eax, 7
mov dword [esp + 0xc], eax
fild dword [esp + 0xc]
jmp 0x40ed40
push 0x28
lea ecx, [esp + 0x1c]
call fcn.00558380
and eax, 0xff
mov dword [esp + 0xc], eax
fild dword [esp + 0xc]
fmul qword [0x5e52e8]
jmp 0x40ed40
push 0x2c
lea ecx, [esp + 0x1c]
call fcn.00558380
mov bl, al
push 0x2b
and ebx, 0xff
shl ebx, 8
jmp 0x40ece8
push 0x2e
lea ecx, [esp + 0x1c]
call fcn.00558380
and eax, 0xff
push 0x2d
mov dword [esp + 0x10], eax
lea ecx, [esp + 0x1c]
fild dword [esp + 0x10]
fmul qword [0x5e52e0]
fstp qword [esp + 0x20]
call fcn.00558380
and eax, 0xff
mov dword [esp + 0xc], eax
fild dword [esp + 0xc]
fmul qword [0x5e52d8]
fadd qword [esp + 0x1c]
jmp 0x40eea5
push 0x33
lea ecx, [esp + 0x1c]
call fcn.00558380
and eax, 0xff
sub eax, 0x28
push eax
mov eax, dword [ebp + 0x24]
push 0x609488
push eax
call fcn.005bcf3d
add esp, 0xc
jmp case.default.0x40e817
push 0x34
jmp 0x40e657
push 0x38
lea ecx, [esp + 0x1c]
call fcn.00558380
mov bl, al
push 0x37
and ebx, 0xff
shl ebx, 8
jmp 0x40ece8
push 0x39
jmp 0x40e9be
push 0x3a
lea ecx, [esp + 0x1c]
call fcn.00558380
and eax, 0xff
shl eax, 1
cdq
and edx, 0x7f
add eax, edx
sar eax, 7
mov dword [esp + 0xc], eax
fild dword [esp + 0xc]
jmp 0x40ede9
push 0x3b
lea ecx, [esp + 0x1c]
call fcn.00558380
and eax, 0xff
shl eax, 1
cdq
and edx, 0x7f
add eax, edx
sar eax, 7
mov dword [esp + 0xc], eax
fild dword [esp + 0xc]
jmp 0x40ede9
push 0x3d
lea ecx, [esp + 0x1c]
call fcn.00558380
and eax, 0xff
push 0x3c
shl eax, 1
cdq
and edx, 0x7f
lea ecx, [esp + 0x1c]
add eax, edx
sar eax, 7
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
fstp qword [esp + 0x20]
call fcn.00558380
and eax, 0xff
mov dword [esp + 0xc], eax
fild dword [esp + 0xc]
fmul qword [0x5e52d0]
fadd qword [esp + 0x1c]
jmp 0x40ede9
push 0x3f
lea ecx, [esp + 0x1c]
call fcn.00558380
and eax, 0xff
push 0x3e
shl eax, 1
cdq
and edx, 0x7f
lea ecx, [esp + 0x1c]
add eax, edx
sar eax, 7
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
fstp qword [esp + 0x20]
call fcn.00558380
and eax, 0xff
mov dword [esp + 0xc], eax
fild dword [esp + 0xc]
fmul qword [0x5e52d0]
fadd qword [esp + 0x1c]
jmp 0x40ede9
push 0x40
jmp 0x40e657
push 0x45
lea ecx, [esp + 0x1c]
call fcn.00558380
mov bl, al
push 0x44
and ebx, 0xff
shl ebx, 8
lea ecx, [esp + 0x1c]
call fcn.00558380
and eax, 0xff
add eax, ebx
jmp 0x40e9a5
push 0x46
lea ecx, [esp + 0x1c]
call fcn.00558380
and eax, 0xff
push 0x47
lea ecx, [eax + eax*2]
mov eax, 0x80808081
imul ecx
mov esi, edx
add esi, ecx
lea ecx, [esp + 0x1c]
sar esi, 7
mov eax, esi
shr eax, 0x1f
add esi, eax
call fcn.00558380
and eax, 0xff
lea ecx, [esi + eax*4]
mov dword [esp + 0xc], ecx
fild dword [esp + 0xc]
fstp qword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
mov ecx, dword [ebp + 0x24]
push edx
push eax
push str._.2f
push ecx
jmp 0x40eebc
push 0x48
lea ecx, [esp + 0x1c]
call fcn.00558380
and eax, 0xff
push 0x49
lea ecx, [eax + eax*2]
mov eax, 0x80808081
imul ecx
mov esi, edx
add esi, ecx
lea ecx, [esp + 0x1c]
sar esi, 7
mov edx, esi
shr edx, 0x1f
add esi, edx
call fcn.00558380
and eax, 0xff
lea eax, [esi + eax*4]
mov dword [esp + 0xc], eax
fild dword [esp + 0xc]
jmp 0x40ede9
push 0x4a
lea ecx, [esp + 0x1c]
call fcn.00558380
and eax, 0xff
shl eax, 1
cdq
and edx, 0x7f
add eax, edx
sar eax, 7
mov dword [esp + 0xc], eax
fild dword [esp + 0xc]
jmp 0x40ede9
push 0x4b
lea ecx, [esp + 0x1c]
call fcn.00558380
and eax, 0xff
shl eax, 1
cdq
and edx, 0x7f
add eax, edx
sar eax, 7
mov dword [esp + 0xc], eax
fild dword [esp + 0xc]
fstp qword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
mov eax, dword [ebp + 0x24]
push ecx
push edx
push str._.2f
push eax
jmp 0x40eebc
push 0x4d
lea ecx, [esp + 0x1c]
call fcn.00558380
and eax, 0xff
sub eax, 0x30
jmp 0x40e665
push 0x4e
lea ecx, [esp + 0x1c]
call fcn.00558380
and eax, 0xff
sub eax, 0x30
jmp 0x40e9a5
push 0x4f
lea ecx, [esp + 0x1c]
call fcn.00558380
and eax, 0xff
mov ecx, 0xa
cdq
idiv ecx
push edx
jmp 0x40e9a6
push 0x53
lea ecx, [esp + 0x1c]
call fcn.00558380
and eax, 0xff
push 0x52
mov ecx, eax
shl eax, 4
add eax, ecx
shl eax, 4
add eax, ecx
lea ecx, [esp + 0x1c]
lea eax, [eax + eax*4]
cdq
and edx, 0x3f
add eax, edx
mov esi, eax
sar esi, 6
call fcn.00558380
and eax, 0xff
lea eax, [eax + eax*4]
shl eax, 1
cdq
and edx, 0x7f
add eax, edx
sar eax, 7
add esi, eax
mov dword [esp + 0xc], esi
fild dword [esp + 0xc]
fstp qword [esp + 0xc]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, dword [ebp + 0x24]
push eax
push ecx
push str._.2f
push edx
call fcn.005bcf3d
add esp, 0x10
lea ecx, [esp + 0x8c]
mov byte [esp + 0xc8], 6
call fcn.00558a00
lea ecx, [esp + 0x84]
mov byte [esp + 0xc8], 5
call fcn.005581a0
lea ecx, [esp + 0x9c]
mov byte [esp + 0xc8], 4
call fcn.00559d60
lea ecx, [esp + 0x18]
mov byte [esp + 0xc8], 3
call fcn.005581a0
lea ecx, [esp + 0x7c]
mov byte [esp + 0xc8], 2
call fcn.005581a0
lea ecx, [esp + 0x80]
mov byte [esp + 0xc8], 1
call fcn.005581a0
mov eax, dword [ebp + 0x1c]
mov esi, dword [ebp + 0x18]
cmp esi, eax
mov byte [esp + 0xc8], 0xd
mov ebx, eax
je 0x40ef5b
mov ecx, esi
call fcn.005581a0
add esi, 4
cmp esi, ebx
jne 0x40ef4a
mov esi, dword [ebp + 0x18]
push esi
call fcn.005bc500
add esp, 4
mov dword [ebp + 0x18], edi
mov dword [ebp + 0x1c], edi
mov dword [ebp + 0x20], edi
mov byte [esp + 0xc8], 0xc
lea ecx, [ebp + 0x10]
call fcn.005581a0
lea ecx, [ebp + 8]
mov byte [esp + 0xc8], 0
call fcn.005581a0
lea ecx, [ebp + 0x28]
mov dword [esp + 0xc8], 0xffffffff
call fcn.005581a0
mov ecx, dword [esp + 0xc0]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x28