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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x34
push ebx
mov bl, byte [ebp + 0x10]
mov al, bl
mov dword [esp + 0x14], ecx
not al
mov dword [esp + 0xc], 0
and al, 1
or al, 0x4e
mov byte [esp + 6], al
mov al, bl
and al, 0xfd
push esi
mov esi, dword [edx]
push edi
mov edi, dword [ecx + 8]
movzx ecx, al
movzx eax, bl
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0x10], esi
cmp byte [ebx + 0x17], 0
cmovne ecx, eax
lea eax, [edx + 8]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x20], eax
test esi, esi
jle 0x10048b31
mov esi, dword [ebp + 8]
mov edx, ecx
mov cl, dl
and cl, 4
mov byte [esp + 0xf], cl
mov ecx, dword [esp + 0x10]
nop word [eax + eax]
cmp byte [esp + 0xf], 0
mov ebx, dword [eax]
je 0x100489fb
movzx eax, word [eax + 0x10]
test eax, eax
je 0x100489fb
test dl, 8
je 0x100489a6
mov eax, dword [esp + 0x14]
dec esi
dec eax
dec ecx
mov dword [esp + 0x10], ecx
jmp 0x10048b0f
mov edx, dword [ebp + 0xc]
mov ecx, dword [edi + 0x74]
dec edx
add edx, eax
cmp dword [edi + 0x78], ecx
jg 0x100489cc
push 0
push esi
push edx
movzx edx, byte [esp + 0x1a]
mov ecx, edi
call fcn.10029250
add esp, 0xc
jmp 0x10048b03
mov bl, byte [esp + 0xe]
lea eax, [ecx + 1]
mov dword [edi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x70]
mov byte [eax + ecx*4], bl
xor ebx, ebx
mov word [eax + ecx*4 + 2], bx
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 0xc], ebx
mov dword [eax + ecx*4 + 0x10], ebx
mov byte [eax + ecx*4 + 1], bl
jmp 0x10048aff
test dl, 2
je 0x10048a4d
mov dword [esp + 0x28], fcn.10043a90
mov eax, 2
mov word [esp + 0x38], ax
mov dword [esp + 0x2c], 0x10043940
mov dword [esp + 0x3c], 0
test ebx, ebx
je 0x10048a39
mov edx, ebx
lea ecx, [esp + 0x24]
call fcn.1003d7d0
cmp word [esp + 0x38], 0
je 0x10048a4d
mov ecx, dword [esp + 0x1c]
mov edx, ebx
push esi
call fcn.100485d0
add esp, 4
jmp 0x10048b03
mov ecx, dword [esp + 0x1c]
mov edx, ebx
push esi
call fcn.10047340
mov ebx, eax
add esp, 4
cmp ebx, esi
je 0x10048b03
mov dl, byte [esp + 0xe]
cmp dl, 0x4e
jne 0x10048abe
mov eax, dword [edi + 0x74]
lea ecx, [eax + eax*4]
mov eax, dword [edi]
shl ecx, 2
cmp byte [eax + 0x53], 0
je 0x10048a87
mov ecx, 0x1011f1ec
jmp 0x10048a8f
mov eax, dword [edi + 0x70]
add eax, 0xffffffec
add ecx, eax
cmp byte [ecx], 0x4e
jne 0x10048abe
mov eax, dword [ecx + 4]
mov edx, dword [ecx + 0xc]
inc eax
add eax, edx
cmp eax, ebx
jne 0x10048aba
mov eax, dword [ecx + 8]
inc eax
add eax, edx
cmp eax, esi
jne 0x10048aba
cmp word [ecx + 2], 0
jne 0x10048aba
lea eax, [edx + 1]
mov dword [ecx + 0xc], eax
jmp 0x10048b03
mov dl, byte [esp + 0xe]
mov ecx, dword [edi + 0x74]
cmp dword [edi + 0x78], ecx
jg 0x10048ad9
push 0
push esi
push ebx
movzx edx, dl
mov ecx, edi
call fcn.10029250
add esp, 0xc
jmp 0x10048b03
lea eax, [ecx + 1]
mov dword [edi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x70]
mov byte [eax + ecx*4], dl
xor edx, edx
mov word [eax + ecx*4 + 2], dx
mov dword [eax + ecx*4 + 4], ebx
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], edx
mov byte [eax + ecx*4 + 1], dl
mov dword [eax + ecx*4 + 8], esi
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
add dword [esp + 0x20], 0x14
inc eax
inc esi
mov dword [esp + 0x14], eax
cmp eax, ecx
mov eax, dword [esp + 0x20]
jl 0x10048980
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret