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

Disassembly:
sub esp, 0x24
mov ecx, dword [esp + 0x2c]
mov eax, dword [ecx]
push ebx
push edi
mov edi, dword [esp + 0x40]
mov edx, dword [edi]
xor ebx, ebx
mov dword [ecx], ebx
mov dword [edi], ebx
mov dword [esp + 0x14], eax
mov dword [esp + 0x20], edx
cmp dword [esi + 0x18], ebx
je 0x100d9bff
mov eax, dword [esi + 0x1c]
pop edi
pop ebx
add esp, 0x24
ret 0x1c
push ebp
lea ebp, [esi + 0x20]
mov dword [esp + 0x14], ebp
mov dword [ebp], 2
cmp dword [esi + 0xc], ebx
je 0x100d9cef
mov ecx, dword [esp + 0x48]
push ebp
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x50]
push eax
mov eax, dword [esp + 0x48]
push ecx
mov dword [esp + 0x50], edx
lea edx, [esp + 0x50]
push edx
push eax
mov eax, dword [esi + 0x88]
lea ecx, [esp + 0x48]
push ecx
mov ecx, dword [esi + 0x78]
xor edx, edx
call eax
mov edx, dword [esp + 0x44]
xor ecx, ecx
cmp dword [ebp], 1
mov ebx, eax
sete cl
mov dword [esi + 0x1c], ebx
mov dword [edi], edx
mov edx, dword [esp + 0x34]
add dword [esi + 0x14], edx
mov eax, dword [esi + 0x14]
mov dword [esp + 0x40], ecx
test ebx, ebx
jne 0x100d9c76
cmp dword [esp + 0x48], ebx
jne 0x100d9c76
test ecx, ecx
je 0x100d9c7d
mov dword [esi + 0x18], 1
mov ecx, dword [esi + 8]
cmp ecx, 1
jne 0x100d9c96
mov eax, dword [esp + 0x38]
pop ebp
mov dword [eax], edx
pop edi
mov eax, ebx
pop ebx
add esp, 0x24
ret 0x1c
cmp dword [esi + 0x18], 0
je 0x100d9ce4
mov ebp, 1
cmp ecx, ebp
jbe 0x100d9cde
lea edi, [esi + 0x90]
jmp 0x100d9cb0
mov edx, dword [esi + 0xc]
mov ecx, dword [edi]
push eax
mov eax, dword [edi + 0x14]
call eax
cmp dword [esp + 0x40], 0
jne 0x100d9cd2
cmp dword [esp + 0x3c], 0
je 0x100d9cd5
mov ecx, dword [esp + 0x18]
cmp dword [esi + 0x14], ecx
jne 0x100d9cd5
mov eax, dword [esi + 0x14]
inc ebp
add edi, 0x18
cmp ebp, dword [esi + 8]
jb 0x100d9cb0
mov edx, dword [esp + 0x38]
mov dword [edx], eax
pop ebp
pop edi
mov eax, ebx
pop ebx
add esp, 0x24
ret 0x1c
cmp dword [esi + 8], 1
je 0x100d9d26
cmp dword [esi + 4], ebx
jne 0x100d9d1a
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, 0x60000
call eax
mov dword [esi + 4], eax
cmp eax, ebx
jne 0x100d9d1a
pop ebp
pop edi
mov eax, 2
pop ebx
add esp, 0x24
ret 0x1c
mov dword [esp + 0x4c], ebx
jmp 0x100d9d26
mov ebp, dword [esp + 0x14]
xor ebx, ebx
xor edi, edi
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], 1
mov dword [esp + 0x3c], ebx
mov dword [ebp], 2
cmp dword [esi + 8], edi
jbe 0x100d9eb0
jmp 0x100d9d50
lea ecx, [edi + edi*2 + 0xf]
lea ebp, [esi + ecx*8]
mov dword [esp + 0x28], ebp
test edi, edi
jne 0x100d9d77
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x24]
sub edx, dword [ecx]
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x48]
mov dword [esp + 0xc], edx
jmp 0x100d9d94
mov edx, dword [esi + edi*4 + 0x2c]
mov ebx, dword [esi + edi*4 + 0x38]
mov ecx, dword [esi + edi*4 + 0x20]
lea eax, [edi - 1]
shl eax, 0x11
add eax, dword [esi + 4]
add eax, edx
sub ebx, edx
mov dword [esp + 0xc], ebx
mov edx, dword [esi + 8]
dec edx
cmp edi, edx
jne 0x100d9db5
mov ebp, dword [esp + 0x38]
mov ebx, dword [esp + 0x18]
sub ebx, dword [ebp]
mov edx, dword [esp + 0x34]
mov ebp, dword [esp + 0x28]
mov dword [esp + 0x10], ebx
jmp 0x100d9dd3
mov edx, dword [esi + edi*4 + 0x30]
cmp edx, dword [esi + edi*4 + 0x3c]
jne 0x100d9e90
mov edx, edi
shl edx, 0x11
add edx, dword [esi + 4]
mov dword [esp + 0x10], 0x20000
mov ebx, dword [esi + edi*4 + 0x68]
test ebx, ebx
je 0x100d9def
cmp dword [esp + 0x3c], 0
jne 0x100d9e90
mov dword [esp + 0x3c], ebx
jmp 0x100d9e90
lea ebx, [esp + 0x2c]
push ebx
push dword [esp + 0x50]
push ecx
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [ebp]
push eax
lea eax, [esp + 0x24]
push eax
mov eax, dword [ebp + 0x10]
call eax
xor ebp, ebp
cmp eax, ebp
je 0x100d9e20
mov dword [esi + edi*4 + 0x68], eax
cmp dword [esp + 0x3c], ebp
jne 0x100d9e20
mov dword [esp + 0x3c], eax
mov edx, dword [esp + 0x2c]
xor ecx, ecx
cmp edx, 1
sete cl
cmp ecx, ebp
jne 0x100d9e44
cmp dword [esi + 8], 1
mov dword [esp + 0x20], ebp
jne 0x100d9e44
cmp eax, ebp
jne 0x100d9e44
mov eax, dword [esp + 0x14]
mov dword [eax], edx
mov edx, dword [esp + 0xc]
cmp edi, ebp
jne 0x100d9e58
mov eax, dword [esp + 0x44]
add dword [eax], edx
add dword [esp + 0x40], edx
jmp 0x100d9e5c
add dword [esi + edi*4 + 0x2c], edx
mov eax, dword [esi + 8]
dec eax
cmp edi, eax
mov eax, dword [esp + 0x10]
jne 0x100d9e74
mov ecx, dword [esp + 0x38]
add dword [ecx], eax
add dword [esp + 0x34], eax
jmp 0x100d9e80
mov dword [esi + edi*4 + 0x3c], eax
mov dword [esi + edi*4 + 0x30], ebp
mov dword [esi + edi*4 + 0x24], ecx
cmp eax, ebp
jne 0x100d9e88
cmp edx, ebp
je 0x100d9e90
mov dword [esp + 0x1c], 1
inc edi
cmp edi, dword [esi + 8]
jb 0x100d9d50
cmp dword [esp + 0x1c], 0
jne 0x100d9d20
cmp dword [esp + 0x20], 0
je 0x100d9eb7
mov ebp, dword [esp + 0x14]
mov dword [ebp], 1
mov eax, dword [esp + 0x3c]
pop ebp
pop edi
pop ebx
add esp, 0x24
ret 0x1c