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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x310e008]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, edx
push edi
push 0xd0
push 0
push esi
mov edi, ecx
mov dword [ebp - 0x114], esi
call sub.msvcrt.dll_memset
mov eax, dword [ebp + 0x14]
add esp, 0xc
cmp dword [ebp + 0xc], 0
je 0x30560b9
add eax, 8
jmp 0x30560bc
add eax, 7
mov ecx, dword [edi + 0x18]
test ecx, 0x40000
je 0x30560c8
inc eax
test cl, 4
je 0x30560d0
add eax, 2
lea edx, [ebx + 0x78]
cmp dword [edx], edx
je 0x30560d8
inc eax
lea edx, [ebx + 0x80]
cmp dword [edx], edx
je 0x30560e3
inc eax
test ecx, 0x800
je 0x30560ec
inc eax
test ecx, 0x1000
je 0x30560f5
inc eax
and dword [esi + 4], 0
lea edx, [ebp - 0x10c]
mov dword [esi], eax
imul eax, eax, 0xc
push 0x20
pop ecx
mov dword [esi + 8], ecx
mov dword [esi + 0xc], ecx
mov dword [esi + 0x10], eax
add eax, ecx
mov dword [esi + 0x14], eax
mov ecx, dword [edi + 8]
push 0x80
push edx
mov eax, dword [ecx]
call dword [eax + 0x2c]
mov edx, eax
mov dword [ebp - 0x110], edx
test edx, edx
je 0x305614b
mov eax, dword [edi + 0x14]
push edx
push 0x301c610
push 4
mov ecx, dword [eax]
push eax
call dword [ecx + 4]
mov eax, dword [ebp - 0x110]
add esp, 0x10
jmp 0x3056172
lea ecx, [ebp - 0x10c]
call fcn.0305d830
mov dword [esi + 0x18], 0x38
lea ecx, [eax*2 + 2]
lea eax, [ecx + 4]
mov dword [esi + 0x1c], ecx
add dword [esi + 0x84], eax
xor eax, eax
test eax, eax
jne 0x30563f1
mov eax, dword [esi + 0x14]
add eax, dword [esi + 0x18]
cmp dword [ebp + 0xc], 0
mov dword [esi + 0x20], eax
lea ecx, [eax + 0x340]
mov dword [esi + 0x24], ecx
je 0x30561a2
mov dword [esi + 0x28], 0xa8
mov eax, dword [edi + 0x54]
add dword [esi + 0x90], eax
mov eax, dword [esi + 0x28]
mov edx, ebx
add eax, ecx
mov ecx, edi
push esi
mov dword [esi + 0x2c], eax
mov dword [esi + 0x34], eax
call fcn.030553fc
test eax, eax
jne 0x30563f1
push esi
mov edx, ebx
mov ecx, edi
call fcn.03055510
test eax, eax
jne 0x30563f1
lea eax, [ebx + 0x78]
cmp dword [eax], eax
je 0x30561e9
mov edx, esi
mov ecx, ebx
call fcn.030555c7
test eax, eax
jne 0x30563f1
lea edx, [ebx + 0x80]
mov ecx, dword [edx]
cmp ecx, edx
je 0x305622e
and dword [ebp - 0x110], 0
mov esi, dword [ebp - 0x110]
lea eax, [ecx - 0x24]
add esi, 0x28
mov eax, dword [eax + 0x18]
imul eax, dword [edi + 0x70]
mov ecx, dword [ecx]
add eax, dword [edi + 0x6c]
add esi, eax
cmp ecx, edx
jne 0x3056202
mov eax, esi
mov dword [ebp - 0x110], esi
mov esi, dword [ebp - 0x114]
add eax, 0x18
add dword [esi + 0x64], eax
test dword [edi + 0x18], 0x40000
je 0x3056256
push esi
mov edx, ebx
call fcn.0305562a
test eax, eax
je 0x3056264
and dword [esi + 0xc8], 0
mov dword [esi + 0xc4], 0x10
jmp 0x3056264
and dword [esi + 0xc8], 0
and dword [esi + 0xc4], 0
test dword [edi + 0x18], 0x100
je 0x305627c
cmp dword [ebx + 0x10], 0
je 0x305627c
mov edx, ebx
mov ecx, edi
call fcn.0305ba5c
lea ecx, [ebx + 0x68]
mov eax, dword [ecx]
cmp eax, ecx
je 0x30562b7
mov esi, eax
lea eax, [esi - 0xa4]
mov edx, ebx
push dword [eax + 0x90]
mov esi, dword [esi]
mov ecx, edi
push dword [eax + 0x8c]
push dword [eax + 0x88]
call fcn.0305ea3e
lea eax, [ebx + 0x68]
cmp esi, eax
jne 0x3056287
mov esi, dword [ebp - 0x114]
mov eax, dword [ebx + 0x8c]
xor edx, edx
add dword [esi + 0x78], eax
mov eax, dword [ebx + 0x88]
mov ecx, dword [esi + 0x30]
add ecx, dword [esi + 0x2c]
mov dword [esi + 0x3c], ecx
mov dword [esi + 0x44], ecx
add ecx, dword [esi + 0x40]
mov dword [esi + 0x48], ecx
mov dword [esi + 0x50], ecx
add ecx, dword [esi + 0x4c]
mov dword [esi + 0x54], ecx
mov dword [esi + 0x5c], ecx
add ecx, dword [esi + 0x58]
shl eax, 4
add dword [esi + 0x6c], eax
mov eax, dword [esi + 0x84]
mov dword [esi + 0x60], ecx
add ecx, dword [esi + 0x64]
mov dword [esi + 0xc0], ecx
add ecx, dword [esi + 0xc4]
add eax, ecx
mov dword [esi + 0x80], ecx
mov dword [esi + 0x88], ecx
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 0x118], eax
mov dword [esi + 0x8c], eax
mov dword [esi + 0x94], eax
test ecx, ecx
je 0x305633c
mov eax, dword [ebp + 0x10]
add eax, 4
add edx, dword [eax]
lea eax, [eax + 0xc]
dec ecx
jne 0x3056334
mov ebx, dword [ebp + 0x18]
mov ecx, dword [ebx]
jmp 0x3056375
lea eax, [ecx - 8]
mov ecx, dword [ecx]
mov eax, dword [eax]
mov dword [ebp - 0x110], eax
mov eax, dword [eax]
mov dword [ebp - 0x114], eax
test eax, eax
je 0x3056375
mov eax, dword [ebp - 0x110]
mov eax, dword [eax + 4]
add eax, 4
add edx, dword [eax]
lea eax, [eax + 0xc]
dec dword [ebp - 0x114]
jne 0x3056368
cmp ecx, ebx
jne 0x3056343
mov ecx, dword [ebp - 0x118]
add ecx, dword [esi + 0x90]
mov dword [esi + 0x98], ecx
mov dword [esi + 0x9c], edx
mov eax, dword [edi + 0x18]
and eax, 2
je 0x30563bf
cmp dword [esi + 0x6c], 0
ja 0x30563a5
cmp dword [esi + 0x78], 0
jbe 0x30563bf
mov eax, dword [edi + 0x14]
push 0x301c674
push 4
push eax
mov ecx, dword [eax]
call dword [ecx + 4]
add esp, 0xc
mov eax, 0x80070057
jmp 0x30563f1
neg eax
sbb eax, eax
and dword [esi + 0xa4], 0
and eax, 0xc
add ecx, edx
add eax, 4
mov dword [esi + 0x68], ecx
add dword [esi + 0x6c], eax
mov eax, dword [esi + 0x78]
mov dword [esi + 0x70], ecx
add ecx, dword [esi + 0x6c]
add eax, ecx
mov dword [esi + 0x74], ecx
mov dword [esi + 0xa0], eax
xor eax, eax
mov dword [esi + 0x7c], ecx
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0307c5f7
mov esp, ebp
pop ebp
ret 0x14