Function at 0x30488f0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x74
push esi
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x34], 0
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x56c], 0
je 0x3048947
mov eax, 1
jmp 0x30492e1
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0303e640
test eax, eax
jne 0x3048961
xor eax, eax
jmp 0x30492e1
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x4794], 0
je 0x30489be
mov ecx, dword [ebp + 0xc]
cmp dword [ecx + 0x570], 0
je 0x304898f
mov edx, dword [ebp + 0xc]
cmp dword [edx + 0x477c], 5
jne 0x304898f
jmp 0x3048af5
mov eax, dword [ebp + 0xc]
push eax
call fcn.03019930
test eax, eax
je 0x30489be
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x570]
mov dword [ebp - 4], edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x584]
mov dword [ebp - 0x34], ecx
jmp 0x3048af5
mov edx, dword [ebp + 0xc]
cmp dword [edx + 0x477c], 0
jne 0x30489d1
xor eax, eax
jmp 0x30492e1
push 0
call fcn.0304ce10
push 0
push 0
push 3
push 0
xor eax, eax
cmp dword [0x30eb22c], 2
sete al
lea eax, [eax*4 + 3]
push eax
push 0x80000000
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x124]
push edx
call dword [0x30ef64c]
mov dword [ebp - 0x40], eax
push 1
call fcn.0304ce10
cmp dword [ebp - 0x40], 0xffffffff
jne 0x3048a20
xor eax, eax
jmp 0x30492e1
mov eax, dword [ebp - 0x40]
push eax
call fcn.03042420
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x3048a3c
jmp 0x3049290
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
mov ax, word [edx]
mov word [ebp - 0x44], ax
movzx ecx, word [ebp - 0x44]
cmp ecx, 0x5a4d
jne 0x3048a5c
jmp 0x3048a7c
movzx edx, word [ebp - 0x44]
cmp edx, 0x4944
jne 0x3048a72
jmp 0x3048bc0
jmp 0x3049290
mov eax, dword [ebp - 4]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
add edx, dword [ecx + 0x3c]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
movzx edx, word [ecx + 0x18]
cmp edx, 0x10b
jne 0x3048ac3
mov eax, dword [ebp - 0x20]
add eax, 0x18
mov dword [ebp - 0x4c], eax
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x18]
add edx, dword [ecx + 0x78]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 0x4c]
mov ecx, dword [eax + 0x7c]
mov dword [ebp - 0x34], ecx
jmp 0x3048af5
mov edx, dword [ebp - 0x20]
movzx eax, word [edx + 0x18]
cmp eax, 0x20b
jne 0x3048af5
mov ecx, dword [ebp - 0x20]
add ecx, 0x18
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x18]
add eax, dword [edx + 0x88]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 0x8c]
mov dword [ebp - 0x34], edx
cmp dword [ebp - 0x34], 0
jne 0x3048b05
jmp 0x3049290
mov eax, dword [ebp + 0xc]
movzx ecx, word [eax + 0x1c]
mov dword [ebp - 0x70], ecx
cmp dword [ebp - 0x70], 0x200
jg 0x3048b3e
cmp dword [ebp - 0x70], 0x200
je 0x3048b74
cmp dword [ebp - 0x70], 0x184
je 0x3048b52
cmp dword [ebp - 0x70], 0x1c0
je 0x3048b96
cmp dword [ebp - 0x70], 0x1f2
je 0x3048ba1
jmp 0x3048bac
cmp dword [ebp - 0x70], 0x284
je 0x3048b63
cmp dword [ebp - 0x70], 0x8664
je 0x3048b85
jmp 0x3048bac
mov eax, dword [ebp - 0x34]
xor edx, edx
mov ecx, 0x14
div ecx
mov dword [ebp - 0x3c], eax
jmp 0x3048bb6
mov eax, dword [ebp - 0x34]
xor edx, edx
mov ecx, 0x28
div ecx
mov dword [ebp - 0x3c], eax
jmp 0x3048bb6
mov eax, dword [ebp - 0x34]
xor edx, edx
mov ecx, 0xc
div ecx
mov dword [ebp - 0x3c], eax
jmp 0x3048bb6
mov eax, dword [ebp - 0x34]
xor edx, edx
mov ecx, 0xc
div ecx
mov dword [ebp - 0x3c], eax
jmp 0x3048bb6
mov edx, dword [ebp - 0x34]
shr edx, 3
mov dword [ebp - 0x3c], edx
jmp 0x3048bb6
mov eax, dword [ebp - 0x34]
shr eax, 3
mov dword [ebp - 0x3c], eax
jmp 0x3048bb6
jmp 0x3049290
jmp 0x3048c45
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x20]
xor edx, edx
mov ecx, 0x1c
div ecx
mov dword [ebp - 0x30], eax
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x18]
imul eax, eax, 0x28
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x1c]
lea eax, [eax + edx + 0x30]
add eax, dword [ebp - 4]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x14], 0
jmp 0x3048c12
mov edx, dword [ebp - 0x14]
add edx, 1
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x38]
add eax, 0x1c
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x14]
cmp ecx, dword [ebp - 0x30]
jae 0x3048c45
mov edx, dword [ebp - 0x38]
cmp dword [edx + 0xc], 5
jne 0x3048c43
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x18]
add ecx, dword [eax + 0x18]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 0x38]
mov eax, dword [edx + 0x10]
xor edx, edx
mov ecx, 0xc
div ecx
mov dword [ebp - 0x3c], eax
jmp 0x3048c45
jmp 0x3048c00
cmp dword [ebp - 0x3c], 0
jne 0x3048c55
jmp 0x3049290
mov edx, dword [ebp - 0x3c]
imul edx, edx, 0x14
mov dword [ebp - 0x2c], edx
push 4
push 0x1000
mov eax, dword [ebp - 0x2c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov ecx, dword [ebp + 0xc]
mov dword [ecx + 0x56c], eax
mov edx, dword [ebp + 0xc]
cmp dword [edx + 0x56c], 0
je 0x3049290
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x56c]
mov dword [ebp - 0x50], ecx
mov edx, dword [ebp + 0xc]
movzx eax, word [edx + 0x1c]
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x74], 0x200
jg 0x3048cde
cmp dword [ebp - 0x74], 0x200
je 0x3048f6a
cmp dword [ebp - 0x74], 0x184
je 0x3048cfd
cmp dword [ebp - 0x74], 0x1c0
je 0x304909a
cmp dword [ebp - 0x74], 0x1f2
je 0x304919c
jmp 0x304926a
cmp dword [ebp - 0x74], 0x284
je 0x3048e7b
cmp dword [ebp - 0x74], 0x8664
je 0x3049002
jmp 0x304926a
movzx ecx, word [ebp - 0x44]
cmp ecx, 0x4944
jne 0x3048da5
mov edx, dword [ebp - 4]
mov dword [ebp - 0x54], edx
mov dword [ebp - 0x14], 0
jmp 0x3048d25
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
cmp ecx, dword [ebp - 0x3c]
jae 0x3048da0
mov edx, dword [ebp - 0x14]
imul edx, edx, 0xc
mov eax, dword [ebp - 0x14]
imul eax, eax, 0x14
mov ecx, dword [ebp - 0x50]
mov esi, dword [ebp - 0x54]
mov edx, dword [esi + edx]
mov dword [ecx + eax], edx
mov eax, dword [ebp - 0x14]
imul eax, eax, 0xc
mov ecx, dword [ebp - 0x14]
imul ecx, ecx, 0x14
mov edx, dword [ebp - 0x50]
mov esi, dword [ebp - 0x54]
mov eax, dword [esi + eax + 4]
mov dword [edx + ecx + 4], eax
mov ecx, dword [ebp - 0x14]
imul ecx, ecx, 0xc
mov edx, dword [ebp - 0x14]
imul edx, edx, 0x14
mov eax, dword [ebp - 0x50]
mov esi, dword [ebp - 0x54]
mov ecx, dword [esi + ecx + 8]
mov dword [eax + edx + 8], ecx
mov edx, dword [ebp - 0x14]
imul edx, edx, 0x14
mov eax, dword [ebp - 0x50]
mov dword [eax + edx + 0xc], 0
mov ecx, dword [ebp - 0x14]
imul ecx, ecx, 0x14
mov edx, dword [ebp - 0x50]
mov dword [edx + ecx + 0x10], 0
jmp 0x3048d1c
jmp 0x3048e76
mov eax, dword [ebp - 4]
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x14], 0
jmp 0x3048dbd
mov ecx, dword [ebp - 0x14]
add ecx, 1
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x14]
cmp edx, dword [ebp - 0x3c]
jae 0x3048e76
mov eax, dword [ebp - 0x14]
imul eax, eax, 0x14
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 8]
mov ecx, dword [ebp - 0x58]
mov eax, dword [ecx + eax]
sub eax, edx
mov ecx, dword [ebp - 0x14]
imul ecx, ecx, 0x14
mov edx, dword [ebp - 0x50]
mov dword [edx + ecx], eax
mov eax, dword [ebp - 0x14]
imul eax, eax, 0x14
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 8]
mov ecx, dword [ebp - 0x58]
mov eax, dword [ecx + eax + 4]
sub eax, edx
mov ecx, dword [ebp - 0x14]
imul ecx, ecx, 0x14
mov edx, dword [ebp - 0x50]
mov dword [edx + ecx + 4], eax
mov eax, dword [ebp - 0x14]
imul eax, eax, 0x14
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 8]
mov ecx, dword [ebp - 0x58]
mov eax, dword [ecx + eax + 0x10]
sub eax, edx
mov ecx, dword [ebp - 0x14]
imul ecx, ecx, 0x14
mov edx, dword [ebp - 0x50]
mov dword [edx + ecx + 8], eax
mov eax, dword [ebp - 0x14]
imul eax, eax, 0x14
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 8]
mov ecx, dword [ebp - 0x58]
mov eax, dword [ecx + eax + 8]
sub eax, edx
mov ecx, dword [ebp - 0x14]
imul ecx, ecx, 0x14
mov edx, dword [ebp - 0x50]
mov dword [edx + ecx + 0xc], eax
mov eax, dword [ebp - 0x14]
imul eax, eax, 0x14
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 8]
mov ecx, dword [ebp - 0x58]
mov eax, dword [ecx + eax + 0xc]
sub eax, edx
mov ecx, dword [ebp - 0x14]
imul ecx, ecx, 0x14
mov edx, dword [ebp - 0x50]
mov dword [edx + ecx + 0x10], eax
jmp 0x3048db4
jmp 0x304926a
mov eax, dword [ebp - 4]
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x14], 0
jmp 0x3048e93
mov ecx, dword [ebp - 0x14]
add ecx, 1
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x14]
cmp edx, dword [ebp - 0x3c]
jae 0x3048f65
mov eax, dword [ebp - 0x14]
imul eax, eax, 0x28
mov ecx, dword [ebp - 0x5c]
mov edx, dword [ebp + 0xc]
mov esi, dword [ecx + eax]
sub esi, dword [edx + 8]
mov eax, dword [ecx + eax + 4]
sbb eax, dword [edx + 0xc]
mov ecx, dword [ebp - 0x14]
imul ecx, ecx, 0x14
mov edx, dword [ebp - 0x50]
mov dword [edx + ecx], esi
mov eax, dword [ebp - 0x14]
imul eax, eax, 0x28
mov ecx, dword [ebp - 0x5c]
mov edx, dword [ebp + 0xc]
mov esi, dword [ecx + eax + 8]
sub esi, dword [edx + 8]
mov eax, dword [ecx + eax + 0xc]
sbb eax, dword [edx + 0xc]
mov ecx, dword [ebp - 0x14]
imul ecx, ecx, 0x14
mov edx, dword [ebp - 0x50]
mov dword [edx + ecx + 4], esi
mov eax, dword [ebp - 0x14]
imul eax, eax, 0x28
mov ecx, dword [ebp - 0x5c]
mov edx, dword [ebp + 0xc]
mov esi, dword [ecx + eax + 0x20]
sub esi, dword [edx + 8]
mov eax, dword [ecx + eax + 0x24]
sbb eax, dword [edx + 0xc]
mov ecx, dword [ebp - 0x14]
imul ecx, ecx, 0x14
mov edx, dword [ebp - 0x50]
mov dword [edx + ecx + 8], esi
mov eax, dword [ebp - 0x14]
imul eax, eax, 0x28
mov ecx, dword [ebp - 0x5c]
mov edx, dword [ebp + 0xc]
mov esi, dword [ecx + eax + 0x10]
sub esi, dword [edx + 8]
mov eax, dword [ecx + eax + 0x14]
sbb eax, dword [edx + 0xc]
mov ecx, dword [ebp - 0x14]
imul ecx, ecx, 0x14
mov edx, dword [ebp - 0x50]
mov dword [edx + ecx + 0xc], esi
mov eax, dword [ebp - 0x14]
imul eax, eax, 0x28
mov ecx, dword [ebp - 0x5c]
mov edx, dword [ebp + 0xc]
mov esi, dword [ecx + eax + 0x18]
sub esi, dword [edx + 8]
mov eax, dword [ecx + eax + 0x1c]
sbb eax, dword [edx + 0xc]
mov ecx, dword [ebp - 0x14]
imul ecx, ecx, 0x14
mov edx, dword [ebp - 0x50]
mov dword [edx + ecx + 0x10], esi
jmp 0x3048e8a
jmp 0x304926a
mov eax, dword [ebp - 4]
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x14], 0
jmp 0x3048f82
mov ecx, dword [ebp - 0x14]
add ecx, 1
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x14]
cmp edx, dword [ebp - 0x3c]
jae 0x3048ffd
mov eax, dword [ebp - 0x14]
imul eax, eax, 0xc
mov ecx, dword [ebp - 0x14]
imul ecx, ecx, 0x14
mov edx, dword [ebp - 0x50]
mov esi, dword [ebp - 0x60]
mov eax, dword [esi + eax]
mov dword [edx + ecx], eax
mov ecx, dword [ebp - 0x14]
imul ecx, ecx, 0xc
mov edx, dword [ebp - 0x14]
imul edx, edx, 0x14
mov eax, dword [ebp - 0x50]
mov esi, dword [ebp - 0x60]
mov ecx, dword [esi + ecx + 4]
mov dword [eax + edx + 4], ecx
mov edx, dword [ebp - 0x14]
imul edx, edx, 0xc
mov eax, dword [ebp - 0x14]
imul eax, eax, 0x14
mov ecx, dword [ebp - 0x50]
mov esi, dword [ebp - 0x60]
mov edx, dword [esi + edx + 8]
mov dword [ecx + eax + 8], edx
mov eax, dword [ebp - 0x14]
imul eax, eax, 0x14
mov ecx, dword [ebp - 0x50]
mov dword [ecx + eax + 0xc], 0
mov edx, dword [ebp - 0x14]
imul edx, edx, 0x14
mov eax, dword [ebp - 0x50]
mov dword [eax + edx + 0x10], 0
jmp 0x3048f79
jmp 0x304926a
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x64], ecx
mov dword [ebp - 0x14], 0
jmp 0x304901a
mov edx, dword [ebp - 0x14]
add edx, 1
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x3c]
jae 0x3049095
mov ecx, dword [ebp - 0x14]
imul ecx, ecx, 0xc
mov edx, dword [ebp - 0x14]
imul edx, edx, 0x14
mov eax, dword [ebp - 0x50]
mov esi, dword [ebp - 0x64]
mov ecx, dword [esi + ecx]
mov dword [eax + edx], ecx
mov edx, dword [ebp - 0x14]
imul edx, edx, 0xc
mov eax, dword [ebp - 0x14]
imul eax, eax, 0x14
mov ecx, dword [ebp - 0x50]
mov esi, dword [ebp - 0x64]
mov edx, dword [esi + edx + 4]
mov dword [ecx + eax + 4], edx
mov eax, dword [ebp - 0x14]
imul eax, eax, 0xc
mov ecx, dword [ebp - 0x14]
imul ecx, ecx, 0x14
mov edx, dword [ebp - 0x50]
mov esi, dword [ebp - 0x64]
mov eax, dword [esi + eax + 8]
mov dword [edx + ecx + 8], eax
mov ecx, dword [ebp - 0x14]
imul ecx, ecx, 0x14
mov edx, dword [ebp - 0x50]
mov dword [edx + ecx + 0xc], 0
mov eax, dword [ebp - 0x14]
imul eax, eax, 0x14
mov ecx, dword [ebp - 0x50]
mov dword [ecx + eax + 0x10], 0
jmp 0x3049011
jmp 0x304926a
mov edx, dword [ebp - 4]
mov dword [ebp - 0x68], edx
mov dword [ebp - 0x14], 0
jmp 0x30490b2
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
cmp ecx, dword [ebp - 0x3c]
jae 0x3049197
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 8]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x68]
mov ecx, dword [edx + ecx*8]
sub ecx, eax
mov edx, dword [ebp - 0x14]
imul edx, edx, 0x14
mov eax, dword [ebp - 0x50]
mov dword [eax + edx], ecx
mov edx, dword [ebp - 0x14]
imul edx, edx, 0x14
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x68]
mov eax, dword [ecx + eax*8 + 4]
shr eax, 8
and eax, 0x3fffff
mov ecx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x68]
mov ecx, dword [esi + ecx*8 + 4]
shr ecx, 0x1e
and ecx, 1
add ecx, 1
shl eax, cl
mov ecx, dword [ebp - 0x50]
add eax, dword [ecx + edx]
mov edx, dword [ebp - 0x14]
imul edx, edx, 0x14
mov ecx, dword [ebp - 0x50]
mov dword [ecx + edx + 4], eax
mov edx, dword [ebp - 0x14]
imul edx, edx, 0x14
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x68]
mov eax, dword [ecx + eax*8 + 4]
and eax, 0xff
mov ecx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x68]
mov ecx, dword [esi + ecx*8 + 4]
shr ecx, 0x1e
and ecx, 1
add ecx, 1
shl eax, cl
mov ecx, dword [ebp - 0x50]
add eax, dword [ecx + edx]
mov edx, dword [ebp - 0x14]
imul edx, edx, 0x14
mov ecx, dword [ebp - 0x50]
mov dword [ecx + edx + 8], eax
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x68]
mov ecx, dword [eax + edx*8 + 4]
shr ecx, 0x1f
and ecx, 1
mov edx, dword [ebp - 0x14]
imul edx, edx, 0x14
mov eax, dword [ebp - 0x50]
mov dword [eax + edx + 0xc], ecx
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x68]
mov eax, dword [edx + ecx*8 + 4]
shr eax, 0x1e
and eax, 1
mov ecx, dword [ebp - 0x14]
imul ecx, ecx, 0x14
mov edx, dword [ebp - 0x50]
mov dword [edx + ecx + 0x10], eax
jmp 0x30490a9
jmp 0x304926a
mov eax, dword [ebp - 4]
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x14], 0
jmp 0x30491b4
mov ecx, dword [ebp - 0x14]
add ecx, 1
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x14]
cmp edx, dword [ebp - 0x3c]
jae 0x304926a
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 8]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x6c]
mov edx, dword [eax + edx*8]
sub edx, ecx
mov eax, dword [ebp - 0x14]
imul eax, eax, 0x14
mov ecx, dword [ebp - 0x50]
mov dword [ecx + eax], edx
mov edx, dword [ebp - 0x14]
imul edx, edx, 0x14
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x6c]
mov eax, dword [ecx + eax*8 + 4]
shr eax, 8
and eax, 0x3fffff
mov ecx, dword [ebp - 0x50]
mov edx, dword [ecx + edx]
lea eax, [edx + eax*4]
mov ecx, dword [ebp - 0x14]
imul ecx, ecx, 0x14
mov edx, dword [ebp - 0x50]
mov dword [edx + ecx + 4], eax
mov eax, dword [ebp - 0x14]
imul eax, eax, 0x14
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x6c]
mov ecx, dword [edx + ecx*8 + 4]
and ecx, 0xff
mov edx, dword [ebp - 0x50]
mov eax, dword [edx + eax]
lea ecx, [eax + ecx*4]
mov edx, dword [ebp - 0x14]
imul edx, edx, 0x14
mov eax, dword [ebp - 0x50]
mov dword [eax + edx + 8], ecx
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x6c]
mov eax, dword [edx + ecx*8 + 4]
shr eax, 0x1e
and eax, 3
mov ecx, dword [ebp - 0x14]
imul ecx, ecx, 0x14
mov edx, dword [ebp - 0x50]
mov dword [edx + ecx + 0xc], eax
mov eax, dword [ebp - 0x14]
imul eax, eax, 0x14
mov ecx, dword [ebp - 0x50]
mov dword [ecx + eax + 0x10], 0
jmp 0x30491ab
lea edx, [ebp - 0x14]
push edx
push 2
mov eax, dword [ebp - 0x2c]
push eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x56c]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x3c]
mov dword [eax + 0x578], ecx
mov edx, dword [ebp + 0xc]
cmp dword [edx + 0x477c], 5
je 0x30492b8
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x570]
push ecx
call fcn.0302b6f0
mov edx, dword [ebp + 0xc]
mov dword [edx + 0x570], 0
cmp dword [ebp - 0x18], 0
je 0x30492c8
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
cmp dword [ebp - 0x40], 0
je 0x30492d8
mov ecx, dword [ebp - 0x40]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
cmp dword [ebp - 0x3c], 0
setne al
pop esi
mov esp, ebp
pop ebp
ret 8