Function at 0x100d5d70
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.100d54c0
add esp, 0x10
mov dword [esp + 0x30], eax
call fcn.100d3810
mov byte [esp + 0x13], al
mov al, byte [edi + 0x13]
mov ecx, 1
add dword [edi + 0x6c], ecx
test al, al
jne 0x100d5dd1
add dword [edi + 0x4c], ecx
mov edx, dword [edi + 0x4c]
mov dword [esp + 0x14], edx
jmp 0x100d5de1
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.100d7820
add esp, 0xc
cmp dword [esp + 0x30], 5
jne 0x100d6108
mov ecx, dword [esi + 0x14]
mov dword [esp + 0x20], ecx
mov ecx, dword [esi + 0xc]
push edi
call fcn.100d3690
mov dword [esp + 0x1c], eax
add esp, 4
mov eax, ebx
call fcn.100c1ae0
mov edx, dword [ebp + 0x10]
xor esi, esi
cmp edx, dword [ebp + 0xc]
mov dword [esp + 0x30], eax
mov dword [esp + 0x1c], esi
je 0x100d5e6c
mov al, byte [edi + 0x13]
test al, al
jne 0x100d5e42
add dword [edi + 0x4c], 1
mov eax, dword [edi + 0x4c]
mov dword [esp + 0x1c], eax
jmp 0x100d5e52
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.100c1760
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 0x100d606f
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.100d7700
add esp, 4
cmp dword [esp + 0x1c], 0
mov esi, eax
je 0x100d5ed1
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 4]
mov edx, dword [esp + 0x24]
mov eax, dword [edx + ecx]
call fcn.100d51d0
test eax, eax
je 0x100d5ed1
mov eax, dword [esp + 0x1c]
push eax
push esi
push eax
push 0x2b
push ebx
call fcn.100c1760
add esp, 0x14
mov eax, dword [esp + 0x20]
mov ecx, dword [eax]
sub ecx, 1
cmp dword [esp + 0x28], ecx
jl 0x100d5f87
mov eax, dword [ebp + 0xc]
cmp dword [ebp + 0x10], eax
jne 0x100d5f87
mov edx, dword [esp + 0x14]
push esi
push eax
push edx
push 0x24
push ebx
call fcn.100c1760
mov edx, dword [ebx]
add esp, 0x14
cmp byte [edx + 0x45], 0
je 0x100d5f1f
mov ecx, dword [esp + 0x18]
mov eax, 0xfffffffc
mov edi, edx
call fcn.100c1e60
mov edi, dword [ebp + 8]
jmp 0x100d5f62
test eax, eax
jge 0x100d5f29
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 0x100d5f50
mov edx, dword [esp + 0x18]
push edx
push eax
mov eax, 0xfffffffc
mov ecx, ebx
call fcn.100c2040
add esp, 8
jmp 0x100d5f62
cmp dword [esp + 0x18], 0
je 0x100d5f62
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 0x100d6016
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 0x100d6016
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x14]
push esi
push ecx
push edx
push 0x25
push ebx
call fcn.100c1760
mov edx, dword [ebx]
add esp, 0x14
cmp byte [edx + 0x45], 0
je 0x100d5fba
mov ecx, dword [esp + 0x18]
mov eax, 0xfffffffc
mov edi, edx
call fcn.100c1e60
mov edi, dword [ebp + 8]
jmp 0x100d5ffd
test eax, eax
jge 0x100d5fc4
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 0x100d5feb
mov edx, dword [esp + 0x18]
push edx
push eax
mov eax, 0xfffffffc
mov ecx, ebx
call fcn.100c2040
add esp, 8
jmp 0x100d5ffd
cmp dword [esp + 0x18], 0
je 0x100d5ffd
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 0x100d6016
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 0x100d604f
mov dl, byte [edi + 0x13]
cmp dl, 8
jae 0x100d604f
xor eax, eax
lea ecx, [edi + 0x7c]
jmp 0x100d6030
cmp dword [ecx + 0xc], esi
je 0x100d60f6
add eax, 1
add ecx, 0x14
cmp eax, 0xa
jl 0x100d6030
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 0x100d5e82
mov esi, dword [esp + 0x1c]
test esi, esi
je 0x100d6098
mov edx, dword [ebp + 0x10]
push 0
push edx
push esi
push 0x22
push ebx
call fcn.100c1760
mov eax, dword [ebp + 0xc]
add esp, 0x14
push 0
push eax
push 0
push 0xd
push ebx
call fcn.100c1760
add esp, 0x14
mov ecx, dword [ebx + 0x18]
mov eax, dword [ecx + 0x78]
test eax, eax
je 0x100d60b4
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 0x100d6269
mov dl, byte [edi + 0x13]
cmp dl, 8
jae 0x100d6269
xor eax, eax
lea ecx, [edi + 0x7c]
cmp dword [ecx + 0xc], esi
je 0x100d60ff
add eax, 1
add ecx, 0x14
cmp eax, 0xa
jl 0x100d60d6
movzx ecx, dl
mov dword [edi + ecx*4 + 0x1c], esi
add byte [edi + 0x13], 1
jmp 0x100d6269
mov byte [ecx + 6], 1
jmp 0x100d604f
mov byte [ecx + 6], 1
jmp 0x100d6269
mov eax, dword [esi + 0xc]
call fcn.100d51d0
test eax, eax
je 0x100d617a
mov eax, dword [ebp + 0x10]
cmp eax, dword [ebp + 0xc]
push 0
jne 0x100d6131
mov edx, dword [esp + 0x18]
push eax
push edx
push 0x22
push ebx
call fcn.100c1760
add esp, 0x14
jmp 0x100d617a
mov eax, dword [esp + 0x18]
push 0
push eax
push 0x23
push ebx
call fcn.100c1760
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.100c1760
mov eax, dword [ebp + 0x10]
add esp, 0x14
push 0
push eax
push 0
push 0xd
push ebx
call fcn.100c1760
mov ecx, dword [esp + 0x48]
add esp, 0x14
mov eax, ebx
call fcn.100c1e20
cmp dword [esp + 0x30], 1
push 0
jne 0x100d61b4
mov ecx, dword [ebp + 0xc]
mov edx, dword [esp + 0x18]
push ecx
push edx
push 0x11
push ebx
call fcn.100c1760
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.100c1760
add esp, 0x14
jmp 0x100d6269
mov eax, dword [esp + 0x18]
push 1
push eax
push 0x5f
push ebx
call fcn.100c1760
mov edx, dword [ebx]
add esp, 0x14
cmp byte [edx + 0x45], 0
je 0x100d61e3
lea ecx, [esp + 0x13]
mov eax, 1
mov edi, edx
call fcn.100c1e60
mov edi, dword [ebp + 8]
jmp 0x100d620b
test eax, eax
jge 0x100d61ed
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.100c2040
add esp, 8
cmp dword [esp + 0x2c], 0
mov edx, dword [esi + 0x1c]
mov eax, dword [esp + 0x14]
push 1
mov esi, ebx
jne 0x100d622c
mov ecx, dword [ebp + 0xc]
push 0x1e
call fcn.100c1a30
add esp, 8
jmp 0x100d6269
push 0x1f
xor ecx, ecx
call fcn.100c1a30
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.100c1760
mov ecx, dword [ebp + 0xc]
add esp, 0x1c
push 0
push ecx
push 0
push 0xd
push ebx
call fcn.100c1760
add esp, 0x14
mov ecx, esi
mov eax, ebx
call fcn.100c1e20
mov edx, dword [esp + 0x14]
test edx, edx
je 0x100d629b
mov bl, byte [edi + 0x13]
cmp bl, 8
jae 0x100d629b
xor eax, eax
lea ecx, [edi + 0x7c]
mov edi, edi
cmp dword [ecx + 0xc], edx
je 0x100d62a9
add eax, 1
add ecx, 0x14
cmp eax, 0xa
jl 0x100d6280
movzx eax, bl
mov dword [edi + eax*4 + 0x1c], edx
add byte [edi + 0x13], 1
mov eax, edi
call fcn.100d65c0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, edi
mov byte [ecx + 6], 1
call fcn.100d65c0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret