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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov dword [ebp - 0x24], ecx
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + 0x30]
mov edx, dword [ecx + 0x3c]
add edx, 0x88
mov eax, dword [ebp - 0x24]
cmp dword [eax + 4], edx
jae 0x1004241a
mov eax, 0xa0000001
jmp 0x10042649
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x84], 0x10
jae 0x10042434
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x84]
mov dword [ebp - 0x28], eax
jmp 0x1004243b
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 + 0x88]
mov ecx, dword [ebp - 0x24]
cmp dword [ecx + 4], eax
jae 0x10042466
mov eax, 0xa0000001
jmp 0x10042649
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 0x1004249e
mov eax, 0xa0000001
jmp 0x10042649
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 0x100424dc
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 0x10042506
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 0x1004251f
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x54]
mov dword [ebp - 0x2c], edx
jmp 0x10042528
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 0x10042557
mov eax, dword [ebp - 0x1c]
jmp 0x10042649
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 + 0x84]
mov dword [ecx + 0x2c], eax
mov ecx, dword [ebp - 0x14]
lea edx, [ecx*8 + 0x88]
push edx
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + 0x34]
push ecx
mov edx, dword [ebp - 0x24]
add edx, 0x3c
push edx
call fcn.1007c4c0
add esp, 0xc
mov eax, dword [ebp - 0x24]
mov cx, word [ebp - 0x18]
mov word [eax + 0x42], cx
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 8]
mov dword [edx + 0x74], eax
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0xc]
mov dword [ecx + 0x78], edx
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x14]
mov dword [eax + 0xc0], ecx
mov edx, dword [ebp - 0x24]
cmp dword [edx + 0x64], 0
jne 0x100425eb
mov eax, dword [ebp - 0x24]
mov dword [eax + 0x1c], 0
jmp 0x1004260c
mov ecx, dword [ebp - 0x24]
add ecx, 0x1c
push ecx
mov edx, dword [ebp - 0x24]
mov eax, dword [edx + 0x64]
push eax
mov ecx, dword [ebp - 0x24]
call fcn.10041b00
test eax, eax
jge 0x1004260c
mov eax, 0xa0000001
jmp 0x10042649
mov ecx, dword [ebp - 0x24]
call fcn.10042f00
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jge 0x10042622
mov eax, dword [ebp - 0x20]
jmp 0x10042649
mov ecx, dword [ebp - 0x24]
call fcn.10042f10
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jge 0x10042647
mov ecx, dword [ebp - 0x24]
movzx edx, word [ecx + 0x52]
and edx, 0x2000
je 0x10042647
mov eax, dword [ebp - 0x10]
jmp 0x10042649
xor eax, eax
mov esp, ebp
pop ebp
ret 4