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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xd0
mov eax, dword [0x30f8968]
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 0x30546f0
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 0x30546ee
mov eax, dword [ebp - 0xb0]
mov ecx, dword [eax + 4]
cmp ecx, dword [ebp + 0xc]
je 0x30546ee
mov edx, dword [ebp - 0xb0]
mov eax, dword [edx]
mov dword [ebp - 0xb0], eax
jmp 0x30546c7
jmp 0x30546fa
mov dword [ebp - 0xb0], 0
cmp dword [ebp - 0xb0], 0
je 0x305473f
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 0x3054f1c
mov eax, dword [ebp + 8]
push eax
call fcn.030513e0
mov dword [ebp - 0xa4], eax
cmp dword [ebp - 0xa4], 0
jne 0x3054761
mov eax, 0xc0000017
jmp 0x3054f1c
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 0x305485d
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xac]
add edx, 0x24
mov eax, dword [ebp + 8]
cmp dword [eax + 0xac], edx
ja 0x30547fa
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xac]
add edx, 0x24
mov eax, dword [ebp + 8]
cmp dword [eax + 0x34], edx
jae 0x3054814
push 0xc0000017
mov ecx, dword [ebp + 8]
push ecx
call fcn.030512f0
mov dword [ebp - 0xb8], 0
jmp 0x305483e
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x38]
mov ecx, dword [ebp + 8]
add eax, dword [ecx + 0xac]
mov dword [ebp - 0xb8], eax
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xac]
add eax, 0x24
mov ecx, dword [ebp + 8]
mov dword [ecx + 0xac], eax
cmp dword [ebp - 0xb8], 0
jne 0x305485b
mov dword [ebp - 0xac], 0xc0000017
jmp 0x3054d2c
jmp 0x3054877
mov edx, dword [ebp - 0x48]
mov eax, dword [edx + 8]
mov dword [ebp - 0xb8], eax
mov ecx, dword [ebp - 0x48]
mov edx, dword [ebp - 0xb8]
mov eax, dword [edx]
mov dword [ecx + 8], eax
mov ecx, 9
lea esi, [ebp - 0x24]
mov edi, dword [ebp - 0xb8]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0xb8]
mov dword [ecx], 0
mov edx, dword [ebp - 0x48]
cmp dword [edx + 4], 0
je 0x30548ac
mov eax, dword [ebp - 0x48]
mov ecx, dword [eax + 4]
mov edx, dword [ebp - 0xb8]
mov dword [ecx], edx
jmp 0x30548b7
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0xb8]
mov dword [eax], ecx
mov edx, dword [ebp - 0x48]
mov eax, dword [ebp - 0xb8]
mov dword [edx + 4], eax
mov ecx, dword [ebp - 0x48]
cmp dword [ecx], 0
jne 0x305492d
mov edx, dword [ebp - 0x2c]
cmp dword [edx], 0
jne 0x30548e2
mov dword [ebp - 0xac], 0x40000003
jmp 0x3054d2c
movzx eax, byte [ebp - 0x71]
test eax, eax
jne 0x3054911
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xa4]
and edx, 0x10
jne 0x3054911
push 0xc0000016
mov eax, dword [ebp + 8]
push eax
call fcn.030512f0
mov dword [ebp - 0xac], eax
jmp 0x3054d2c
mov byte [ebp - 0x71], 1
mov ecx, dword [ebp - 0x48]
mov dword [ebp - 0xc8], ecx
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x48], edx
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x48]
mov esi, dword [ecx]
mov ecx, 9
lea edi, [ebp - 0x24]
rep movsd dword es:[edi], dword [esi]
mov edx, dword [ebp - 0x48]
mov eax, dword [edx]
mov dword [ebp - 0xcc], eax
mov ecx, dword [ebp - 0x48]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x48]
mov ecx, dword [edx]
mov dword [eax], ecx
mov edx, dword [ebp - 0x48]
cmp dword [edx], 0
jne 0x3054965
mov eax, dword [ebp - 0x48]
mov dword [eax + 4], 0
mov ecx, dword [ebp - 0xcc]
mov edx, dword [ebp - 0x48]
mov eax, dword [edx + 8]
mov dword [ecx], eax
mov ecx, dword [ebp - 0x48]
mov edx, dword [ebp - 0xcc]
mov dword [ecx + 8], edx
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 0x305499d
jmp 0x30548c3
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.03051310
mov dword [ebp - 0xac], eax
cmp dword [ebp - 0xac], 0
jge 0x3054a15
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xa4]
and eax, 4
jne 0x3054a01
mov ecx, dword [ebp - 0xac]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.030512f0
jmp 0x3054d2c
mov eax, dword [ebp - 0xa8]
add eax, 1
mov dword [ebp - 0xa8], eax
jmp 0x30548c3
lea ecx, [ebp - 0x98]
push ecx
call fcn.03050360
movzx edx, al
test edx, edx
jne 0x3054a6a
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xa4]
and ecx, 8
jne 0x3054a56
push 0xc0000029
mov edx, dword [ebp + 8]
push edx
call fcn.030512f0
mov dword [ebp - 0xac], eax
jmp 0x3054d2c
mov eax, dword [ebp - 0xa8]
add eax, 1
mov dword [ebp - 0xa8], eax
jmp 0x30548c3
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.030538a0
mov dword [ebp - 0xac], eax
cmp dword [ebp - 0xac], 0
jge 0x3054aa3
jmp 0x3054d2c
mov edx, dword [ebp - 8]
shr edx, 0x13
and edx, 1
jne 0x3054abd
mov dword [ebp - 0xac], 0
jmp 0x3054d2c
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 0x3054b17
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xa4]
and ecx, 0x20
jne 0x3054b08
push 0xc0000091
mov edx, dword [ebp + 8]
push edx
call fcn.030512f0
mov dword [ebp - 0xac], eax
jmp 0x3054d2c
mov dword [ebp - 0xac], 0x40000003
jmp 0x3054d2c
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.03051df0
mov dword [ebp - 0xac], eax
cmp dword [ebp - 0xac], 0
jge 0x3054b60
jmp 0x3054d2c
cmp dword [ebp - 0xa8], 0xff
jae 0x3054b87
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 0x3054b93
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 0x3054baf
mov dword [ebp - 0x44], 1
mov ecx, dword [ebp - 0x48]
mov dword [ebp - 0x28], ecx
jmp 0x3054bbc
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 0x3054d13
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 0x3054ca8
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xac]
add ecx, 0x24
mov edx, dword [ebp + 8]
cmp dword [edx + 0xac], ecx
ja 0x3054c45
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xac]
add ecx, 0x24
mov edx, dword [ebp + 8]
cmp dword [edx + 0x34], ecx
jae 0x3054c5f
push 0xc0000017
mov eax, dword [ebp + 8]
push eax
call fcn.030512f0
mov dword [ebp - 0xb8], 0
jmp 0x3054c89
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 0x3054ca6
mov dword [ebp - 0xac], 0xc0000017
jmp 0x3054d2c
jmp 0x3054cc2
mov ecx, dword [ebp - 0x28]
mov edx, dword [ecx + 8]
mov dword [ebp - 0xb8], edx
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0xb8]
mov edx, dword [ecx]
mov dword [eax + 8], edx
mov ecx, 9
lea esi, [ebp - 0x70]
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 - 0x28]
cmp dword [ecx + 4], 0
je 0x3054cf7
mov edx, dword [ebp - 0x28]
mov eax, dword [edx + 4]
mov ecx, dword [ebp - 0xb8]
mov dword [eax], ecx
jmp 0x3054d02
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0xb8]
mov dword [edx], eax
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0xb8]
mov dword [ecx + 4], edx
jmp 0x3054bbc
cmp dword [ebp - 0x9c], 0xffffffff
je 0x3054d27
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x20], eax
jmp 0x305497f
jmp 0x30548c3
cmp dword [ebp - 0xac], 0xc0000017
je 0x3054f07
mov ecx, dword [ebp - 8]
shr ecx, 0x1c
and ecx, 1
jne 0x3054d78
mov edx, dword [ebp - 8]
shr edx, 0x1d
and edx, 1
jne 0x3054d78
lea eax, [ebp - 0x1c]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.03053370
test eax, eax
je 0x3054d78
lea eax, [ebp - 0x1c]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.03053420
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 0x1c]
mov dword [eax], ecx
mov edx, dword [ebp - 0x18]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0x14]
mov dword [eax + 8], ecx
mov edx, dword [ebp - 0x10]
mov dword [eax + 0xc], edx
mov ecx, dword [ebp - 0xc]
mov dword [eax + 0x10], ecx
mov edx, dword [ebp - 8]
mov dword [eax + 0x14], edx
mov eax, dword [ebp - 0xac]
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x70], 0
je 0x3054ec8
mov edx, dword [ebp + 8]
cmp dword [edx + 0x74], 0
je 0x3054ddc
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x74]
mov dword [ebp - 0xb0], ecx
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0xb0]
mov ecx, dword [eax]
mov dword [edx + 0x74], ecx
jmp 0x3054e65
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 8]
mov ecx, dword [edx + 0x78]
cmp ecx, dword [eax + 0x6c]
jae 0x3054e5b
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xa8]
add eax, 0x24
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0xa8], eax
ja 0x3054e15
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xa8]
add eax, 0x24
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x2c], eax
jae 0x3054e2f
push 0xc0000017
mov edx, dword [ebp + 8]
push edx
call fcn.030512f0
mov dword [ebp - 0xb0], 0
jmp 0x3054e59
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x30]
mov edx, dword [ebp + 8]
add ecx, dword [edx + 0xa8]
mov dword [ebp - 0xb0], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xa8]
add ecx, 0x24
mov edx, dword [ebp + 8]
mov dword [edx + 0xa8], ecx
jmp 0x3054e65
mov dword [ebp - 0xb0], 0
cmp dword [ebp - 0xb0], 0
je 0x3054ec6
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 0x3054ed2
mov dword [ebp - 0xb0], 0
cmp dword [ebp - 0xb0], 0
je 0x3054f07
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.0306b4ac
mov esp, ebp
pop ebp
ret 0xc