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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2c
push ebx
push esi
mov esi, eax
mov eax, dword [ebp + 0xc]
sub eax, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 8]
mov ebx, dword [edi + 8]
neg eax
sbb eax, eax
lea ecx, [esp + 0x2c]
and eax, ecx
push eax
push 3
push esi
push edi
mov dword [esp + 0x3c], 0
call fcn.100d52a0
add esp, 0x10
mov dword [esp + 0x30], eax
call fcn.100d35f0
mov byte [esp + 0x13], al
mov al, byte [edi + 0x13]
mov ecx, 1
add dword [edi + 0x6c], ecx
test al, al
jne 0x100d5bb1
add dword [edi + 0x4c], ecx
mov edx, dword [edi + 0x4c]
mov dword [esp + 0x14], edx
jmp 0x100d5bc1
sub al, 1
mov byte [edi + 0x13], al
movzx eax, al
mov ecx, dword [edi + eax*4 + 0x1c]
mov dword [esp + 0x14], ecx
mov edx, dword [esp + 0x14]
mov eax, dword [esi + 0xc]
push edx
push eax
push edi
call fcn.100d7600
add esp, 0xc
cmp dword [esp + 0x30], 5
jne 0x100d5ee8
mov ecx, dword [esi + 0x14]
mov dword [esp + 0x20], ecx
mov ecx, dword [esi + 0xc]
push edi
call fcn.100d3470
mov dword [esp + 0x1c], eax
add esp, 4
mov eax, ebx
call fcn.100c18c0
mov edx, dword [ebp + 0x10]
xor esi, esi
cmp edx, dword [ebp + 0xc]
mov dword [esp + 0x30], eax
mov dword [esp + 0x1c], esi
je 0x100d5c4c
mov al, byte [edi + 0x13]
test al, al
jne 0x100d5c22
add dword [edi + 0x4c], 1
mov eax, dword [edi + 0x4c]
mov dword [esp + 0x1c], eax
jmp 0x100d5c32
sub al, 1
movzx ecx, al
mov byte [edi + 0x13], al
mov edx, dword [edi + ecx*4 + 0x1c]
mov dword [esp + 0x1c], edx
mov eax, dword [esp + 0x1c]
push eax
mov eax, dword [esp + 0x18]
push eax
push eax
push 0x2b
push ebx
call fcn.100c1540
mov esi, dword [esp + 0x30]
add esp, 0x14
mov ecx, dword [esp + 0x20]
xor eax, eax
cmp dword [ecx], eax
mov dword [esp + 0x28], eax
jle 0x100d5e4f
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 4]
lea edx, [esp + 0x34]
push edx
mov edx, dword [esp + 0x28]
mov eax, dword [edx + ecx]
mov ecx, edi
call fcn.100d74e0
add esp, 4
cmp dword [esp + 0x1c], 0
mov esi, eax
je 0x100d5cb1
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 4]
mov edx, dword [esp + 0x24]
mov eax, dword [edx + ecx]
call fcn.100d4fb0
test eax, eax
je 0x100d5cb1
mov eax, dword [esp + 0x1c]
push eax
push esi
push eax
push 0x2b
push ebx
call fcn.100c1540
add esp, 0x14
mov eax, dword [esp + 0x20]
mov ecx, dword [eax]
sub ecx, 1
cmp dword [esp + 0x28], ecx
jl 0x100d5d67
mov eax, dword [ebp + 0xc]
cmp dword [ebp + 0x10], eax
jne 0x100d5d67
mov edx, dword [esp + 0x14]
push esi
push eax
push edx
push 0x24
push ebx
call fcn.100c1540
mov edx, dword [ebx]
add esp, 0x14
cmp byte [edx + 0x45], 0
je 0x100d5cff
mov ecx, dword [esp + 0x18]
mov eax, 0xfffffffc
mov edi, edx
call fcn.100c1c40
mov edi, dword [ebp + 8]
jmp 0x100d5d42
test eax, eax
jge 0x100d5d09
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 0x100d5d30
mov edx, dword [esp + 0x18]
push edx
push eax
mov eax, 0xfffffffc
mov ecx, ebx
call fcn.100c1e20
add esp, 8
jmp 0x100d5d42
cmp dword [esp + 0x18], 0
je 0x100d5d42
mov ecx, dword [esp + 0x18]
mov dword [eax + 0x10], ecx
mov byte [eax + 1], 0xfc
mov edx, dword [ebx]
cmp byte [edx + 0x45], 0
jne 0x100d5df6
mov eax, dword [ebx + 0x20]
mov cl, byte [esp + 0x13]
lea edx, [eax + eax*4]
mov eax, dword [ebx + 4]
or cl, 0x10
mov byte [eax + edx*4 - 0x11], cl
jmp 0x100d5df6
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x14]
push esi
push ecx
push edx
push 0x25
push ebx
call fcn.100c1540
mov edx, dword [ebx]
add esp, 0x14
cmp byte [edx + 0x45], 0
je 0x100d5d9a
mov ecx, dword [esp + 0x18]
mov eax, 0xfffffffc
mov edi, edx
call fcn.100c1c40
mov edi, dword [ebp + 8]
jmp 0x100d5ddd
test eax, eax
jge 0x100d5da4
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 0x100d5dcb
mov edx, dword [esp + 0x18]
push edx
push eax
mov eax, 0xfffffffc
mov ecx, ebx
call fcn.100c1e20
add esp, 8
jmp 0x100d5ddd
cmp dword [esp + 0x18], 0
je 0x100d5ddd
mov ecx, dword [esp + 0x18]
mov dword [eax + 0x10], ecx
mov byte [eax + 1], 0xfc
mov edx, dword [ebx]
cmp byte [edx + 0x45], 0
jne 0x100d5df6
mov eax, dword [ebx + 0x20]
mov ecx, dword [ebx + 4]
mov dl, byte [esp + 0x13]
lea eax, [eax + eax*4]
mov byte [ecx + eax*4 - 0x11], dl
mov esi, dword [esp + 0x34]
test esi, esi
je 0x100d5e2f
mov dl, byte [edi + 0x13]
cmp dl, 8
jae 0x100d5e2f
xor eax, eax
lea ecx, [edi + 0x7c]
jmp 0x100d5e10
cmp dword [ecx + 0xc], esi
je 0x100d5ed6
add eax, 1
add ecx, 0x14
cmp eax, 0xa
jl 0x100d5e10
movzx eax, dl
mov dword [edi + eax*4 + 0x1c], esi
add byte [edi + 0x13], 1
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x20]
add dword [esp + 0x24], 0x18
add eax, 1
cmp eax, dword [ecx]
mov dword [esp + 0x28], eax
jl 0x100d5c62
mov esi, dword [esp + 0x1c]
test esi, esi
je 0x100d5e78
mov edx, dword [ebp + 0x10]
push 0
push edx
push esi
push 0x22
push ebx
call fcn.100c1540
mov eax, dword [ebp + 0xc]
add esp, 0x14
push 0
push eax
push 0
push 0xd
push ebx
call fcn.100c1540
add esp, 0x14
mov ecx, dword [ebx + 0x18]
mov eax, dword [ecx + 0x78]
test eax, eax
je 0x100d5e94
mov edx, dword [esp + 0x30]
lea edx, [edx*4 + 4]
sub eax, edx
mov edx, dword [ebx + 0x20]
mov dword [eax], edx
mov eax, dword [ebx + 0x20]
sub eax, 1
test esi, esi
mov dword [ecx + 0x60], eax
je 0x100d6049
mov dl, byte [edi + 0x13]
cmp dl, 8
jae 0x100d6049
xor eax, eax
lea ecx, [edi + 0x7c]
cmp dword [ecx + 0xc], esi
je 0x100d5edf
add eax, 1
add ecx, 0x14
cmp eax, 0xa
jl 0x100d5eb6
movzx ecx, dl
mov dword [edi + ecx*4 + 0x1c], esi
add byte [edi + 0x13], 1
jmp 0x100d6049
mov byte [ecx + 6], 1
jmp 0x100d5e2f
mov byte [ecx + 6], 1
jmp 0x100d6049
mov eax, dword [esi + 0xc]
call fcn.100d4fb0
test eax, eax
je 0x100d5f5a
mov eax, dword [ebp + 0x10]
cmp eax, dword [ebp + 0xc]
push 0
jne 0x100d5f11
mov edx, dword [esp + 0x18]
push eax
push edx
push 0x22
push ebx
call fcn.100c1540
add esp, 0x14
jmp 0x100d5f5a
mov eax, dword [esp + 0x18]
push 0
push eax
push 0x23
push ebx
call fcn.100c1540
mov ecx, dword [ebp + 0xc]
mov edx, dword [esi + 0x1c]
add esp, 0x14
push 0
push ecx
push edx
push 0x37
push ebx
mov dword [esp + 0x48], eax
call fcn.100c1540
mov eax, dword [ebp + 0x10]
add esp, 0x14
push 0
push eax
push 0
push 0xd
push ebx
call fcn.100c1540
mov ecx, dword [esp + 0x48]
add esp, 0x14
mov eax, ebx
call fcn.100c1c00
cmp dword [esp + 0x30], 1
push 0
jne 0x100d5f94
mov ecx, dword [ebp + 0xc]
mov edx, dword [esp + 0x18]
push ecx
push edx
push 0x11
push ebx
call fcn.100c1540
mov eax, dword [esp + 0x28]
mov ecx, dword [ebp + 0xc]
mov edx, dword [esi + 0x1c]
add esp, 0x14
push eax
push ecx
push edx
push 0x20
push ebx
call fcn.100c1540
add esp, 0x14
jmp 0x100d6049
mov eax, dword [esp + 0x18]
push 1
push eax
push 0x5f
push ebx
call fcn.100c1540
mov edx, dword [ebx]
add esp, 0x14
cmp byte [edx + 0x45], 0
je 0x100d5fc3
lea ecx, [esp + 0x13]
mov eax, 1
mov edi, edx
call fcn.100c1c40
mov edi, dword [ebp + 8]
jmp 0x100d5feb
test eax, eax
jge 0x100d5fcd
mov eax, dword [ebx + 0x20]
sub eax, 1
lea edx, [eax + eax*4]
mov eax, dword [ebx + 4]
lea ecx, [esp + 0x13]
push ecx
lea ecx, [eax + edx*4]
push ecx
mov eax, 1
mov ecx, ebx
call fcn.100c1e20
add esp, 8
cmp dword [esp + 0x2c], 0
mov edx, dword [esi + 0x1c]
mov eax, dword [esp + 0x14]
push 1
mov esi, ebx
jne 0x100d600c
mov ecx, dword [ebp + 0xc]
push 0x1e
call fcn.100c1810
add esp, 8
jmp 0x100d6049
push 0x1f
xor ecx, ecx
call fcn.100c1810
mov edx, dword [ebp + 0x10]
push 0
push edx
mov esi, eax
mov eax, dword [esp + 0x3c]
push eax
push 0x22
push ebx
call fcn.100c1540
mov ecx, dword [ebp + 0xc]
add esp, 0x1c
push 0
push ecx
push 0
push 0xd
push ebx
call fcn.100c1540
add esp, 0x14
mov ecx, esi
mov eax, ebx
call fcn.100c1c00
mov edx, dword [esp + 0x14]
test edx, edx
je 0x100d607b
mov bl, byte [edi + 0x13]
cmp bl, 8
jae 0x100d607b
xor eax, eax
lea ecx, [edi + 0x7c]
mov edi, edi
cmp dword [ecx + 0xc], edx
je 0x100d6089
add eax, 1
add ecx, 0x14
cmp eax, 0xa
jl 0x100d6060
movzx eax, bl
mov dword [edi + eax*4 + 0x1c], edx
add byte [edi + 0x13], 1
mov eax, edi
call fcn.100d63a0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, edi
mov byte [ecx + 6], 1
call fcn.100d63a0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret