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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x118
mov edi, dword [ebp + 0x18]
push edi
call fcn.10124d60
add esp, 4
movzx eax, byte [eax + 0x20]
cmp al, 6
setb cl
cmp al, 3
setne bl
and bl, cl
mov byte [esp + 5], bl
push edi
call fcn.10124d60
add esp, 4
cmp byte [eax + 0x20], 6
setb byte [esp + 6]
push edi
call fcn.10124d60
add esp, 4
movzx eax, byte [eax + 0x64]
xor al, 1
mov byte [esp + 7], al
push edi
call fcn.10124d60
add esp, 4
mov eax, dword [eax + 0xcc]
mov esi, dword [0x1027032c]
mov dword [esp + 0x14], eax
mov eax, dword [esi]
test eax, eax
je 0x100d2acc
test bl, bl
je 0x100d2c2a
mov eax, dword [esi]
test eax, eax
jne 0x100d2d1d
mov esi, dword [0x1027005c]
movzx eax, byte [esi + 8]
movzx ecx, al
lea edx, [ecx - 1]
cmp edx, 2
jae 0x100d2e28
movzx eax, al
push eax
push dword [esi]
call fcn.10147240
add esp, 8
test al, al
je 0x100d2d1d
mov eax, dword [esi]
mov edx, dword [eax + 0x20]
test edx, edx
je 0x100d2e98
mov esi, dword [eax + 0x1c]
movsd xmm0, qword [eax + 0x24]
lea ecx, [eax + 0x1c]
mov dword [esp + 0x58], 0x101df940
mov dword [esp + 0x24], esi
lea esi, [esp + 0x14]
mov dword [esp + 0x28], edx
movlps qword [esp + 0x2c], xmm0
mov dword [esp + 0x34], 0
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], 0x100e2d20
lea esi, [esp + 0x24]
lea edx, [esp + 0x18]
lea edi, [esp + 0x58]
mov dword [esp + 0x5c], 2
mov dword [esp + 0x68], 0
mov dword [esp + 8], esi
lea esi, [esp + 8]
mov dword [esp + 0x60], edx
mov dword [esp + 0xc], edi
mov dword [esp + 0x64], 1
mov dword [esp + 0x10], 0x101df84c
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], 1
mov dword [esp + 0x44], ecx
lea ecx, [esp + 0x3c]
push ecx
push eax
call fcn.10147e50
add esp, 8
jmp 0x100d2d1d
mov eax, dword [0x10270058]
movzx eax, byte [eax + 8]
movzx ecx, al
lea edx, [ecx - 1]
cmp edx, 2
jae 0x100d2e05
movzx eax, al
push eax
mov eax, dword [0x10270058]
push dword [eax]
call fcn.10147240
add esp, 8
test al, al
je 0x100d29e7
mov eax, dword [0x10270058]
mov ecx, dword [eax]
mov eax, dword [ecx + 0x20]
test eax, eax
je 0x100d2e87
mov edx, dword [ecx + 0x1c]
movsd xmm0, qword [ecx + 0x24]
mov ebx, esi
lea esi, [ecx + 0x1c]
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
movlps qword [esp + 0x44], xmm0
mov dword [esp + 0x4c], 0
push edi
call fcn.10124d60
add esp, 4
lea ecx, [ebp + 0xc]
add eax, 0x20
lea edx, [esp + 7]
mov dword [esp + 0x24], 0x101df80c
mov dword [esp + 0x28], 8
mov dword [esp + 0x34], 0
mov dword [esp + 0x58], ecx
lea ecx, [ebp + 0x10]
mov dword [esp + 0x5c], fcn.1013fce0
mov dword [esp + 0x60], ecx
lea ecx, [esp + 0x14]
mov dword [esp + 0x64], 0x100e2cf0
mov dword [esp + 0x68], ecx
lea ecx, [esp + 5]
mov dword [esp + 0x6c], 0x100e2d20
mov dword [esp + 0x70], ecx
lea ecx, [esp + 6]
mov dword [esp + 0x74], 0x10020d00
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], 0x10020d00
mov dword [esp + 0x80], edx
mov dword [esp + 0x84], 0x10020d00
mov dword [esp + 0x88], eax
lea eax, [esp + 0x58]
mov dword [esp + 0x8c], 0x100e2d80
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x3c]
mov dword [esp + 0x30], 7
mov dword [esp + 0x18], eax
lea eax, [esp + 0x24]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x18]
mov dword [esp + 0x20], 0x101df84c
mov dword [esp + 8], eax
lea eax, [esp + 8]
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], esi
push eax
mov eax, dword [0x10270058]
push dword [eax]
call fcn.10147e50
add esp, 8
test byte [esp + 5], 1
mov esi, ebx
jne 0x100d29ef
push edi
call fcn.10124df0
add esp, 4
add eax, 0x20
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [esp + 0x1c]
push eax
call fcn.1012ef70
add esp, 0x10
cmp byte [esp + 6], 0
je 0x100d2cb5
cmp byte [esp + 7], 1
jne 0x100d2cb5
mov eax, dword [esi]
test eax, eax
jne 0x100d2d1d
mov esi, dword [0x10270060]
movzx eax, byte [esi + 8]
movzx ecx, al
lea edx, [ecx - 1]
cmp edx, 2
jae 0x100d2e69
movzx eax, al
push eax
push dword [esi]
call fcn.10147240
add esp, 8
test al, al
je 0x100d2d1d
mov eax, dword [esi]
mov edx, dword [eax + 0x20]
test edx, edx
je 0x100d2eba
mov esi, dword [eax + 0x1c]
movsd xmm0, qword [eax + 0x24]
lea ecx, [eax + 0x1c]
mov dword [esp + 0x58], 0x101df8f0
jmp 0x100d2a48
mov ebx, dword [ebp + 8]
add ebx, 8
push edi
push dword [ebp + 0x14]
push ebx
call fcn.1005c370
add esp, 0xc
push edi
call fcn.10124d60
add esp, 4
mov edi, dword [eax + 0xcc]
mov eax, esi
mov esi, dword [ebp + 0xc]
mov dword [esp + 0x50], edi
mov dword [esp + 0x54], esi
mov eax, dword [eax]
test eax, eax
je 0x100d2d25
mov eax, dword [ebp + 0x20]
mov dword [esp + 0x5c], edi
mov dword [esp + 0x60], esi
mov byte [esp + 0x58], 8
lea ecx, [esp + 0x58]
push eax
mov esi, dword [ebp + 0x18]
push esi
push dword [ebp + 0x14]
push ecx
push ebx
call fcn.1005c850
add esp, 0x14
push dword [ebp + 0x1c]
push esi
push ebx
call fcn.10126e30
add esp, 0xc
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [0x10270064]
movzx eax, byte [eax + 8]
movzx ecx, al
lea edx, [ecx - 1]
cmp edx, 2
jae 0x100d2e46
movzx eax, al
push eax
mov eax, dword [0x10270064]
push dword [eax]
call fcn.10147240
add esp, 8
test al, al
je 0x100d2cea
mov eax, dword [0x10270064]
mov eax, dword [eax]
mov edx, dword [eax + 0x20]
test edx, edx
je 0x100d2ea9
mov esi, dword [eax + 0x1c]
movsd xmm0, qword [eax + 0x24]
mov dword [esp + 0x58], 0x101df88c
mov dword [esp + 0x5c], 1
mov dword [esp + 0x68], 0
lea ecx, [eax + 0x1c]
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], edx
lea edx, [esp + 0x50]
movlps qword [esp + 0x2c], xmm0
mov dword [esp + 0x34], 0
mov dword [esp + 0x18], edx
lea edx, [esp + 0x18]
mov dword [esp + 0x1c], 0x100e2cb0
mov dword [esp + 0x60], edx
lea edx, [esp + 0x24]
mov dword [esp + 0x64], 1
mov dword [esp + 8], edx
lea edx, [esp + 0x58]
mov dword [esp + 0xc], edx
lea edx, [esp + 8]
mov dword [esp + 0x10], 0x101df84c
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], 1
mov dword [esp + 0x44], ecx
lea ecx, [esp + 0x3c]
push ecx
push eax
call fcn.10147e50
add esp, 8
mov edi, dword [esp + 0x50]
mov esi, dword [esp + 0x54]
jmp 0x100d2cea
test ecx, ecx
je 0x100d29e7
push dword [0x10270058]
call fcn.101c84c0
add esp, 4
test al, al
jne 0x100d2ae4
jmp 0x100d29e7
test ecx, ecx
je 0x100d2d1d
push esi
call fcn.101c84c0
add esp, 4
test al, al
jne 0x100d2a12
jmp 0x100d2d1d
mov eax, dword [0x10270064]
test ecx, ecx
je 0x100d2cea
push eax
call fcn.101c84c0
add esp, 4
test al, al
jne 0x100d2d3d
jmp 0x100d2cea
test ecx, ecx
je 0x100d2d1d
push esi
call fcn.101c84c0
add esp, 4
test al, al
jne 0x100d2c7a
jmp 0x100d2d1d
push 0x101df790
push 0x22
push 0x101df704
call fcn.101cb830
push 0x101df900
push 0x22
push 0x101df704
call fcn.101cb830
push 0x101df85c
push 0x22
push 0x101df704
call fcn.101cb830
push 0x101df894
push 0x22
push 0x101df704
call fcn.101cb830
int3