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

Disassembly:
sub esp, 0x28
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x3c]
mov ebp, dword [edi + 0x104]
lea eax, [edi + 0x100]
xor ebx, ebx
cmp ebp, ebx
je 0x100290d7
mov ecx, dword [eax + 8]
sub ecx, ebp
sar ecx, 5
jne 0x10029113
mov eax, dword [edi + 0x80]
mov ecx, dword [edi + 0x84]
mov edx, eax
or edx, ecx
jne 0x100290f5
mov al, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret 4
cmp eax, dword [edi + 0x78]
jne 0x1002930f
cmp ecx, dword [edi + 0x7c]
jne 0x1002930f
mov al, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret 4
xor esi, esi
mov byte [esp + 0x13], 1
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x14], esi
call fcn.10079ff0
test eax, eax
jbe 0x1002931d
jmp 0x10029146
mov esi, dword [esp + 0x14]
xor ebx, ebx
cmp ebp, ebx
je 0x10029159
mov eax, dword [edi + 0x108]
sub eax, ebp
sar eax, 5
cmp esi, eax
jb 0x1002915f
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ebp, dword [edi + 0x104]
lea eax, [edi + 0x100]
shl esi, 5
mov eax, dword [esi + ebp + 0x10]
mov ecx, dword [esi + ebp + 0x14]
mov edi, dword [esi + ebp + 0x18]
add esi, ebp
add dword [esp + 0x20], eax
mov eax, dword [esi + 0x1c]
mov edx, edi
adc dword [esp + 0x24], ecx
and edx, eax
or ecx, 0xffffffff
cmp edx, ecx
mov dword [esp + 0x34], eax
je 0x100291ac
mov edx, dword [esp + 0x18]
and edx, dword [esp + 0x1c]
cmp edx, ecx
je 0x100291b4
add dword [esp + 0x18], edi
adc dword [esp + 0x1c], eax
jmp 0x100291b4
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x3c]
mov edx, dword [esi + 0xc]
mov ecx, dword [ecx + 0x7c]
cmp edx, ecx
mov ebx, dword [esi + 8]
mov dword [esp + 0x2c], edx
jb 0x100291e3
ja 0x100291d4
mov edx, dword [esp + 0x3c]
cmp ebx, dword [edx + 0x78]
jb 0x100291e3
mov edx, dword [esp + 0x3c]
mov edx, dword [edx + 0x78]
or edx, ecx
jne 0x1002930f
cmp dword [esi + 0x14], eax
ja 0x1002930f
jb 0x100291f7
cmp dword [esi + 0x10], edi
ja 0x1002930f
cmp dword [esp + 0x14], 0
jne 0x1002929e
or ebx, dword [esp + 0x2c]
jne 0x1002930f
mov eax, dword [esp + 0x3c]
add eax, 0x100
call fcn.10079ff0
cmp eax, 1
je 0x100292e6
mov edi, dword [esp + 0x14]
add edi, 1
test ebp, ebp
je 0x10029243
mov eax, dword [esp + 0x3c]
add eax, 0x100
mov eax, dword [eax + 8]
sub eax, ebp
sar eax, 5
cmp edi, eax
jb 0x10029249
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [esp + 0x3c]
mov ebp, dword [eax + 0x104]
mov ecx, dword [esi + 0x1c]
add eax, 0x100
mov eax, dword [esi + 0x18]
shl edi, 5
add eax, dword [esi + 8]
adc ecx, dword [esi + 0xc]
cmp eax, dword [edi + ebp + 8]
jne 0x1002930f
cmp ecx, dword [edi + ebp + 0xc]
jne 0x1002930f
mov eax, dword [esp + 0x3c]
add dword [esp + 0x14], 1
add eax, 0x100
call fcn.10079ff0
cmp dword [esp + 0x14], eax
mov edi, dword [esp + 0x3c]
jb 0x10029140
jmp 0x1002931d
mov eax, dword [esp + 0x3c]
add eax, 0x100
call fcn.10079ff0
sub eax, 1
cmp dword [esp + 0x14], eax
jne 0x10029223
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax + 0x78]
mov edx, dword [eax + 0x7c]
mov esi, ecx
and esi, edx
cmp esi, 0xffffffff
jne 0x100292d4
and edi, dword [esp + 0x34]
cmp edi, esi
jmp 0x10029275
mov eax, dword [esp + 0x2c]
add ebx, edi
adc eax, dword [esp + 0x34]
cmp ebx, ecx
jne 0x1002930f
cmp eax, edx
jmp 0x10029275
mov ecx, dword [esi + 0x10]
mov eax, dword [esp + 0x3c]
cmp ecx, dword [eax + 0x80]
jne 0x1002930f
mov edx, dword [esi + 0x14]
cmp edx, dword [eax + 0x84]
jne 0x1002930f
mov ecx, edi
cmp ecx, dword [eax + 0x78]
jne 0x1002930f
mov edx, dword [esi + 0x1c]
cmp edx, dword [eax + 0x7c]
je 0x1002931b
xor al, al
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret 4
mov edi, eax
mov eax, dword [esp + 0x20]
cmp eax, dword [edi + 0x80]
jne 0x10029347
mov ecx, dword [esp + 0x24]
cmp ecx, dword [edi + 0x84]
jne 0x10029347
mov edx, dword [esp + 0x18]
cmp edx, dword [edi + 0x78]
jne 0x10029347
mov eax, dword [esp + 0x1c]
cmp eax, dword [edi + 0x7c]
je 0x1002934c
mov byte [esp + 0x13], 0
mov al, byte [esp + 0x13]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret 4