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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x30075344]
push ebx
push esi
push edi
mov dword [0x30097c24], eax
mov dword [0x30085ae4], eax
mov dword [0x30085adc], eax
mov eax, dword [0x3007540c]
push 5
mov dword [0x30097c28], eax
pop ecx
xor ebx, ebx
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 0x10]
mov eax, dword [ebp + 8]
mov dword [0x30097c2c], ebx
mov dword [0x30097c30], ebx
mov dword [0x30097c20], ebx
mov esi, 0x30097c20
mov edi, 0x30097c00
push 0x65
mov dword [0x30085ac8], 1
mov dword [0x30085acc], ebx
mov dword [0x30085ad0], 6
mov dword [0x30085ad4], ebx
mov dword [0x30085ad8], ebx
mov dword [0x3007504c], 0xc
mov dword [0x30085ae0], ebx
mov dword [0x30097bb0], ebx
mov dword [0x30075050], 2
rep movsd dword es:[edi], dword [esi]
push dword [eax + 0x26]
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
call fcn.3003a5eb
cmp eax, ebx
jne 0x30035eb2
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push dword [ebp + 0x14]
mov esi, eax
push esi
mov dword [ebp - 0x10], esi
call fcn.3001c300
test byte [esi + 0x10], 0x20
mov edi, eax
mov dword [ebp + 0x10], edi
je 0x30035afa
mov esi, dword [ebp - 0xc]
lea eax, [ebp - 0xc]
push eax
push dword [edi]
mov eax, dword [ebp + 8]
push 0x65
push dword [eax + 0x26]
call fcn.3003a5eb
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
cmp edi, ebx
je 0x30035adf
mov eax, edi
jmp 0x30035eb2
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push ebx
push eax
mov dword [ebp - 0x10], eax
call fcn.3001c300
mov esi, dword [ebp - 0x10]
mov dword [ebp + 0x10], eax
mov edi, eax
cmp dword [esi + 0x98], ebx
je 0x30035b2e
mov eax, dword [esi + 0xac]
mov dword [0x30085adc], eax
mov eax, dword [esi + 0xa8]
push 5
add esi, 0xb0
pop ecx
mov edi, 0x30097c20
mov dword [0x30075050], eax
rep movsd dword es:[edi], dword [esi]
mov edi, dword [ebp + 0x10]
mov esi, dword [ebp - 0x10]
mov eax, dword [edi + 0xbc]
mov dword [0x30085aec], eax
mov ax, word [esi + 0x34]
call fcn.300341e1
mov word [0x30085ae8], ax
push 0xffffffffffffffff
xor eax, eax
mov ecx, edi
call fcn.30034b98
push ebx
push 0xffffffffffffffff
mov eax, edi
call fcn.30034cf2
push 0xffffffffffffffff
push dword [ebp + 8]
mov ecx, edi
mov eax, esi
call fcn.30034e84
mov ebx, dword [ebp + 0xc]
test ebx, ebx
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 8]
je 0x30035c2c
mov ecx, dword [eax + 0x120]
mov dword [ebx + 0x78], ecx
push 5
pop ecx
lea esi, [eax + 0x130]
lea edi, [ebx + 0x40]
rep movsd dword es:[edi], dword [esi]
lea esi, [eax + 0x80]
lea edi, [ebx + 0x54]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ecx, dword [eax + 0x7c]
mov dword [ebx + 0x70], ecx
mov ecx, dword [eax + 0x70]
mov dword [ebx + 0x64], ecx
mov ecx, dword [eax + 0x74]
mov dword [ebx + 0x68], ecx
mov ecx, dword [eax + 0x78]
mov dword [ebx + 0x6c], ecx
mov ecx, dword [eax + 0x94]
mov dword [ebx + 0x74], ecx
mov ecx, dword [eax + 0xb0]
mov dword [ebx + 0x7c], ecx
mov ecx, dword [eax + 0xb4]
mov dword [ebx + 0x80], ecx
push 5
lea esi, [edx + 0x398]
pop ecx
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
lea esi, [edx + 0x272]
lea edi, [ebx + 0x14]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ecx, dword [edx + 0x25e]
sub ecx, 0x5dc
mov dword [ebx + 0x30], ecx
mov ecx, dword [edx + 0x262]
mov dword [ebx + 0x24], ecx
mov ecx, dword [edx + 0x266]
mov dword [ebx + 0x28], ecx
mov ecx, dword [edx + 0x26a]
mov dword [ebx + 0x2c], ecx
mov ecx, dword [edx + 0x25a]
mov dword [ebx + 0x34], ecx
mov ecx, dword [edx + 0x286]
mov dword [ebx + 0x38], ecx
mov ecx, dword [eax]
test ecx, ecx
jl 0x30035cb6
lea eax, [ebp - 0x14]
push eax
push ecx
push 0x65
push dword [edx + 0x26]
call fcn.3003a5eb
test eax, eax
mov dword [ebp + 0x14], eax
jne 0x30035e8a
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ecx, dword [ebp - 0x10]
cmp dword [ecx + 0x98], 0
jne 0x30035c9f
mov esi, dword [eax + 0xa0]
push 5
add esi, eax
pop ecx
mov edi, 0x30097ba0
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [eax + 0xac]
mov dword [0x30085adc], ecx
mov ecx, dword [eax + 0xa8]
mov dword [0x30075050], ecx
push 5
lea esi, [eax + 0xb0]
pop ecx
mov edi, 0x30097c20
rep movsd dword es:[edi], dword [esi]
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push dword [ebp - 0x14]
call fcn.3004ee74
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 8]
lea ecx, [ebp - 8]
push ecx
push dword [eax + 0x10]
push 0x66
push dword [edx + 0x26]
call fcn.3003a5eb
test eax, eax
mov dword [ebp + 0x14], eax
jne 0x30035e8a
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp + 0x10]
push dword [eax + 0xbc]
mov eax, dword [ebp + 8]
push 0x67
push dword [eax + 0x26]
call fcn.3003a5eb
test eax, eax
mov dword [ebp + 0x14], eax
jne 0x30035e8a
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov esi, eax
mov eax, dword [esi + 0x34]
or dword [0x30085acc], 0xffffffff
xor edi, edi
add eax, esi
cmp dword [esi + 0x2c], edi
mov dword [ebp - 0x10], esi
mov dword [ebp + 0x10], edi
mov dword [ebp + 8], edi
jle 0x30035dc7
add eax, 0xc
mov dword [ebp + 0xc], eax
mov eax, dword [eax]
cmp eax, edi
jl 0x30035da7
push eax
push dword [ebp - 8]
call fcn.3006473a
cmp eax, edi
je 0x30035d9f
cmp dword [eax], 1
je 0x30035d87
cmp dword [ebp + 0x10], edi
jne 0x30035d87
mov ecx, dword [eax + 0x14]
imul ecx, ecx, 0x30
lea ecx, [ecx + eax + 0x50]
mov edx, dword [ecx]
mov dword [0x30085ad8], edx
mov edx, dword [ecx + 0xc]
mov dword [0x30085ae4], edx
mov edx, dword [ecx + 4]
mov dword [0x3007504c], edx
mov edx, dword [ecx + 8]
mov dword [ebp + 0x10], ecx
lea esi, [ecx + 0x3c]
push 5
pop ecx
mov edi, 0x30097c00
mov dword [0x30085ae0], edx
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x10]
xor edi, edi
cmp dword [0x30085acc], edi
jge 0x30035d9f
test word [eax + 0x20], 0x4000
je 0x30035d9f
mov eax, dword [eax + 0x4c]
mov dword [0x30085acc], eax
push dword [ebp - 8]
call fcn.30064767
inc dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
add eax, 0x14
cmp ecx, dword [esi + 0x2c]
mov dword [ebp + 0xc], eax
jl 0x30035d28
cmp dword [0x30085acc], edi
jge 0x30035dcd
mov dword [0x30085acc], edi
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
cmp ebx, edi
je 0x30035e8a
mov eax, dword [0x30097bb0]
mov dword [ebx + 0x88], eax
mov eax, dword [0x30085adc]
mov dword [ebx + 0x8c], eax
mov eax, dword [0x30075050]
mov dword [ebx + 0x84], eax
push 5
pop ecx
lea edi, [ebx + 0x90]
mov esi, 0x30097c20
rep movsd dword es:[edi], dword [esi]
mov eax, dword [0x30085ad8]
mov dword [ebx + 0xa4], eax
mov eax, dword [0x3007504c]
mov dword [ebx + 0xa8], eax
mov eax, dword [0x30085ae0]
mov dword [ebx + 0xac], eax
mov eax, dword [0x30085ae4]
mov dword [ebx + 0xb0], eax
push 5
mov eax, 0x30097c00
pop ecx
lea edi, [ebx + 0xb4]
mov esi, eax
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [0x30085ad8]
mov dword [ebx + 0xc8], ecx
mov ecx, dword [0x3007504c]
mov dword [ebx + 0xcc], ecx
mov ecx, dword [0x30085ae0]
mov dword [ebx + 0xd0], ecx
mov ecx, dword [0x30085ae4]
mov dword [ebx + 0xd4], ecx
push 5
lea edi, [ebx + 0xd8]
pop ecx
mov esi, eax
rep movsd dword es:[edi], dword [esi]
cmp dword [ebp - 4], 0
je 0x30035e98
push dword [ebp - 4]
call fcn.3004ee74
cmp dword [ebp - 8], 0
je 0x30035ea6
push dword [ebp - 8]
call fcn.3004ee74
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, dword [ebp + 0x14]
pop edi
pop esi
pop ebx
leave
ret 0x10