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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push esi
push edi
mov dword [ebp - 0x24], ecx
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + 0x30]
mov edx, dword [ecx + 0x3c]
add edx, 0x78
mov eax, dword [ebp - 0x24]
cmp dword [eax + 4], edx
jae 0x10042129
mov eax, 0xa0000001
jmp 0x100423dd
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x74], 0x10
jae 0x1004213d
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x74]
mov dword [ebp - 0x28], eax
jmp 0x10042144
mov dword [ebp - 0x28], 0x10
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x24]
mov eax, dword [edx + 0x30]
mov ecx, dword [eax + 0x3c]
mov edx, dword [ebp - 0x14]
lea eax, [ecx + edx*8 + 0x78]
mov ecx, dword [ebp - 0x24]
cmp dword [ecx + 4], eax
jae 0x1004216c
mov eax, 0xa0000001
jmp 0x100423dd
mov edx, dword [ebp - 0x24]
mov eax, dword [edx + 0x30]
mov ecx, dword [eax + 0x3c]
mov edx, dword [ebp - 0x24]
mov eax, dword [edx + 0x34]
movzx edx, word [eax + 0x14]
lea eax, [ecx + edx + 0x18]
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx + 0x34]
movzx ecx, word [edx + 6]
imul ecx, ecx, 0x28
add eax, ecx
mov edx, dword [ebp - 0x24]
cmp dword [edx + 4], eax
jae 0x100421a4
mov eax, 0xa0000001
jmp 0x100423dd
mov eax, dword [ebp + 8]
movzx ecx, word [eax + 0x14]
mov edx, dword [ebp + 8]
lea eax, [edx + ecx + 0x18]
mov ecx, dword [ebp - 0x24]
mov dword [ecx + 0x38], eax
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x38]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
push ecx
mov ecx, dword [ebp - 0x24]
call fcn.10041c00
test eax, eax
jne 0x100421e2
mov dword [ebp - 8], 0x1000
mov edx, dword [ebp - 0x24]
mov dword [edx + 0xc], 1
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x3c]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
push edx
mov ecx, dword [ebp - 0x24]
call fcn.10041c00
test eax, eax
jne 0x1004220c
mov dword [ebp - 0xc], 0x200
mov eax, dword [ebp - 0x24]
mov dword [eax + 0xc], 1
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x24]
mov eax, dword [ecx + 0x54]
cmp eax, dword [edx + 4]
jae 0x10042225
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x54]
mov dword [ebp - 0x2c], edx
jmp 0x1004222e
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 4], edx
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 0x24]
call fcn.10042650
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jge 0x1004225d
mov eax, dword [ebp - 0x1c]
jmp 0x100423dd
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp + 8]
mov ax, word [edx + 6]
mov word [ecx + 0x20], ax
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x38]
mov dword [ecx + 0x24], eax
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x3c]
mov dword [ecx + 0x28], eax
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x74]
mov dword [ecx + 0x2c], eax
mov edi, dword [ebp - 0x24]
add edi, 0x3c
mov ecx, 0xc
mov esi, dword [ebp + 8]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x34]
xor eax, eax
mov ecx, dword [ebp - 0x24]
mov dword [ecx + 0x6c], edx
mov dword [ecx + 0x70], eax
mov esi, dword [ebp + 8]
add esi, 0x38
mov edi, dword [ebp - 0x24]
add edi, 0x74
mov ecx, 0xa
rep movsd dword es:[edi], dword [esi]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x60]
xor ecx, ecx
mov edx, dword [ebp - 0x24]
mov dword [edx + 0x9c], eax
mov dword [edx + 0xa0], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x64]
xor edx, edx
mov eax, dword [ebp - 0x24]
mov dword [eax + 0xa4], ecx
mov dword [eax + 0xa8], edx
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x68]
xor eax, eax
mov ecx, dword [ebp - 0x24]
mov dword [ecx + 0xac], edx
mov dword [ecx + 0xb0], eax
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x6c]
xor ecx, ecx
mov edx, dword [ebp - 0x24]
mov dword [edx + 0xb4], eax
mov dword [edx + 0xb8], ecx
mov eax, dword [ebp - 0x14]
lea ecx, [eax*8 + 8]
push ecx
mov edx, dword [ebp + 8]
add edx, 0x70
push edx
mov eax, dword [ebp - 0x24]
add eax, 0xbc
push eax
call fcn.1007c4c0
add esp, 0xc
mov ecx, dword [ebp - 0x24]
mov dx, word [ebp - 0x18]
mov word [ecx + 0x42], dx
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 8]
mov dword [eax + 0x74], ecx
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0xc]
mov dword [edx + 0x78], eax
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x14]
mov dword [ecx + 0xc0], edx
mov eax, dword [ebp - 0x24]
cmp dword [eax + 0x64], 0
jne 0x10042380
mov ecx, dword [ebp - 0x24]
mov dword [ecx + 0x1c], 0
jmp 0x100423a1
mov edx, dword [ebp - 0x24]
add edx, 0x1c
push edx
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + 0x64]
push ecx
mov ecx, dword [ebp - 0x24]
call fcn.10041b00
test eax, eax
jge 0x100423a1
mov eax, 0xa0000001
jmp 0x100423dd
mov ecx, dword [ebp - 0x24]
call fcn.10042a00
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jge 0x100423b7
mov eax, dword [ebp - 0x20]
jmp 0x100423dd
mov ecx, dword [ebp - 0x24]
call fcn.10042f10
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jge 0x100423db
mov edx, dword [ebp - 0x24]
movzx eax, word [edx + 0x52]
and eax, 0x2000
je 0x100423db
mov eax, dword [ebp - 0x10]
jmp 0x100423dd
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4