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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xd0
mov eax, dword [0x30ed8a8]
xor eax, ebp
mov dword [ebp - 0x78], eax
push esi
push edi
mov dword [ebp - 0xa0], 0
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xac]
mov dword [ebp - 0xb4], ecx
mov byte [ebp - 0x71], 0
mov edx, dword [ebp + 8]
cmp dword [edx + 0x70], 0
je 0x3051f80
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
xor edx, edx
div dword [ecx + 0x68]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x70]
mov edx, dword [ecx + edx*4]
mov dword [ebp - 0xb0], edx
cmp dword [ebp - 0xb0], 0
je 0x3051f7e
mov eax, dword [ebp - 0xb0]
mov ecx, dword [eax + 4]
cmp ecx, dword [ebp + 0xc]
je 0x3051f7e
mov edx, dword [ebp - 0xb0]
mov eax, dword [edx]
mov dword [ebp - 0xb0], eax
jmp 0x3051f57
jmp 0x3051f8a
mov dword [ebp - 0xb0], 0
cmp dword [ebp - 0xb0], 0
je 0x3051fcf
mov ecx, dword [ebp - 0xb0]
add ecx, 8
mov edx, dword [ebp + 0x10]
mov eax, dword [ecx]
mov dword [edx], eax
mov eax, dword [ecx + 4]
mov dword [edx + 4], eax
mov eax, dword [ecx + 8]
mov dword [edx + 8], eax
mov eax, dword [ecx + 0xc]
mov dword [edx + 0xc], eax
mov eax, dword [ecx + 0x10]
mov dword [edx + 0x10], eax
mov ecx, dword [ecx + 0x14]
mov dword [edx + 0x14], ecx
mov edx, dword [ebp - 0xb0]
mov eax, dword [edx + 0x20]
jmp 0x305279a
mov eax, dword [ebp + 8]
push eax
call fcn.0304ecc0
mov dword [ebp - 0xa4], eax
cmp dword [ebp - 0xa4], 0
jne 0x3051ff1
mov eax, 0xc0000017
jmp 0x305279a
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x48], ecx
xor edx, edx
mov eax, dword [ebp - 0x48]
mov dword [eax], edx
mov dword [eax + 4], edx
mov dword [eax + 8], edx
lea ecx, [ebp - 0xc4]
mov dword [ebp - 0x2c], ecx
xor edx, edx
mov eax, dword [ebp - 0x2c]
mov dword [eax], edx
mov dword [eax + 4], edx
mov dword [eax + 8], edx
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
mov dword [ebp - 0x1c], eax
mov ecx, dword [edx + 4]
mov dword [ebp - 0x18], ecx
mov eax, dword [edx + 8]
mov dword [ebp - 0x14], eax
mov ecx, dword [edx + 0xc]
mov dword [ebp - 0x10], ecx
mov eax, dword [edx + 0x10]
mov dword [ebp - 0xc], eax
mov ecx, dword [edx + 0x14]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
or edx, 0x80000
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0x48]
cmp dword [eax + 8], 0
jne 0x30520e7
mov ecx, dword [ebp + 8]
or edx, 0xffffffff
sub edx, dword [ecx + 0xac]
cmp edx, 0x24
jb 0x3052084
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xac]
add ecx, 0x24
mov edx, dword [ebp + 8]
cmp dword [edx + 0x34], ecx
jae 0x305209e
push 0xc0000017
mov eax, dword [ebp + 8]
push eax
call fcn.0304ebd0
mov dword [ebp - 0xb8], 0
jmp 0x30520c8
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x38]
mov eax, dword [ebp + 8]
add edx, dword [eax + 0xac]
mov dword [ebp - 0xb8], edx
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xac]
add edx, 0x24
mov eax, dword [ebp + 8]
mov dword [eax + 0xac], edx
cmp dword [ebp - 0xb8], 0
jne 0x30520e5
mov dword [ebp - 0xac], 0xc0000017
jmp 0x30525b0
jmp 0x3052101
mov ecx, dword [ebp - 0x48]
mov edx, dword [ecx + 8]
mov dword [ebp - 0xb8], edx
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0xb8]
mov edx, dword [ecx]
mov dword [eax + 8], edx
mov ecx, 9
lea esi, [ebp - 0x24]
mov edi, dword [ebp - 0xb8]
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0xb8]
mov dword [eax], 0
mov ecx, dword [ebp - 0x48]
cmp dword [ecx + 4], 0
je 0x3052136
mov edx, dword [ebp - 0x48]
mov eax, dword [edx + 4]
mov ecx, dword [ebp - 0xb8]
mov dword [eax], ecx
jmp 0x3052141
mov edx, dword [ebp - 0x48]
mov eax, dword [ebp - 0xb8]
mov dword [edx], eax
mov ecx, dword [ebp - 0x48]
mov edx, dword [ebp - 0xb8]
mov dword [ecx + 4], edx
mov eax, dword [ebp - 0x48]
cmp dword [eax], 0
jne 0x30521b7
mov ecx, dword [ebp - 0x2c]
cmp dword [ecx], 0
jne 0x305216c
mov dword [ebp - 0xac], 0x40000003
jmp 0x30525b0
movzx edx, byte [ebp - 0x71]
test edx, edx
jne 0x305219b
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xa4]
and ecx, 0x10
jne 0x305219b
push 0xc0000016
mov edx, dword [ebp + 8]
push edx
call fcn.0304ebd0
mov dword [ebp - 0xac], eax
jmp 0x30525b0
mov byte [ebp - 0x71], 1
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0xc8], eax
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x48], ecx
mov edx, dword [ebp - 0xc8]
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x48]
mov esi, dword [eax]
mov ecx, 9
lea edi, [ebp - 0x24]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0x48]
mov edx, dword [ecx]
mov dword [ebp - 0xcc], edx
mov eax, dword [ebp - 0x48]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x48]
mov eax, dword [ecx]
mov dword [edx], eax
mov ecx, dword [ebp - 0x48]
cmp dword [ecx], 0
jne 0x30521ef
mov edx, dword [ebp - 0x48]
mov dword [edx + 4], 0
mov eax, dword [ebp - 0xcc]
mov ecx, dword [ebp - 0x48]
mov edx, dword [ecx + 8]
mov dword [eax], edx
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0xcc]
mov dword [eax + 8], ecx
mov ecx, dword [ebp + 8]
mov eax, dword [ebp - 0x20]
xor edx, edx
div dword [ecx + 0x44]
mov eax, dword [ebp - 0xa4]
mov ecx, dword [eax + edx*4]
cmp ecx, dword [ebp - 0x20]
jne 0x3052227
jmp 0x305214d
mov ecx, dword [ebp + 8]
mov eax, dword [ebp - 0x20]
xor edx, edx
div dword [ecx + 0x44]
mov eax, dword [ebp - 0xa4]
mov ecx, dword [ebp - 0x20]
mov dword [eax + edx*4], ecx
lea edx, [ebp - 0x98]
push edx
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0304ebf0
mov dword [ebp - 0xac], eax
cmp dword [ebp - 0xac], 0
jge 0x305229f
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xa4]
and eax, 4
jne 0x305228b
mov ecx, dword [ebp - 0xac]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0304ebd0
jmp 0x30525b0
mov eax, dword [ebp - 0xa8]
add eax, 1
mov dword [ebp - 0xa8], eax
jmp 0x305214d
lea ecx, [ebp - 0x98]
push ecx
call fcn.0304dc50
movzx edx, al
test edx, edx
jne 0x30522f4
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xa4]
and ecx, 8
jne 0x30522e0
push 0xc0000029
mov edx, dword [ebp + 8]
push edx
call fcn.0304ebd0
mov dword [ebp - 0xac], eax
jmp 0x30525b0
mov eax, dword [ebp - 0xa8]
add eax, 1
mov dword [ebp - 0xa8], eax
jmp 0x305214d
mov ecx, dword [ebp - 8]
and ecx, 0xff
mov dword [ebp - 0x4c], ecx
lea edx, [ebp - 0x98]
push edx
lea eax, [ebp - 0x1c]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.03051130
mov dword [ebp - 0xac], eax
cmp dword [ebp - 0xac], 0
jge 0x305232d
jmp 0x30525b0
mov edx, dword [ebp - 8]
shr edx, 0x13
and edx, 1
jne 0x3052347
mov dword [ebp - 0xac], 0
jmp 0x30525b0
mov eax, dword [ebp - 0xa0]
add eax, 1
mov dword [ebp - 0xa0], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0xa0]
cmp edx, dword [ecx + 0x3c]
jb 0x30523a1
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xa4]
and ecx, 0x20
jne 0x3052392
push 0xc0000091
mov edx, dword [ebp + 8]
push edx
call fcn.0304ebd0
mov dword [ebp - 0xac], eax
jmp 0x30525b0
mov dword [ebp - 0xac], 0x40000003
jmp 0x30525b0
mov eax, dword [ebp - 8]
and eax, 0xff
mov dword [ebp - 0xa8], eax
lea ecx, [ebp - 0xa8]
push ecx
lea edx, [ebp - 0x40]
push edx
lea eax, [ebp - 0x9c]
push eax
lea ecx, [ebp - 0x98]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0304f6c0
mov dword [ebp - 0xac], eax
cmp dword [ebp - 0xac], 0
jge 0x30523ea
jmp 0x30525b0
cmp dword [ebp - 0xa8], 0xff
jae 0x3052411
mov eax, dword [ebp - 0xa8]
and eax, 0xff
mov ecx, dword [ebp - 8]
and ecx, 0xffffff00
or ecx, eax
mov dword [ebp - 8], ecx
jmp 0x305241d
mov edx, dword [ebp - 8]
or edx, 0xff
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
and eax, 0xff
cmp dword [ebp - 0x4c], eax
jne 0x3052439
mov dword [ebp - 0x44], 1
mov ecx, dword [ebp - 0x48]
mov dword [ebp - 0x28], ecx
jmp 0x3052446
mov dword [ebp - 0x44], 0
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x28], edx
mov eax, dword [ebp - 0x9c]
mov ecx, dword [ebp - 0x44]
mov edx, dword [ebp - 0x9c]
sub edx, 1
mov dword [ebp - 0x9c], edx
cmp eax, ecx
jbe 0x3052597
mov eax, dword [ebp - 0x9c]
mov ecx, dword [ebp + eax*4 - 0x40]
mov dword [ebp - 0x6c], ecx
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x68], edx
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x64], eax
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x60], ecx
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x5c], edx
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x58], eax
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x54], ecx
mov edx, dword [ebp - 0x28]
cmp dword [edx + 8], 0
jne 0x305252c
mov eax, dword [ebp + 8]
or ecx, 0xffffffff
sub ecx, dword [eax + 0xac]
cmp ecx, 0x24
jb 0x30524c9
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xac]
add eax, 0x24
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x34], eax
jae 0x30524e3
push 0xc0000017
mov edx, dword [ebp + 8]
push edx
call fcn.0304ebd0
mov dword [ebp - 0xb8], 0
jmp 0x305250d
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x38]
mov edx, dword [ebp + 8]
add ecx, dword [edx + 0xac]
mov dword [ebp - 0xb8], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xac]
add ecx, 0x24
mov edx, dword [ebp + 8]
mov dword [edx + 0xac], ecx
cmp dword [ebp - 0xb8], 0
jne 0x305252a
mov dword [ebp - 0xac], 0xc0000017
jmp 0x30525b0
jmp 0x3052546
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax + 8]
mov dword [ebp - 0xb8], ecx
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0xb8]
mov ecx, dword [eax]
mov dword [edx + 8], ecx
mov ecx, 9
lea esi, [ebp - 0x70]
mov edi, dword [ebp - 0xb8]
rep movsd dword es:[edi], dword [esi]
mov edx, dword [ebp - 0xb8]
mov dword [edx], 0
mov eax, dword [ebp - 0x28]
cmp dword [eax + 4], 0
je 0x305257b
mov ecx, dword [ebp - 0x28]
mov edx, dword [ecx + 4]
mov eax, dword [ebp - 0xb8]
mov dword [edx], eax
jmp 0x3052586
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0xb8]
mov dword [ecx], edx
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0xb8]
mov dword [eax + 4], ecx
jmp 0x3052446
cmp dword [ebp - 0x9c], 0xffffffff
je 0x30525ab
mov edx, dword [ebp - 0x40]
mov dword [ebp - 0x20], edx
jmp 0x3052209
jmp 0x305214d
cmp dword [ebp - 0xac], 0xc0000017
je 0x3052785
mov eax, dword [ebp - 8]
shr eax, 0x1c
and eax, 1
jne 0x30525fc
mov ecx, dword [ebp - 8]
shr ecx, 0x1d
and ecx, 1
jne 0x30525fc
lea edx, [ebp - 0x1c]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.03050c00
test eax, eax
je 0x30525fc
lea edx, [ebp - 0x1c]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.03050cb0
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp - 0x1c]
mov dword [edx], eax
mov ecx, dword [ebp - 0x18]
mov dword [edx + 4], ecx
mov eax, dword [ebp - 0x14]
mov dword [edx + 8], eax
mov ecx, dword [ebp - 0x10]
mov dword [edx + 0xc], ecx
mov eax, dword [ebp - 0xc]
mov dword [edx + 0x10], eax
mov ecx, dword [ebp - 8]
mov dword [edx + 0x14], ecx
mov edx, dword [ebp - 0xac]
mov dword [ebp - 4], edx
mov eax, dword [ebp + 8]
cmp dword [eax + 0x70], 0
je 0x3052746
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x74], 0
je 0x3052660
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x74]
mov dword [ebp - 0xb0], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0xb0]
mov eax, dword [edx]
mov dword [ecx + 0x74], eax
jmp 0x30526e3
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 8]
mov eax, dword [ecx + 0x78]
cmp eax, dword [edx + 0x6c]
jae 0x30526d9
mov ecx, dword [ebp + 8]
or edx, 0xffffffff
sub edx, dword [ecx + 0xa8]
cmp edx, 0x24
jb 0x3052693
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xa8]
add ecx, 0x24
mov edx, dword [ebp + 8]
cmp dword [edx + 0x2c], ecx
jae 0x30526ad
push 0xc0000017
mov eax, dword [ebp + 8]
push eax
call fcn.0304ebd0
mov dword [ebp - 0xb0], 0
jmp 0x30526d7
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x30]
mov eax, dword [ebp + 8]
add edx, dword [eax + 0xa8]
mov dword [ebp - 0xb0], edx
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xa8]
add edx, 0x24
mov eax, dword [ebp + 8]
mov dword [eax + 0xa8], edx
jmp 0x30526e3
mov dword [ebp - 0xb0], 0
cmp dword [ebp - 0xb0], 0
je 0x3052744
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
xor edx, edx
div dword [ecx + 0x68]
mov dword [ebp - 0xd0], edx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x70]
mov ecx, dword [ebp - 0xb0]
mov edx, dword [ebp - 0xd0]
mov eax, dword [eax + edx*4]
mov dword [ecx], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x70]
mov eax, dword [ebp - 0xd0]
mov ecx, dword [ebp - 0xb0]
mov dword [edx + eax*4], ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x78]
add eax, 1
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x78], eax
mov edx, dword [ebp - 0xb0]
mov eax, dword [ebp + 0xc]
mov dword [edx + 4], eax
jmp 0x3052750
mov dword [ebp - 0xb0], 0
cmp dword [ebp - 0xb0], 0
je 0x3052785
mov ecx, dword [ebp - 0xb0]
add ecx, 8
mov edx, dword [ebp - 0x1c]
mov dword [ecx], edx
mov eax, dword [ebp - 0x18]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x14]
mov dword [ecx + 8], edx
mov eax, dword [ebp - 0x10]
mov dword [ecx + 0xc], eax
mov edx, dword [ebp - 0xc]
mov dword [ecx + 0x10], edx
mov eax, dword [ebp - 8]
mov dword [ecx + 0x14], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0xb4]
mov dword [ecx + 0xac], edx
mov eax, dword [ebp - 0xac]
pop edi
pop esi
mov ecx, dword [ebp - 0x78]
xor ecx, ebp
call fcn.030554d2
mov esp, ebp
pop ebp
ret 0xc