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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xd0
mov eax, dword [0x30ee89c]
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 0x304d760
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 0x304d75e
mov eax, dword [ebp - 0xb0]
mov ecx, dword [eax + 4]
cmp ecx, dword [ebp + 0xc]
je 0x304d75e
mov edx, dword [ebp - 0xb0]
mov eax, dword [edx]
mov dword [ebp - 0xb0], eax
jmp 0x304d737
jmp 0x304d76a
mov dword [ebp - 0xb0], 0
cmp dword [ebp - 0xb0], 0
je 0x304d7af
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 0x304df7a
mov eax, dword [ebp + 8]
push eax
call fcn.0304a660
mov dword [ebp - 0xa4], eax
cmp dword [ebp - 0xa4], 0
jne 0x304d7d1
mov eax, 0xc0000017
jmp 0x304df7a
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 0x304d8c7
mov ecx, dword [ebp + 8]
or edx, 0xffffffff
sub edx, dword [ecx + 0xac]
cmp edx, 0x24
jb 0x304d864
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xac]
add ecx, 0x24
mov edx, dword [ebp + 8]
cmp dword [edx + 0x34], ecx
jae 0x304d87e
push 0xc0000017
mov eax, dword [ebp + 8]
push eax
call fcn.0304a570
mov dword [ebp - 0xb8], 0
jmp 0x304d8a8
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 0x304d8c5
mov dword [ebp - 0xac], 0xc0000017
jmp 0x304dd90
jmp 0x304d8e1
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 0x304d916
mov edx, dword [ebp - 0x48]
mov eax, dword [edx + 4]
mov ecx, dword [ebp - 0xb8]
mov dword [eax], ecx
jmp 0x304d921
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 0x304d997
mov ecx, dword [ebp - 0x2c]
cmp dword [ecx], 0
jne 0x304d94c
mov dword [ebp - 0xac], 0x40000003
jmp 0x304dd90
movzx edx, byte [ebp - 0x71]
test edx, edx
jne 0x304d97b
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xa4]
and ecx, 0x10
jne 0x304d97b
push 0xc0000016
mov edx, dword [ebp + 8]
push edx
call fcn.0304a570
mov dword [ebp - 0xac], eax
jmp 0x304dd90
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 0x304d9cf
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 0x304da07
jmp 0x304d92d
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.0304a590
mov dword [ebp - 0xac], eax
cmp dword [ebp - 0xac], 0
jge 0x304da7f
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xa4]
and eax, 4
jne 0x304da6b
mov ecx, dword [ebp - 0xac]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0304a570
jmp 0x304dd90
mov eax, dword [ebp - 0xa8]
add eax, 1
mov dword [ebp - 0xa8], eax
jmp 0x304d92d
lea ecx, [ebp - 0x98]
push ecx
call fcn.03049760
movzx edx, al
test edx, edx
jne 0x304dad4
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xa4]
and ecx, 8
jne 0x304dac0
push 0xc0000029
mov edx, dword [ebp + 8]
push edx
call fcn.0304a570
mov dword [ebp - 0xac], eax
jmp 0x304dd90
mov eax, dword [ebp - 0xa8]
add eax, 1
mov dword [ebp - 0xa8], eax
jmp 0x304d92d
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.0304c950
mov dword [ebp - 0xac], eax
cmp dword [ebp - 0xac], 0
jge 0x304db0d
jmp 0x304dd90
mov edx, dword [ebp - 8]
shr edx, 0x13
and edx, 1
jne 0x304db27
mov dword [ebp - 0xac], 0
jmp 0x304dd90
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 0x304db81
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xa4]
and ecx, 0x20
jne 0x304db72
push 0xc0000091
mov edx, dword [ebp + 8]
push edx
call fcn.0304a570
mov dword [ebp - 0xac], eax
jmp 0x304dd90
mov dword [ebp - 0xac], 0x40000003
jmp 0x304dd90
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.0304b060
mov dword [ebp - 0xac], eax
cmp dword [ebp - 0xac], 0
jge 0x304dbca
jmp 0x304dd90
cmp dword [ebp - 0xa8], 0xff
jae 0x304dbf1
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 0x304dbfd
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 0x304dc19
mov dword [ebp - 0x44], 1
mov ecx, dword [ebp - 0x48]
mov dword [ebp - 0x28], ecx
jmp 0x304dc26
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 0x304dd77
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 0x304dd0c
mov eax, dword [ebp + 8]
or ecx, 0xffffffff
sub ecx, dword [eax + 0xac]
cmp ecx, 0x24
jb 0x304dca9
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xac]
add eax, 0x24
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x34], eax
jae 0x304dcc3
push 0xc0000017
mov edx, dword [ebp + 8]
push edx
call fcn.0304a570
mov dword [ebp - 0xb8], 0
jmp 0x304dced
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 0x304dd0a
mov dword [ebp - 0xac], 0xc0000017
jmp 0x304dd90
jmp 0x304dd26
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 0x304dd5b
mov ecx, dword [ebp - 0x28]
mov edx, dword [ecx + 4]
mov eax, dword [ebp - 0xb8]
mov dword [edx], eax
jmp 0x304dd66
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 0x304dc26
cmp dword [ebp - 0x9c], 0xffffffff
je 0x304dd8b
mov edx, dword [ebp - 0x40]
mov dword [ebp - 0x20], edx
jmp 0x304d9e9
jmp 0x304d92d
cmp dword [ebp - 0xac], 0xc0000017
je 0x304df65
mov eax, dword [ebp - 8]
shr eax, 0x1c
and eax, 1
jne 0x304dddc
mov ecx, dword [ebp - 8]
shr ecx, 0x1d
and ecx, 1
jne 0x304dddc
lea edx, [ebp - 0x1c]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0304c430
test eax, eax
je 0x304dddc
lea edx, [ebp - 0x1c]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0304c4e0
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 0x304df26
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x74], 0
je 0x304de40
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 0x304dec3
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 8]
mov eax, dword [ecx + 0x78]
cmp eax, dword [edx + 0x6c]
jae 0x304deb9
mov ecx, dword [ebp + 8]
or edx, 0xffffffff
sub edx, dword [ecx + 0xa8]
cmp edx, 0x24
jb 0x304de73
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xa8]
add ecx, 0x24
mov edx, dword [ebp + 8]
cmp dword [edx + 0x2c], ecx
jae 0x304de8d
push 0xc0000017
mov eax, dword [ebp + 8]
push eax
call fcn.0304a570
mov dword [ebp - 0xb0], 0
jmp 0x304deb7
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 0x304dec3
mov dword [ebp - 0xb0], 0
cmp dword [ebp - 0xb0], 0
je 0x304df24
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 0x304df30
mov dword [ebp - 0xb0], 0
cmp dword [ebp - 0xb0], 0
je 0x304df65
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.03050b89
mov esp, ebp
pop ebp
ret 0xc