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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push edi
cmp dword [ebp + 0xc], 0
jne 0x285568e
push 0x2806074
call dword [fcn.028010c0]
call dword [fcn.02801098]
cmp dword [ebp + 0x10], 0
jne 0x28556a5
push 0x2806074
call dword [fcn.028010c0]
call dword [fcn.02801098]
mov ecx, 0x2e
xor eax, eax
mov edi, dword [ebp + 0x10]
rep stosd dword es:[edi], eax
cmp dword [ebp + 0x14], 0
je 0x28556c2
mov eax, dword [ebp + 0x1c]
add eax, 8
mov dword [ebp - 8], eax
jmp 0x28556cb
mov ecx, dword [ebp + 0x1c]
add ecx, 7
mov dword [ebp - 8], ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x18]
and eax, 4
je 0x28556df
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
mov edx, dword [ebp + 0xc]
add edx, 0x5c
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x5c], edx
je 0x28556f6
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
mov edx, dword [ebp + 0xc]
add edx, 0x64
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x64], edx
je 0x285570d
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x18]
and eax, 0x800
je 0x2855723
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x18]
and eax, 0x1000
je 0x2855739
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
imul edx, edx, 0xc
mov dword [ebp - 0x10], edx
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 8]
mov dword [eax], ecx
mov edx, dword [ebp + 0x10]
mov dword [edx + 4], 0
mov eax, dword [ebp + 0x10]
mov dword [eax + 8], 0x20
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx + 4]
mov eax, dword [ebp + 0x10]
add edx, dword [eax + 8]
mov ecx, dword [ebp + 0x10]
mov dword [ecx + 0xc], edx
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp - 0x10]
mov dword [edx + 0x10], eax
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx + 0xc]
mov eax, dword [ebp + 0x10]
add edx, dword [eax + 0x10]
mov ecx, dword [ebp + 0x10]
mov dword [ecx + 0x14], edx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.02855480
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x28557a9
mov eax, dword [ebp - 0xc]
jmp 0x2855ae7
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx + 0x14]
mov eax, dword [ebp + 0x10]
add edx, dword [eax + 0x18]
mov ecx, dword [ebp + 0x10]
mov dword [ecx + 0x20], edx
mov edx, dword [ebp + 0x10]
mov eax, dword [edx + 0x20]
add eax, 0x18
mov ecx, dword [ebp + 0x10]
mov dword [ecx + 0x24], eax
cmp dword [ebp + 0x14], 0
je 0x28557f2
mov edx, dword [ebp + 0x10]
mov dword [edx + 0x28], 0xa8
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 0x90]
mov edx, dword [ebp + 8]
add ecx, dword [edx + 0x48]
mov eax, dword [ebp + 0x10]
mov dword [eax + 0x90], ecx
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx + 0x24]
mov eax, dword [ebp + 0x10]
add edx, dword [eax + 0x28]
mov ecx, dword [ebp + 0x10]
mov dword [ecx + 0x2c], edx
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 0x2c]
mov dword [edx + 0x34], ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.02854430
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x2855832
mov eax, dword [ebp - 0xc]
jmp 0x2855ae7
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.02854670
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x2855854
mov eax, dword [ebp - 0xc]
jmp 0x2855ae7
mov edx, dword [ebp + 0xc]
add edx, 0x5c
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x5c], edx
je 0x2855880
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call fcn.02854840
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x2855880
mov eax, dword [ebp - 0xc]
jmp 0x2855ae7
mov eax, dword [ebp + 0xc]
add eax, 0x64
mov ecx, dword [ebp + 0xc]
cmp dword [ecx + 0x64], eax
je 0x28558b0
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.02854920
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x28558b0
mov eax, dword [ebp - 0xc]
jmp 0x2855ae7
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x18]
and eax, 0x100
je 0x28558d3
mov ecx, dword [ebp + 0xc]
cmp dword [ecx + 0x10], 0
je 0x28558d3
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.02859cc0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.028555e0
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 0x78]
mov edx, dword [ebp + 0xc]
add ecx, dword [edx + 0x78]
mov eax, dword [ebp + 0x10]
mov dword [eax + 0x78], ecx
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x74]
shl edx, 4
mov eax, dword [ebp + 0x10]
add edx, dword [eax + 0x6c]
mov ecx, dword [ebp + 0x10]
mov dword [ecx + 0x6c], edx
mov edx, dword [ebp + 0x10]
mov eax, dword [edx + 0x2c]
mov ecx, dword [ebp + 0x10]
add eax, dword [ecx + 0x30]
mov edx, dword [ebp + 0x10]
mov dword [edx + 0x3c], eax
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx + 0x3c]
mov dword [eax + 0x44], edx
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 0x3c]
mov edx, dword [ebp + 0x10]
add ecx, dword [edx + 0x40]
mov eax, dword [ebp + 0x10]
mov dword [eax + 0x48], ecx
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0x10]
mov eax, dword [edx + 0x48]
mov dword [ecx + 0x50], eax
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx + 0x48]
mov eax, dword [ebp + 0x10]
add edx, dword [eax + 0x4c]
mov ecx, dword [ebp + 0x10]
mov dword [ecx + 0x54], edx
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 0x54]
mov dword [edx + 0x5c], ecx
mov edx, dword [ebp + 0x10]
mov eax, dword [edx + 0x54]
mov ecx, dword [ebp + 0x10]
add eax, dword [ecx + 0x58]
mov edx, dword [ebp + 0x10]
mov dword [edx + 0x60], eax
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 0x60]
mov edx, dword [ebp + 0x10]
add ecx, dword [edx + 0x64]
mov eax, dword [ebp + 0x10]
mov dword [eax + 0x80], ecx
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0x10]
mov eax, dword [edx + 0x80]
mov dword [ecx + 0x88], eax
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx + 0x80]
mov eax, dword [ebp + 0x10]
add edx, dword [eax + 0x84]
mov ecx, dword [ebp + 0x10]
mov dword [ecx + 0x8c], edx
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 0x8c]
mov dword [edx + 0x94], ecx
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 0
jmp 0x28559e0
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
cmp eax, dword [ebp + 0x1c]
jae 0x28559fd
mov ecx, dword [ebp - 4]
imul ecx, ecx, 0xc
mov edx, dword [ebp + 0x18]
mov eax, dword [ebp - 0x14]
add eax, dword [edx + ecx + 4]
mov dword [ebp - 0x14], eax
jmp 0x28559d7
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx + 0x8c]
mov eax, dword [ebp + 0x10]
add edx, dword [eax + 0x90]
mov ecx, dword [ebp + 0x10]
mov dword [ecx + 0x98], edx
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp - 0x14]
mov dword [edx + 0x9c], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x18]
and edx, 2
je 0x2855a67
mov eax, dword [ebp + 0x10]
cmp dword [eax + 0x6c], 0
ja 0x2855a41
mov ecx, dword [ebp + 0x10]
cmp dword [ecx + 0x78], 0
jbe 0x2855a67
push 0x28062f4
push 4
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x14]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x14]
mov eax, dword [eax]
push edx
call dword [eax + 4]
add esp, 0xc
mov eax, 0x80070057
jmp 0x2855ae7
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x18]
and edx, 2
neg edx
sbb edx, edx
and edx, 0xc
add edx, 4
mov eax, dword [ebp + 0x10]
add edx, dword [eax + 0x6c]
mov ecx, dword [ebp + 0x10]
mov dword [ecx + 0x6c], edx
mov edx, dword [ebp + 0x10]
mov eax, dword [edx + 0x98]
mov ecx, dword [ebp + 0x10]
add eax, dword [ecx + 0x9c]
mov edx, dword [ebp + 0x10]
mov dword [edx + 0x68], eax
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx + 0x68]
mov dword [eax + 0x70], edx
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 0x68]
mov edx, dword [ebp + 0x10]
add ecx, dword [edx + 0x6c]
mov eax, dword [ebp + 0x10]
mov dword [eax + 0x74], ecx
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0x10]
mov eax, dword [edx + 0x74]
mov dword [ecx + 0x7c], eax
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx + 0x74]
mov eax, dword [ebp + 0x10]
add edx, dword [eax + 0x78]
xor ecx, ecx
mov eax, dword [ebp + 0x10]
mov dword [eax + 0xa0], edx
mov dword [eax + 0xa4], ecx
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret 0x18