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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xd0
push esi
push edi
mov dword [ebp - 0x6c], ecx
mov ecx, dword [ebp - 0x6c]
add ecx, 8
call fcn.010b40b0
mov dword [ebp - 8], eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
jmp 0x10d68a7
mov eax, dword [ebp - 0x1c]
add eax, 1
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x6c]
add ecx, 8
call fcn.010b4040
cmp dword [ebp - 0x1c], eax
jae 0x10d68e1
mov ecx, dword [ebp - 0x1c]
push ecx
mov ecx, dword [ebp - 0x6c]
add ecx, 8
call fcn.010b4080
cmp eax, dword [ebp - 8]
jne 0x10d68cd
jmp 0x10d68e1
mov edx, dword [ebp - 0x1c]
push edx
mov ecx, dword [ebp - 0x6c]
add ecx, 8
call fcn.010b4080
mov dword [ebp - 0x18], eax
jmp 0x10d689e
mov eax, dword [ebp - 0x6c]
mov dword [eax + 0x824], 0
cmp dword [ebp - 0x18], 0
jne 0x10d68fe
mov eax, 1
jmp 0x10d7087
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0x18]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x10d6944
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0x18]
mov eax, dword [ecx + 8]
cmp eax, dword [edx + 8]
jne 0x10d6944
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x74], edx
mov eax, dword [ebp - 0x70]
mov ecx, dword [ebp - 0x74]
mov edx, dword [eax + 0x10]
cmp edx, dword [ecx + 0x10]
jne 0x10d6944
mov eax, dword [ebp - 0x70]
mov ecx, dword [ebp - 0x74]
mov edx, dword [eax + 0x14]
cmp edx, dword [ecx + 0x14]
je 0x10d69ce
mov eax, dword [ebp - 8]
cmp dword [eax], 2
jne 0x10d698c
mov ecx, dword [ebp - 0x18]
cmp dword [ecx], 0
jne 0x10d698c
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x18]
mov ecx, dword [edx + 8]
cmp ecx, dword [eax + 8]
jne 0x10d698c
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x78], edx
mov dword [ebp - 0x7c], eax
mov ecx, dword [ebp - 0x78]
mov edx, dword [ebp - 0x7c]
mov eax, dword [ecx + 0x10]
cmp eax, dword [edx + 0x10]
jne 0x10d698c
mov ecx, dword [ebp - 0x78]
mov edx, dword [ebp - 0x7c]
mov eax, dword [ecx + 0x14]
cmp eax, dword [edx + 0x14]
jne 0x10d698c
jmp 0x10d69ce
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0x18]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x10d69c4
mov ecx, dword [ebp - 0x18]
cmp dword [ecx], 7
jne 0x10d69c4
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x18]
mov ecx, dword [edx + 8]
cmp ecx, dword [eax + 8]
jne 0x10d69c4
mov edx, dword [ebp - 0x18]
cmp dword [edx + 0x2c], 0
je 0x10d69c4
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x2c]
cmp dword [ecx], 0
jne 0x10d69c4
jmp 0x10d69ce
mov eax, 1
jmp 0x10d7087
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x14]
push eax
mov ecx, dword [edx + 0x10]
push ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx + 8]
push eax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 4]
push edx
call fcn.010d05e0
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x14]
push ecx
mov edx, dword [eax + 0x10]
push edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 8]
push ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 4]
push eax
call fcn.010d05e0
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0x14]
push edx
mov eax, dword [ecx + 0x10]
push eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 8]
push edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [ebp - 0x6c]
mov eax, dword [edx + 0x18]
mov ecx, dword [ebp - 0x6c]
mov ecx, dword [ecx + 0x18]
mov edx, dword [eax]
mov eax, dword [edx + 0x24]
call eax
push eax
call fcn.010d05e0
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x6c]
mov dword [ecx + 0x824], 1
mov dword [ebp - 0xc], 1
mov edx, dword [ebp - 8]
mov eax, dword [edx]
mov dword [ebp - 0x80], eax
mov ecx, dword [ebp - 0x80]
sub ecx, 1
mov dword [ebp - 0x80], ecx
cmp dword [ebp - 0x80], 7
ja case.0x10d6a77.5
mov edx, dword [ebp - 0x80]
jmp dword [edx*4 + 0x10d7090]
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x10]
mov eax, dword [edx + 0x2c]
call eax
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov ecx, dword [ebp - 4]
mov eax, dword [edx + 0x90]
call eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x10]
mov eax, dword [edx + 0x24]
call eax
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov ecx, dword [ebp - 4]
mov eax, dword [edx + 0x88]
call eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x10]
mov eax, dword [edx + 0x30]
call eax
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov ecx, dword [ebp - 4]
mov eax, dword [edx + 0x94]
call eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x10]
mov eax, dword [edx + 0x34]
call eax
push edx
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov ecx, dword [ebp - 4]
mov eax, dword [edx + 0x98]
call eax
mov word [ebp - 0x60], 0
push 0x3e
push 0
lea ecx, [ebp - 0x5e]
push ecx
call sub.ntdll.dll_memset
add esp, 0xc
lea edx, [ebp - 0x60]
push edx
mov eax, dword [ebp - 4]
mov edx, dword [eax]
mov ecx, dword [ebp - 4]
mov eax, dword [edx + 0x24]
call eax
push eax
call fcn.010d1360
jmp case.0x10d6a77.5
mov ecx, dword [ebp - 0x6c]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x6c]
mov eax, dword [edx + 0x78]
call eax
mov dword [ebp - 0xc], 0
jmp case.0x10d6a77.5
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x10]
mov eax, dword [edx + 0x2c]
call eax
mov dword [ebp - 0x84], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov ecx, dword [ebp - 4]
mov eax, dword [edx + 0x2c]
call eax
mov dword [ebp - 0x88], eax
mov ecx, dword [ebp - 0x88]
mov dx, word [ecx]
mov word [ebp - 0x8a], dx
mov eax, dword [ebp - 0x84]
cmp dx, word [eax]
jne 0x10d6bd3
cmp word [ebp - 0x8a], 0
je 0x10d6bc7
mov ecx, dword [ebp - 0x88]
mov dx, word [ecx + 2]
mov word [ebp - 0x8c], dx
mov eax, dword [ebp - 0x84]
cmp dx, word [eax + 2]
jne 0x10d6bd3
add dword [ebp - 0x88], 4
add dword [ebp - 0x84], 4
cmp word [ebp - 0x8c], 0
jne 0x10d6b6d
mov dword [ebp - 0x90], 0
jmp 0x10d6bde
sbb ecx, ecx
sbb ecx, 0xffffffff
mov dword [ebp - 0x90], ecx
mov edx, dword [ebp - 0x90]
mov dword [ebp - 0x94], edx
cmp dword [ebp - 0x94], 0
je 0x10d6ca3
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x10]
mov eax, dword [edx + 0x2c]
call eax
mov dword [ebp - 0x98], eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x14]
mov eax, dword [edx + 0x2c]
call eax
mov dword [ebp - 0x9c], eax
mov ecx, dword [ebp - 0x9c]
mov dx, word [ecx]
mov word [ebp - 0x9e], dx
mov eax, dword [ebp - 0x98]
cmp dx, word [eax]
jne 0x10d6c83
cmp word [ebp - 0x9e], 0
je 0x10d6c77
mov ecx, dword [ebp - 0x9c]
mov dx, word [ecx + 2]
mov word [ebp - 0xa0], dx
mov eax, dword [ebp - 0x98]
cmp dx, word [eax + 2]
jne 0x10d6c83
add dword [ebp - 0x9c], 4
add dword [ebp - 0x98], 4
cmp word [ebp - 0xa0], 0
jne 0x10d6c1d
mov dword [ebp - 0xa4], 0
jmp 0x10d6c8e
sbb ecx, ecx
sbb ecx, 0xffffffff
mov dword [ebp - 0xa4], ecx
mov edx, dword [ebp - 0xa4]
mov dword [ebp - 0xa8], edx
cmp dword [ebp - 0xa8], 0
jne 0x10d6cb7
mov eax, dword [ebp - 0x6c]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x6c]
mov eax, dword [edx + 0x78]
call eax
mov dword [ebp - 0xc], 0
jmp case.0x10d6a77.5
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov ecx, dword [ebp - 4]
mov eax, dword [edx + 0x28]
call eax
movzx esi, ax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x10]
mov eax, dword [edx + 0x28]
call eax
movzx ecx, ax
cmp esi, ecx
je 0x10d6d04
mov edx, dword [ebp - 0x14]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x14]
mov edx, dword [eax + 0x28]
call edx
movzx esi, ax
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x10]
mov eax, dword [edx + 0x28]
call eax
movzx ecx, ax
cmp esi, ecx
jne 0x10d6d1a
mov edx, dword [ebp - 0x6c]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x6c]
mov edx, dword [eax + 0x78]
call edx
mov dword [ebp - 0xc], 0
jmp 0x10d6d83
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x64], ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov ecx, dword [ebp - 4]
mov edx, dword [eax + 0x28]
call edx
mov word [ebp - 0x68], ax
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x10]
mov eax, dword [edx + 0x28]
call eax
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov ecx, dword [ebp - 4]
mov eax, dword [edx + 0x8c]
call eax
push 0
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x10]
mov eax, dword [edx + 0x28]
call eax
push eax
mov ecx, dword [ebp - 0x64]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x64]
mov eax, dword [edx + 0x24]
call eax
push 1
mov cx, word [ebp - 0x68]
push ecx
mov edx, dword [ebp - 0x64]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x64]
mov edx, dword [eax + 0x24]
call edx
jmp case.0x10d6a77.5
mov eax, dword [ebp - 0x6c]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x6c]
mov eax, dword [edx + 0x78]
call eax
mov dword [ebp - 0xc], 0
jmp case.0x10d6a77.5
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x1c]
push edx
mov eax, dword [ecx + 0x18]
push eax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 8]
push edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 4]
push ecx
call fcn.010d05e0
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 0x10]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x10]
mov edx, dword [eax + 0x1c]
call edx
mov esi, eax
mov edi, edx
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x14]
mov eax, dword [edx + 0x1c]
call eax
mov dword [ebp - 0xb0], esi
mov dword [ebp - 0xac], edi
mov dword [ebp - 0xb8], eax
mov dword [ebp - 0xb4], edx
mov ecx, dword [ebp - 0xb0]
cmp ecx, dword [ebp - 0xb8]
jne 0x10d6ec8
mov edx, dword [ebp - 0xac]
cmp edx, dword [ebp - 0xb4]
jne 0x10d6ec8
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x10]
mov eax, dword [edx + 0x20]
call eax
mov esi, eax
mov edi, edx
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x14]
mov eax, dword [edx + 0x20]
call eax
mov dword [ebp - 0xc0], esi
mov dword [ebp - 0xbc], edi
mov dword [ebp - 0xc8], eax
mov dword [ebp - 0xc4], edx
mov ecx, dword [ebp - 0xc0]
cmp ecx, dword [ebp - 0xc8]
jne 0x10d6ec8
mov edx, dword [ebp - 0xbc]
cmp edx, dword [ebp - 0xc4]
jne 0x10d6ec8
mov ecx, dword [ebp - 0x6c]
add ecx, 8
call fcn.010b4040
sub eax, 1
push eax
mov ecx, dword [ebp - 0x6c]
add ecx, 8
call fcn.010b4080
mov esi, eax
mov ecx, dword [ebp - 0x6c]
add ecx, 8
call fcn.010b4040
sub eax, 2
push eax
mov ecx, dword [ebp - 0x6c]
add ecx, 8
call fcn.010b4080
mov ecx, dword [esi + 0x34]
mov dword [eax + 0x34], ecx
mov edx, dword [ebp - 0x6c]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x6c]
mov edx, dword [eax + 0x78]
call edx
mov dword [ebp - 0xc], 0
jmp 0x10d7053
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x1c]
push ecx
mov edx, dword [eax + 0x18]
push edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 8]
push ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 4]
push eax
call fcn.010d05e0
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x10]
mov eax, dword [edx + 0x40]
call eax
movzx esi, al
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov ecx, dword [ebp - 4]
mov eax, dword [edx + 0x40]
call eax
movzx ecx, al
cmp esi, ecx
jne 0x10d703f
mov edx, dword [ebp - 0x10]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x10]
mov edx, dword [eax + 0x1c]
call edx
push edx
push eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
mov ecx, dword [ebp - 4]
mov eax, dword [edx + 0x80]
call eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x10]
mov eax, dword [edx + 0x20]
call eax
push edx
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov ecx, dword [ebp - 4]
mov eax, dword [edx + 0x84]
call eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x10]
mov eax, dword [edx + 0x44]
call eax
push edx
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov ecx, dword [ebp - 4]
mov eax, dword [edx + 0xa8]
call eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x10]
mov eax, dword [edx + 0x24]
call eax
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov ecx, dword [ebp - 4]
mov eax, dword [edx + 0x88]
call eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x10]
mov eax, dword [edx + 0x30]
call eax
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov ecx, dword [ebp - 4]
mov eax, dword [edx + 0x94]
call eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov ecx, dword [ebp - 4]
mov eax, dword [edx + 0x18]
call eax
mov dword [ebp - 0xcc], eax
mov ecx, dword [ebp - 0xcc]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0xcc]
mov eax, dword [edx + 0x3c]
call eax
mov dword [ebp - 0xd0], eax
push 0
mov ecx, dword [ebp - 0xd0]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0xd0]
mov eax, dword [edx + 0x44]
call eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x10]
mov eax, dword [edx + 0x1c]
call eax
mov ecx, dword [ebp - 0x18]
mov dword [ecx + 0x18], eax
mov dword [ecx + 0x1c], edx
mov ecx, dword [ebp - 0x6c]
add ecx, 8
call fcn.010b4040
sub eax, 1
push eax
mov ecx, dword [ebp - 0x6c]
add ecx, 8
call fcn.010b4080
mov esi, eax
mov ecx, dword [ebp - 0x6c]
add ecx, 8
call fcn.010b4040
sub eax, 2
push eax
mov ecx, dword [ebp - 0x6c]
add ecx, 8
call fcn.010b4080
mov edx, dword [esi + 0x34]
mov dword [eax + 0x34], edx
jmp 0x10d7053
mov eax, dword [ebp - 0x6c]
mov dword [eax + 0x824], 0
mov eax, 1
jmp 0x10d7087
jmp case.0x10d6a77.5
mov ecx, dword [ebp - 0x6c]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x6c]
mov eax, dword [edx + 0x78]
call eax
mov dword [ebp - 0xc], 0
mov ecx, dword [ebp - 0x6c]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x6c]
mov eax, dword [edx + 0x78]
call eax
cmp dword [ebp + 8], 0
je 0x10d7084
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 4]
mov dword [ecx], edx
mov eax, dword [ebp - 0xc]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4