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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
push ebx
push esi
mov esi, dword [ebp + 8]
mov edx, dword [esi]
push edi
mov edi, dword [ebp + 0xc]
mov eax, dword [edi + 0xc]
mov dword [esp + 0x24], eax
mov eax, dword [esi + 0x48]
mov dword [esp + 0x1c], eax
add eax, 1
mov dword [esp + 0x28], eax
add eax, 1
mov dword [esi + 0x48], eax
mov eax, dword [edi + 0x18]
test eax, eax
mov ebx, 0xfff0bdc0
mov dword [esp + 0xc], ebx
je 0x100d58ec
cmp dword [edx + 0x14], 0
mov dword [esp + 0xc], 0
jle 0x100d58e8
mov ecx, dword [edx + 0x10]
add ecx, 0xc
cmp dword [ecx], eax
je 0x100d58e8
add dword [esp + 0xc], 1
mov ebx, dword [edx + 0x14]
add ecx, 0x10
cmp dword [esp + 0xc], ebx
jl 0x100d58d3
mov ebx, dword [esp + 0xc]
mov edx, dword [edx + 0x10]
mov ecx, ebx
shl ecx, 4
mov eax, dword [ecx + edx]
mov ecx, dword [edi]
push eax
push 0
push ecx
push 0x1b
mov eax, esi
call fcn.100d1bd0
add esp, 0x10
test eax, eax
jne 0x100d5c8e
mov eax, dword [esp + 0x24]
mov edx, dword [eax]
mov eax, dword [eax + 0x1c]
push edx
push 1
push eax
push ebx
mov eax, esi
call fcn.100d1c60
mov ebx, dword [esi + 8]
add esp, 0x10
test ebx, ebx
jne 0x100d5944
mov edi, esi
call fcn.100e9940
mov edi, dword [ebp + 0xc]
mov ebx, eax
test ebx, ebx
je 0x100d5c8e
mov eax, dword [ebp + 0x10]
test eax, eax
jl 0x100d5951
mov dword [esp + 0x20], eax
jmp 0x100d5958
mov ecx, dword [edi + 0x2c]
mov dword [esp + 0x20], ecx
push edi
push esi
call fcn.100d7cc0
mov ecx, dword [esi + 0x48]
add esp, 8
test eax, eax
lea edx, [ecx + 1]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
mov dword [esi + 0x48], edx
je 0x100d597a
add dword [eax], 1
movzx eax, word [edi + 0x32]
push eax
push 0
push ecx
push 0x6a
push ebx
call fcn.100b71b0
mov edi, dword [ebx]
add esp, 0x14
cmp byte [edi + 0x45], 0
je 0x100d59a5
mov ecx, dword [esp + 0x10]
mov eax, 0xfffffffa
call fcn.100b78b0
jmp 0x100d59e5
test eax, eax
jge 0x100d59af
mov eax, dword [ebx + 0x20]
sub eax, 1
mov ecx, dword [ebx + 4]
lea eax, [eax + eax*4]
cmp byte [ecx + eax*4 + 1], 0
lea eax, [ecx + eax*4]
je 0x100d59d6
mov edx, dword [esp + 0x10]
push edx
push eax
mov eax, 0xfffffffa
mov ecx, ebx
call fcn.100b7a90
add esp, 8
jmp 0x100d59e5
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x100d59e5
mov dword [eax + 0x10], ecx
mov byte [eax + 1], 0xfa
mov eax, dword [esp + 0xc]
mov edi, dword [esp + 0x1c]
push 0x66
push eax
mov eax, dword [esp + 0x2c]
push edi
mov ecx, esi
call fcn.100dec30
add esp, 0xc
push 0
push 0
push edi
push 0x37
push ebx
call fcn.100b71b0
mov dword [esp + 0x38], eax
mov al, byte [esi + 0x13]
add esp, 0x14
test al, al
jne 0x100d5a27
add dword [esi + 0x4c], 1
mov edi, dword [esi + 0x4c]
mov dword [esp + 0x18], edi
jmp 0x100d5a39
sub al, 1
movzx ecx, al
mov byte [esi + 0x13], al
mov edx, dword [esi + ecx*4 + 0x1c]
mov dword [esp + 0x18], edx
mov edi, edx
mov eax, dword [esp + 0x1c]
mov ecx, dword [ebp + 0xc]
push 0
push 0
push 0
push edi
push eax
push ecx
lea eax, [esp + 0x44]
call fcn.100d9950
mov edx, dword [esp + 0x2c]
push 0
push edi
push edx
push 0x7b
push ebx
call fcn.100b71b0
mov eax, dword [esp + 0x58]
add esp, 0x2c
test eax, eax
je 0x100d5a98
mov edx, dword [esi + 8]
mov edi, dword [edx + 0x18]
mov ecx, dword [edi + 0x78]
test ecx, ecx
je 0x100d5a88
lea eax, [eax*4 + 4]
sub ecx, eax
mov eax, dword [edx + 0x20]
mov dword [ecx], eax
mov ecx, dword [edx + 0x20]
sub ecx, 1
mov eax, esi
mov dword [edi + 0x60], ecx
call fcn.100cc440
mov edi, dword [esp + 0x24]
mov eax, dword [esp + 0x1c]
push 0
lea edx, [edi + 1]
push edx
push eax
push 7
push ebx
call fcn.100b71b0
add esp, 0x14
mov ecx, edi
mov eax, ebx
call fcn.100b7870
cmp dword [ebp + 0x10], 0
jge 0x100d5adb
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x20]
push 0
push ecx
push edx
push 0x81
push ebx
call fcn.100b71b0
add esp, 0x14
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x20]
mov esi, dword [esp + 0x28]
push eax
push ecx
push esi
push 0x67
push ebx
call fcn.100b71b0
mov edi, dword [ebx]
add esp, 0x14
cmp byte [edi + 0x45], 0
je 0x100d5b0d
mov ecx, dword [esp + 0x10]
mov eax, 0xfffffffa
call fcn.100b78b0
jmp 0x100d5b49
test eax, eax
jge 0x100d5b17
mov eax, dword [ebx + 0x20]
sub eax, 1
mov ecx, dword [esp + 0x10]
lea edx, [eax + eax*4]
mov eax, dword [ebx + 4]
cmp byte [eax + edx*4 + 1], 0
lea eax, [eax + edx*4]
je 0x100d5b3e
push ecx
push eax
mov eax, 0xfffffffa
mov ecx, ebx
call fcn.100b7a90
add esp, 8
jmp 0x100d5b49
test ecx, ecx
je 0x100d5b49
mov dword [eax + 0x10], ecx
mov byte [eax + 1], 0xfa
mov edx, dword [ebx]
cmp byte [edx + 0x45], 0
jne 0x100d5b6e
cmp dword [ebp + 0x10], 0
mov eax, dword [ebx + 0x20]
setl cl
sub cl, 1
lea edx, [eax + eax*4]
mov eax, dword [ebx + 4]
and ecx, 0x10
or cl, 1
mov byte [eax + edx*4 - 0x11], cl
mov ecx, dword [esp + 0x14]
push 0
push 0
push ecx
push 0x2a
push ebx
call fcn.100b71b0
mov edi, dword [ebp + 0xc]
add esp, 0x14
cmp byte [edi + 0x36], 0
mov dword [esp + 0x24], eax
je 0x100d5bd8
mov esi, dword [ebx + 0x20]
push 0
add esi, 3
push esi
push 0
push 0xd
push ebx
call fcn.100b71b0
movzx eax, word [edi + 0x32]
mov edx, dword [ebx + 0x20]
add esp, 0x14
push eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x24], edx
mov edx, dword [esp + 0x18]
mov ecx, esi
push 0x75
mov esi, ebx
call fcn.100b7480
mov ecx, dword [ebp + 8]
push 2
push ecx
call fcn.100d7810
mov esi, dword [esp + 0x38]
add esp, 0x10
jmp 0x100d5bdf
mov edx, dword [ebx + 0x20]
mov dword [esp + 0x20], edx
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
push esi
push edi
push eax
push 0x76
push ebx
call fcn.100b71b0
add esp, 0x14
push 0xffffffffffffffff
push 0
push esi
push 0x21
push ebx
call fcn.100b71b0
add esp, 0x14
push 0
push edi
push esi
push 0x7c
push ebx
call fcn.100b71b0
mov ecx, dword [ebx]
add esp, 0x14
cmp byte [ecx + 0x45], 0
jne 0x100d5c2a
mov eax, dword [ebx + 0x20]
lea edx, [eax + eax*4]
mov eax, dword [ebx + 4]
mov byte [eax + edx*4 - 0x11], 0x10
mov edx, dword [ebp + 8]
mov esi, edi
call fcn.100ce720
mov ecx, dword [esp + 0x20]
mov esi, dword [esp + 0x14]
push 0
push ecx
push esi
push 3
push ebx
call fcn.100b71b0
mov ecx, dword [esp + 0x38]
add esp, 0x14
mov eax, ebx
call fcn.100b7870
mov edx, dword [esp + 0x1c]
push 0
push 0
push edx
push 0x6d
push ebx
call fcn.100b71b0
mov eax, dword [esp + 0x3c]
add esp, 0x14
push 0
push 0
push eax
push 0x6d
push ebx
call fcn.100b71b0
add esp, 0x14
push 0
push 0
push esi
push 0x6d
push ebx
call fcn.100b71b0
add esp, 0x14
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret