Function at 0x401480
Capabilities:
Inspect section memory permissions
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x422360
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x1914
call fcn.00413910
mov eax, dword [0x4ade04]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1828], eax
mov ecx, dword [ebp - 0x1828]
movzx edx, word [ecx]
cmp edx, 0x5a4d
je 0x4014d7
xor eax, eax
jmp 0x402448
push 0xb40
push 0
lea eax, [ebp - 0x178c]
push eax
call fcn.00416160
add esp, 0xc
mov dword [ebp - 0x180c], 0
jmp 0x401508
mov ecx, dword [ebp - 0x180c]
add ecx, 1
mov dword [ebp - 0x180c], ecx
cmp dword [ebp - 0x180c], 0x12
jae 0x40155d
mov dword [ebp - 0x1808], 0
jmp 0x40152c
mov edx, dword [ebp - 0x1808]
add edx, 1
mov dword [ebp - 0x1808], edx
cmp dword [ebp - 0x1808], 0x14
jge 0x40155b
imul eax, dword [ebp - 0x180c], 0xa0
lea ecx, [ebp + eax - 0x178c]
mov edx, dword [ebp - 0x1808]
movsd xmm0, qword [0x423c40]
movsd qword [ecx + edx*8], xmm0
jmp 0x40151d
jmp 0x4014f9
push 0xb40
push 0
lea eax, [ebp - 0xc4c]
push eax
call fcn.00416160
add esp, 0xc
mov dword [ebp - 0x1810], 0
jmp 0x40158e
mov ecx, dword [ebp - 0x1810]
add ecx, 1
mov dword [ebp - 0x1810], ecx
cmp dword [ebp - 0x1810], 0x12
jae 0x4015e3
mov dword [ebp - 0x1800], 0
jmp 0x4015b2
mov edx, dword [ebp - 0x1800]
add edx, 1
mov dword [ebp - 0x1800], edx
cmp dword [ebp - 0x1800], 0x14
jge 0x4015e1
imul eax, dword [ebp - 0x1810], 0xa0
lea ecx, [ebp + eax - 0xc4c]
mov edx, dword [ebp - 0x1800]
movsd xmm0, qword [0x423d20]
movsd qword [ecx + edx*8], xmm0
jmp 0x4015a3
jmp 0x40157f
mov eax, dword [ebp - 0x1828]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 0x17ec], ecx
mov edx, dword [ebp - 0x17ec]
cmp dword [edx], 0x4550
je 0x40160a
xor eax, eax
jmp 0x402448
mov eax, dword [ebp - 0x17ec]
add eax, 0x18
mov dword [ebp - 0x17c0], eax
mov ecx, 8
imul edx, ecx, 5
mov eax, dword [ebp - 0x17c0]
lea ecx, [eax + edx + 0x60]
mov dword [ebp - 0x1818], ecx
mov edx, dword [ebp - 0x17c0]
cmp dword [edx + 0x10], 0
je 0x401648
mov eax, dword [ebp - 0x1818]
cmp dword [eax], 0
jne 0x40164f
xor eax, eax
jmp 0x402448
mov dword [ebp - 0x18c8], 0x4b2
mov dword [ebp - 0x3c], 0xd9d99
mov dword [ebp - 0x38], 0xc5725
mov dword [ebp - 0x34], 0x44fb0
mov dword [ebp - 0x30], 0xb8f55
mov dword [ebp - 0x2c], 0x81c8d
mov dword [ebp - 0x28], 0x705b5
mov dword [ebp - 0x24], 0x4b2
mov dword [ebp - 0x20], 0x348a8
mov dword [ebp - 0x1c], 0x97638
mov dword [ebp - 0x18], 0xb36d7
mov dword [ebp - 4], 0
mov ecx, 4
shl ecx, 2
mov edx, 4
imul eax, edx, 3
mov ecx, dword [ebp + ecx - 0x3c]
mov dword [ebp + eax - 0x3c], ecx
jmp 0x4016de
mov dword [ebp - 4], 0xffffffff
jmp 0x4016ee
mov dword [ebp - 4], 2
mov dword [ebp - 0x17f4], 2
jmp 0x401710
mov ecx, dword [ebp - 0x17f4]
add ecx, 1
mov dword [ebp - 0x17f4], ecx
cmp dword [ebp - 0x17f4], 9
jge 0x40172f
mov edx, dword [ebp - 0x17f4]
mov eax, dword [ebp - 0x17f4]
mov ecx, dword [ebp + eax*4 - 0x38]
mov dword [ebp + edx*4 - 0x3c], ecx
jmp 0x401701
jmp 0x40174f
mov dword [ebp - 4], 0xffffffff
jmp 0x40175f
mov dword [ebp - 4], 4
mov dword [ebp - 0x17d8], 4
jmp 0x401781
mov ecx, dword [ebp - 0x17d8]
add ecx, 1
mov dword [ebp - 0x17d8], ecx
cmp dword [ebp - 0x17d8], 9
jge 0x4017a0
mov edx, dword [ebp - 0x17d8]
mov eax, dword [ebp - 0x17d8]
mov ecx, dword [ebp + eax*4 - 0x38]
mov dword [ebp + edx*4 - 0x3c], ecx
jmp 0x401772
jmp 0x4017c0
mov dword [ebp - 4], 0xffffffff
jmp 0x4017d0
mov dword [ebp - 4], 6
mov ecx, 4
imul edx, ecx, 3
mov eax, 4
imul ecx, eax, 5
mov edx, dword [ebp + edx - 0x3c]
mov dword [ebp + ecx - 0x3c], edx
jmp 0x40180f
mov dword [ebp - 4], 0xffffffff
jmp 0x40181f
mov dword [ebp - 4], 8
mov dword [ebp - 0x17dc], 2
jmp 0x401841
mov edx, dword [ebp - 0x17dc]
add edx, 1
mov dword [ebp - 0x17dc], edx
cmp dword [ebp - 0x17dc], 9
jge 0x401860
mov eax, dword [ebp - 0x17dc]
mov ecx, dword [ebp - 0x17dc]
mov edx, dword [ebp + ecx*4 - 0x38]
mov dword [ebp + eax*4 - 0x3c], edx
jmp 0x401832
jmp 0x401880
mov dword [ebp - 4], 0xffffffff
jmp 0x401890
mov dword [ebp - 4], 0xa
mov dword [ebp - 0x17e0], 2
jmp 0x4018b2
mov edx, dword [ebp - 0x17e0]
add edx, 1
mov dword [ebp - 0x17e0], edx
cmp dword [ebp - 0x17e0], 9
jge 0x4018d1
mov eax, dword [ebp - 0x17e0]
mov ecx, dword [ebp - 0x17e0]
mov edx, dword [ebp + ecx*4 - 0x38]
mov dword [ebp + eax*4 - 0x3c], edx
jmp 0x4018a3
jmp 0x4018f1
mov dword [ebp - 4], 0xffffffff
jmp 0x401901
xor edx, edx
mov dword [ebp - 0x18bc], 0x512
mov dword [ebp - 0x18b8], edx
mov dword [ebp - 0x70], 0x1d27
mov dword [ebp - 0x6c], 0x1c51f
mov dword [ebp - 0x68], 0xba0aa
mov dword [ebp - 0x64], 0xa1e4a
mov dword [ebp - 0x60], 0xe0467
mov dword [ebp - 0x5c], 0xb2952
mov dword [ebp - 0x58], 0x512
mov dword [ebp - 0x54], 0xc4b99
mov dword [ebp - 0x50], 0x996b0
mov dword [ebp - 0x4c], 0xf0a09
mov dword [ebp - 0x48], 0x1a55f
mov dword [ebp - 0x44], 0x70d58
mov dword [ebp - 0x40], 0x1009e
mov dword [ebp - 4], 0xc
mov eax, 4
imul ecx, eax, 5
mov edx, 4
imul eax, edx, 3
mov ecx, dword [ebp + ecx - 0x70]
mov dword [ebp + eax - 0x70], ecx
jmp 0x4019ad
mov dword [ebp - 4], 0xffffffff
jmp 0x4019bd
mov dword [ebp - 4], 0xe
mov ecx, 4
shl ecx, 1
mov edx, 4
imul eax, edx, 7
mov ecx, dword [ebp + ecx - 0x70]
mov dword [ebp + eax - 0x70], ecx
jmp 0x4019fb
mov dword [ebp - 4], 0xffffffff
jmp 0x401a0b
xor ecx, ecx
mov dword [ebp - 0x18c4], 0x41e
mov dword [ebp - 0x18c0], ecx
mov dword [ebp - 0xd0], 0x5cdbf
mov dword [ebp - 0xcc], 0x1a8fb
mov dword [ebp - 0xc8], 0x5037b
mov dword [ebp - 0xc4], 0xd13af
mov dword [ebp - 0xc0], 0x543c8
mov dword [ebp - 0xbc], 0x24f78
mov dword [ebp - 0xb8], 0x41e
mov dword [ebp - 0xb4], 0x1b6b7
mov dword [ebp - 0xb0], 0x61960
mov dword [ebp - 0xac], 0xa7c41
mov dword [ebp - 0xa8], 0xd6175
mov dword [ebp - 0xa4], 0x125c3
mov dword [ebp - 0xa0], 0xd764c
mov dword [ebp - 0x9c], 0x9fc7e
mov dword [ebp - 0x98], 0x9e80c
mov dword [ebp - 0x94], 0x4ad33
mov dword [ebp - 0x90], 0x761c8
mov dword [ebp - 0x8c], 0x140ed
mov dword [ebp - 0x88], 0x30ce3
mov dword [ebp - 0x84], 0x92e07
mov dword [ebp - 0x80], 0x84685
mov dword [ebp - 0x7c], 0xe7f39
mov dword [ebp - 0x78], 0x2ac20
mov dword [ebp - 0x74], 0xd6091
mov dword [ebp - 4], 0x10
mov edx, 4
imul eax, edx, 6
mov ecx, 4
imul edx, ecx, 0xb
mov eax, dword [ebp + eax - 0xd0]
mov dword [ebp + edx - 0xd0], eax
jmp 0x401b49
mov dword [ebp - 4], 0xffffffff
jmp 0x401b59
mov dword [ebp - 4], 0x12
mov eax, 4
imul ecx, eax, 0xf
mov edx, 4
shl edx, 1
mov eax, dword [ebp + ecx - 0xd0]
mov dword [ebp + edx - 0xd0], eax
jmp 0x401ba0
mov dword [ebp - 4], 0xffffffff
jmp 0x401bb0
mov dword [ebp - 4], 0x14
mov dword [ebp - 0x17e4], 3
jmp 0x401bd2
mov eax, dword [ebp - 0x17e4]
add eax, 1
mov dword [ebp - 0x17e4], eax
cmp dword [ebp - 0x17e4], 0x17
jge 0x401bf7
mov ecx, dword [ebp - 0x17e4]
mov edx, dword [ebp - 0x17e4]
mov eax, dword [ebp + edx*4 - 0xcc]
mov dword [ebp + ecx*4 - 0xd0], eax
jmp 0x401bc3
jmp 0x401c1a
mov dword [ebp - 4], 0xffffffff
jmp 0x401c2a
movzx eax, byte [ebp - 0x1821]
push eax
push 0x4231a4
lea ecx, [ebp - 0x1798]
call fcn.00410f50
mov ecx, eax
call fcn.004132a0
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [ebp - 0x1858], eax
movzx ecx, byte [ebp - 0x1822]
push ecx
push str.NtAllocateVirtualMemory
lea ecx, [ebp - 0x17b4]
call fcn.004109b0
mov ecx, eax
call fcn.004133a0
push eax
mov edx, dword [ebp - 0x1858]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x182c], eax
mov dword [ebp - 0x17bc], 0
mov eax, dword [ebp - 0x17c0]
mov ecx, dword [eax + 0x38]
mov dword [ebp - 0x185c], ecx
cmp dword [ebp - 0x182c], 0
je 0x401cd3
push 0x40
push 0x3000
lea edx, [ebp - 0x185c]
push edx
push 0
lea eax, [ebp - 0x17bc]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [ebp - 0x182c]
test eax, eax
je 0x401cda
xor eax, eax
jmp 0x402448
mov ecx, dword [ebp - 0x17c0]
mov edx, dword [ecx + 0x3c]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x17bc]
push ecx
call fcn.00415be0
add esp, 0xc
mov edx, dword [ebp - 0x17ec]
add edx, 0xf8
mov dword [ebp - 0x17d0], edx
xor eax, eax
mov word [ebp - 0x17b8], ax
jmp 0x401d26
mov cx, word [ebp - 0x17b8]
add cx, 1
mov word [ebp - 0x17b8], cx
movzx edx, word [ebp - 0x17b8]
mov eax, dword [ebp - 0x17ec]
movzx ecx, word [eax + 6]
cmp edx, ecx
jge 0x401e9e
movzx edx, word [ebp - 0x17b8]
imul eax, edx, 0x28
mov ecx, dword [ebp - 0x17d0]
mov edx, dword [ecx + eax + 0x10]
push edx
movzx eax, word [ebp - 0x17b8]
imul ecx, eax, 0x28
mov edx, dword [ebp - 0x17d0]
mov eax, dword [ebp + 8]
add eax, dword [edx + ecx + 0x14]
push eax
movzx ecx, word [ebp - 0x17b8]
imul edx, ecx, 0x28
mov eax, dword [ebp - 0x17d0]
mov ecx, dword [ebp - 0x17bc]
add ecx, dword [eax + edx + 0xc]
push ecx
call fcn.00415be0
add esp, 0xc
movzx edx, word [ebp - 0x17b8]
imul eax, edx, 0x28
mov ecx, dword [ebp - 0x17d0]
mov edx, dword [ecx + eax + 0x24]
mov dword [ebp - 0x17fc], edx
mov eax, dword [ebp - 0x17fc]
and eax, 0x20000000
je 0x401dc2
mov dword [ebp - 0x1830], 0x10
jmp 0x401dcc
mov dword [ebp - 0x1830], 1
mov ecx, dword [ebp - 0x17fc]
and ecx, 0x40000000
je 0x401de6
mov dword [ebp - 0x1834], 2
jmp 0x401df0
mov dword [ebp - 0x1834], 1
mov edx, dword [ebp - 0x17fc]
and edx, 0x80000000
je 0x401e0a
mov dword [ebp - 0x1838], 4
jmp 0x401e14
mov dword [ebp - 0x1838], 8
mov eax, dword [ebp - 0x17fc]
and eax, 0x4000000
je 0x401e2d
mov dword [ebp - 0x183c], 0x200
jmp 0x401e37
mov dword [ebp - 0x183c], 0
mov ecx, dword [ebp - 0x1830]
or ecx, dword [ebp - 0x1834]
or ecx, dword [ebp - 0x1838]
or ecx, dword [ebp - 0x183c]
mov dword [ebp - 0x1860], ecx
lea edx, [ebp - 0x18dc]
push edx
mov eax, dword [ebp - 0x1860]
push eax
movzx ecx, word [ebp - 0x17b8]
imul edx, ecx, 0x28
mov eax, dword [ebp - 0x17d0]
mov ecx, dword [eax + edx + 8]
push ecx
movzx edx, word [ebp - 0x17b8]
imul eax, edx, 0x28
mov ecx, dword [ebp - 0x17d0]
mov edx, dword [ebp - 0x17bc]
add edx, dword [ecx + eax + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
jmp 0x401d14
mov dword [ebp - 0x18e0], 0x47
mov dword [ebp - 0x10c], 0x70ede
mov dword [ebp - 0x108], 0xeb686
mov dword [ebp - 0x104], 0x99128
mov dword [ebp - 0x100], 0x1b172
mov dword [ebp - 0xfc], 0x5c760
mov dword [ebp - 0xf8], 0xbedbb
mov dword [ebp - 0xf4], 0x47
mov dword [ebp - 0xf0], 0xd0f24
mov dword [ebp - 0xec], 0x3c293
mov dword [ebp - 0xe8], 0x6db55
mov dword [ebp - 0xe4], 0x690c5
mov dword [ebp - 0xe0], 0xe3f1a
mov dword [ebp - 0xdc], 0x6e529
mov dword [ebp - 0xd8], 0xe3a73
mov dword [ebp - 0xd4], 0x58078
mov dword [ebp - 4], 0x16
mov eax, 4
imul ecx, eax, 0
mov edx, 4
imul eax, edx, 7
mov ecx, dword [ebp + ecx - 0x10c]
mov dword [ebp + eax - 0x10c], ecx
jmp 0x401f86
mov dword [ebp - 4], 0xffffffff
jmp 0x401f96
mov ecx, 8
shl ecx, 0
mov edx, dword [ebp - 0x17c0]
cmp dword [edx + ecx + 0x64], 0
je 0x4020f0
mov eax, 8
shl eax, 0
mov ecx, dword [ebp - 0x17c0]
mov edx, dword [ebp - 0x17bc]
add edx, dword [ecx + eax + 0x60]
mov dword [ebp - 0x17cc], edx
mov eax, dword [ebp - 0x17cc]
cmp dword [eax + 0xc], 0
je 0x4020f0
mov ecx, dword [ebp - 0x17cc]
mov edx, dword [ebp - 0x17bc]
add edx, dword [ecx + 0xc]
mov dword [ebp - 0x1868], edx
mov eax, dword [ebp - 0x1868]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0x1840], eax
cmp dword [ebp - 0x1840], 0
je 0x4020dc
mov ecx, dword [ebp - 0x17cc]
mov edx, dword [ebp - 0x17bc]
add edx, dword [ecx]
mov dword [ebp - 0x17c8], edx
mov eax, dword [ebp - 0x17cc]
mov ecx, dword [ebp - 0x17bc]
add ecx, dword [eax + 0x10]
mov dword [ebp - 0x1804], ecx
mov edx, dword [ebp - 0x17cc]
cmp dword [edx], 0
jne 0x402052
mov eax, dword [ebp - 0x1804]
mov dword [ebp - 0x17c8], eax
jmp 0x402072
mov ecx, dword [ebp - 0x1804]
add ecx, 4
mov dword [ebp - 0x1804], ecx
mov edx, dword [ebp - 0x17c8]
add edx, 4
mov dword [ebp - 0x17c8], edx
mov eax, dword [ebp - 0x17c8]
cmp dword [eax], 0
je 0x4020dc
mov ecx, dword [ebp - 0x17c8]
mov edx, dword [ecx]
and edx, 0x80000000
je 0x4020a3
mov eax, dword [ebp - 0x17c8]
mov ecx, dword [eax]
and ecx, 0xffff
mov dword [ebp - 0x1848], ecx
jmp 0x4020bb
mov edx, dword [ebp - 0x17c8]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x17bc]
lea edx, [ecx + eax + 2]
mov dword [ebp - 0x1848], edx
mov eax, dword [ebp - 0x1848]
push eax
mov ecx, dword [ebp - 0x1840]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 0x1804]
mov dword [edx], eax
jmp 0x402054
mov eax, dword [ebp - 0x17cc]
add eax, 0x14
mov dword [ebp - 0x17cc], eax
jmp 0x401fcd
push 0x4231c8
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0x1814], eax
cmp dword [ebp - 0x1814], 0
jne 0x402114
mov dword [ebp - 0x1814], 0
push 0x4231d4
mov ecx, dword [ebp - 0x1814]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x17f8], eax
mov edx, dword [ebp - 0x17f8]
mov dword [ebp - 0x18e4], edx
cmp dword [ebp - 0x17f8], 0
jne 0x40214b
mov dword [ebp - 0x17f8], 0
call dword [ebp - 0x17f8]
mov dword [ebp - 0x186c], eax
mov dword [ebp - 0x186c], 0
mov eax, dword [ebp - 0x1818]
mov ecx, dword [ebp - 0x17bc]
add ecx, dword [eax]
mov dword [ebp - 0x1870], ecx
mov edx, dword [ebp - 0x1870]
mov dword [ebp - 0x17c4], edx
mov eax, dword [ebp - 0x17c0]
mov ecx, dword [ebp - 0x17bc]
sub ecx, dword [eax + 0x1c]
mov dword [ebp - 0x1878], ecx
mov edx, dword [ebp - 0x1818]
mov eax, dword [ebp - 0x17c4]
add eax, dword [edx + 4]
mov dword [ebp - 0x1874], eax
mov ecx, dword [ebp - 0x17c4]
cmp ecx, dword [ebp - 0x1874]
jae 0x40228f
mov edx, dword [ebp - 0x17c4]
cmp dword [edx], 0
je 0x40228f
mov eax, dword [ebp - 0x17c4]
mov ecx, dword [eax + 4]
sub ecx, 8
shr ecx, 1
mov dword [ebp - 0x181c], ecx
mov edx, dword [ebp - 0x17c4]
add edx, 8
mov dword [ebp - 0x17e8], edx
mov eax, dword [ebp - 0x17c4]
mov ecx, dword [ebp - 0x17bc]
add ecx, dword [eax]
mov dword [ebp - 0x1844], ecx
jmp 0x402223
mov edx, dword [ebp - 0x17e8]
add edx, 2
mov dword [ebp - 0x17e8], edx
mov eax, dword [ebp - 0x181c]
sub eax, 1
mov dword [ebp - 0x181c], eax
cmp dword [ebp - 0x181c], 0
je 0x402275
mov ecx, dword [ebp - 0x17e8]
movzx edx, word [ecx]
sar edx, 0xc
cmp edx, 3
jne 0x402273
mov eax, dword [ebp - 0x17e8]
movzx ecx, word [eax]
and ecx, 0xfff
mov edx, dword [ebp - 0x1844]
mov eax, dword [edx + ecx]
add eax, dword [ebp - 0x1878]
mov ecx, dword [ebp - 0x17e8]
movzx edx, word [ecx]
and edx, 0xfff
mov ecx, dword [ebp - 0x1844]
mov dword [ecx + edx], eax
jmp 0x402205
mov edx, dword [ebp - 0x17c4]
mov eax, dword [ebp - 0x17c4]
add eax, dword [edx + 4]
mov dword [ebp - 0x17c4], eax
jmp 0x4021ab
lea ecx, [ebp - 0x18e8]
push ecx
push 2
mov edx, dword [ebp - 0x17ec]
mov eax, dword [edx + 0x54]
push eax
mov ecx, dword [ebp - 0x17bc]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov edx, 0x520
mov word [ebp - 0x17d4], dx
mov dword [ebp - 0x187c], 0x2b
movsx eax, word [ebp - 0x17d4]
cdq
mov ecx, 0x16d1
idiv ecx
cdq
idiv dword [ebp - 0x187c]
mov ecx, 0xca
sub ecx, eax
movsx esi, word [ebp - 0x17d4]
mov eax, 0x1dd0
cdq
idiv esi
sub ecx, eax
add ecx, 0x5fc
mov eax, ecx
cdq
mov dword [ebp - 0x18f4], eax
mov dword [ebp - 0x18f0], edx
mov dword [ebp - 0x1820], 0x87
mov dword [ebp - 0x1880], 0x2a9
mov eax, dword [ebp - 0x1820]
cdq
and edx, 0xf
add eax, edx
mov ecx, eax
sar ecx, 4
mov eax, dword [ebp - 0x1820]
cdq
mov esi, 0x1260
idiv esi
lea ecx, [ecx + eax + 0x633]
mov eax, dword [ebp - 0x1820]
cdq
mov esi, 0x12c5
idiv esi
add ecx, dword [ebp - 0x1880]
lea edx, [eax + ecx - 0x3ec]
mov dword [ebp - 0x18ec], edx
mov eax, 8
imul ecx, eax, 9
mov edx, dword [ebp - 0x17c0]
cmp dword [edx + ecx + 0x64], 0
je 0x4023e1
mov eax, 8
imul ecx, eax, 9
mov edx, dword [ebp - 0x17c0]
mov eax, dword [ebp - 0x17bc]
add eax, dword [edx + ecx + 0x60]
mov dword [ebp - 0x1884], eax
mov ecx, dword [ebp - 0x1884]
mov edx, dword [ecx + 0xc]
mov dword [ebp - 0x17f0], edx
jmp 0x4023b6
mov eax, dword [ebp - 0x17f0]
add eax, 4
mov dword [ebp - 0x17f0], eax
cmp dword [ebp - 0x17f0], 0
je 0x4023e1
mov ecx, dword [ebp - 0x17f0]
cmp dword [ecx], 0
je 0x4023e1
push 0
push 1
mov edx, dword [ebp - 0x17bc]
push edx
mov eax, dword [ebp - 0x17f0]
mov ecx, dword [eax]
call ecx
jmp 0x4023a7
lea edx, [ebp - 0x18b4]
push edx
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
lea eax, [ebp - 0x18ac]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov edx, dword [ebp - 0x18a8]
mov ecx, dword [ebp - 0x18ac]
call fcn.00413990
mov edx, dword [ebp - 0x18b0]
mov ecx, dword [ebp - 0x18b4]
movsd qword [ebp - 0x18d0], xmm0
call fcn.00413990
movsd xmm1, qword [ebp - 0x18d0]
divsd xmm1, xmm0
movsd qword [ebp - 0x18d8], xmm1
mov ecx, dword [ebp - 0x17c0]
mov eax, dword [ebp - 0x17bc]
add eax, dword [ecx + 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00413847
mov esp, ebp
pop ebp
ret