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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x70
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 0x30445f7
mov eax, 1
jmp 0x3044e9d
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0303a370
test eax, eax
jne 0x3044611
xor eax, eax
jmp 0x3044e9d
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x4794], 0
je 0x304466e
mov ecx, dword [ebp + 0xc]
cmp dword [ecx + 0x570], 0
je 0x304463f
mov edx, dword [ebp + 0xc]
cmp dword [edx + 0x477c], 5
jne 0x304463f
jmp 0x30447a5
mov eax, dword [ebp + 0xc]
push eax
call fcn.03018cf0
test eax, eax
je 0x304466e
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 0x30447a5
mov edx, dword [ebp + 0xc]
cmp dword [edx + 0x477c], 0
jne 0x3044681
xor eax, eax
jmp 0x3044e9d
push 0
call fcn.03048900
push 0
push 0
push 3
push 0
xor eax, eax
cmp dword [0x30ec224], 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 [0x30f02a8]
mov dword [ebp - 0x40], eax
push 1
call fcn.03048900
cmp dword [ebp - 0x40], 0xffffffff
jne 0x30446d0
xor eax, eax
jmp 0x3044e9d
mov eax, dword [ebp - 0x40]
push eax
call fcn.0303e1c0
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x30446ec
jmp 0x3044e4c
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 0x304470c
jmp 0x304472c
movzx edx, word [ebp - 0x44]
cmp edx, 0x4944
jne 0x3044722
jmp 0x304485c
jmp 0x3044e4c
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 0x3044773
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 0x30447a5
mov edx, dword [ebp - 0x20]
movzx eax, word [edx + 0x18]
cmp eax, 0x20b
jne 0x30447a5
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 0x30447b5
jmp 0x3044e4c
mov eax, dword [ebp + 0xc]
movzx ecx, word [eax + 0x1c]
mov dword [ebp - 0x6c], ecx
cmp dword [ebp - 0x6c], 0x200
jg 0x30447e5
cmp dword [ebp - 0x6c], 0x200
je 0x304481b
cmp dword [ebp - 0x6c], 0x184
je 0x30447f9
cmp dword [ebp - 0x6c], 0x1c0
je 0x304483d
jmp 0x3044848
cmp dword [ebp - 0x6c], 0x284
je 0x304480a
cmp dword [ebp - 0x6c], 0x8664
je 0x304482c
jmp 0x3044848
mov eax, dword [ebp - 0x34]
xor edx, edx
mov ecx, 0x14
div ecx
mov dword [ebp - 0x3c], eax
jmp 0x3044852
mov eax, dword [ebp - 0x34]
xor edx, edx
mov ecx, 0x28
div ecx
mov dword [ebp - 0x3c], eax
jmp 0x3044852
mov eax, dword [ebp - 0x34]
xor edx, edx
mov ecx, 0xc
div ecx
mov dword [ebp - 0x3c], eax
jmp 0x3044852
mov eax, dword [ebp - 0x34]
xor edx, edx
mov ecx, 0xc
div ecx
mov dword [ebp - 0x3c], eax
jmp 0x3044852
mov edx, dword [ebp - 0x34]
shr edx, 3
mov dword [ebp - 0x3c], edx
jmp 0x3044852
jmp 0x3044e4c
jmp 0x30448e1
mov eax, dword [ebp - 4]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx + 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 0x30448ae
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 0x30448e1
mov edx, dword [ebp - 0x38]
cmp dword [edx + 0xc], 5
jne 0x30448df
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 0x30448e1
jmp 0x304489c
cmp dword [ebp - 0x3c], 0
jne 0x30448f1
jmp 0x3044e4c
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 0x3044e4c
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 - 0x70], eax
cmp dword [ebp - 0x70], 0x200
jg 0x304496d
cmp dword [ebp - 0x70], 0x200
je 0x3044bf9
cmp dword [ebp - 0x70], 0x184
je 0x304498c
cmp dword [ebp - 0x70], 0x1c0
je 0x3044d29
jmp 0x3044e26
cmp dword [ebp - 0x70], 0x284
je 0x3044b0a
cmp dword [ebp - 0x70], 0x8664
je 0x3044c91
jmp 0x3044e26
movzx ecx, word [ebp - 0x44]
cmp ecx, 0x4944
jne 0x3044a34
mov edx, dword [ebp - 4]
mov dword [ebp - 0x54], edx
mov dword [ebp - 0x14], 0
jmp 0x30449b4
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
cmp ecx, dword [ebp - 0x3c]
jae 0x3044a2f
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 0x30449ab
jmp 0x3044b05
mov eax, dword [ebp - 4]
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x14], 0
jmp 0x3044a4c
mov ecx, dword [ebp - 0x14]
add ecx, 1
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x14]
cmp edx, dword [ebp - 0x3c]
jae 0x3044b05
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 0x3044a43
jmp 0x3044e26
mov eax, dword [ebp - 4]
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x14], 0
jmp 0x3044b22
mov ecx, dword [ebp - 0x14]
add ecx, 1
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x14]
cmp edx, dword [ebp - 0x3c]
jae 0x3044bf4
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 0x3044b19
jmp 0x3044e26
mov eax, dword [ebp - 4]
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x14], 0
jmp 0x3044c11
mov ecx, dword [ebp - 0x14]
add ecx, 1
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x14]
cmp edx, dword [ebp - 0x3c]
jae 0x3044c8c
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 0x3044c08
jmp 0x3044e26
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x64], ecx
mov dword [ebp - 0x14], 0
jmp 0x3044ca9
mov edx, dword [ebp - 0x14]
add edx, 1
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x3c]
jae 0x3044d24
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 0x3044ca0
jmp 0x3044e26
mov edx, dword [ebp - 4]
mov dword [ebp - 0x68], edx
mov dword [ebp - 0x14], 0
jmp 0x3044d41
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
cmp ecx, dword [ebp - 0x3c]
jae 0x3044e26
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 0x3044d38
lea eax, [ebp - 0x14]
push eax
push 2
mov ecx, dword [ebp - 0x2c]
push ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x56c]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 0x3c]
mov dword [ecx + 0x578], edx
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x477c], 5
je 0x3044e74
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x570]
push edx
call fcn.030291c0
mov eax, dword [ebp + 0xc]
mov dword [eax + 0x570], 0
cmp dword [ebp - 0x18], 0
je 0x3044e84
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
cmp dword [ebp - 0x40], 0
je 0x3044e94
mov edx, dword [ebp - 0x40]
push edx
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