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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1d57cf1
mov eax, dword fs:[0]
push eax
sub esp, 0x270
mov eax, dword [0x1d9682c]
xor eax, esp
mov dword [esp + 0x268], eax
push ebx
push esi
push edi
mov eax, dword [0x1d9682c]
xor eax, esp
push eax
lea eax, [esp + 0x280]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov ebx, ecx
mov dword [esp + 0x34], eax
mov eax, dword [ebx + 4]
xor ecx, ecx
mov edx, 0x30
mul edx
seto cl
mov dword [esp + 0x38], ebx
neg ecx
or ecx, eax
push ecx
call fcn.01c5d9d0
xor esi, esi
add esp, 4
mov dword [ebx + 0xc], eax
cmp eax, esi
jne 0x1d38971
push 8
call dword [0x1d7fde0]
xor al, al
jmp 0x1d38eea
mov ecx, dword [ebx + 4]
lea ecx, [ecx + ecx*2]
shl ecx, 4
push ecx
push esi
push eax
call fcn.01d21b70
add esp, 0xc
mov dword [esp + 0x3c], esi
cmp dword [ebx + 4], esi
jbe 0x1d38ee8
mov dword [esp + 0x20], esi
mov dword [esp + 0x30], esi
jmp 0x1d389a6
mov esi, dword [esp + 0x20]
mov ebx, ecx
mov edx, dword [ebx + 8]
mov ecx, dword [esi + edx]
mov eax, dword [ecx]
mov edi, dword [ebx + 0xc]
mov edx, dword [eax + 4]
add edi, dword [esp + 0x30]
call edx
test al, al
je 0x1d3896a
xor eax, eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov eax, dword [ebx + 8]
mov ecx, dword [esi + eax]
mov edx, dword [ecx]
mov edx, dword [edx + 0x18]
lea eax, [esp + 0x24]
push eax
push 0x28
push edi
lea eax, [esp + 0x20]
push eax
call edx
test al, al
je 0x1d3896a
mov eax, 0x28
cmp dword [esp + 0x24], eax
jne 0x1d3896a
test byte [edi + 0x1e], 4
jne 0x1d38a12
xor eax, eax
mov word [edi + 0x24], ax
mov byte [edi + 0x26], al
mov byte [edi + 0x27], al
add dword [esp + 0x14], 0x24
adc dword [esp + 0x18], eax
jmp 0x1d38a1b
add dword [esp + 0x14], eax
adc dword [esp + 0x18], 0
mov edx, dword [esp + 0x30]
mov ecx, dword [ebx + 0xc]
movzx eax, word [ecx + edx + 0x24]
cdq
add dword [esp + 0x14], eax
adc dword [esp + 0x18], edx
test byte [edi + 0x1e], 1
je 0x1d38a9e
lea ecx, [esp + 0x7c]
call fcn.01d0fdc0
mov dword [esp + 0x288], 0
mov edx, dword [ebx + 8]
lea eax, [esp + 0x7c]
push eax
mov eax, dword [edx + esi]
lea ecx, [esp + 0x18]
push ecx
push eax
mov ecx, ebx
call fcn.01d316d0
test al, al
je 0x1d38f10
mov eax, dword [ebx + 8]
lea ecx, [esp + 0x7c]
push ecx
mov ecx, dword [eax + esi]
lea edx, [esp + 0x18]
push edx
push ecx
mov ecx, ebx
call fcn.01d316d0
test al, al
je 0x1d38f10
mov dword [esp + 0x288], 0xffffffff
lea ecx, [esp + 0x7c]
call fcn.01d0f660
test byte [edi + 0x1e], 2
je 0x1d38b18
lea ecx, [esp + 0x124]
call fcn.01d0fdc0
mov dword [esp + 0x288], 1
mov ecx, dword [ebx + 8]
lea edx, [esp + 0x124]
push edx
mov edx, dword [ecx + esi]
lea eax, [esp + 0x18]
push eax
push edx
mov ecx, ebx
call fcn.01d316d0
test al, al
je 0x1d38f28
mov edx, dword [ebx + 8]
lea eax, [esp + 0x124]
push eax
mov eax, dword [edx + esi]
lea ecx, [esp + 0x18]
push ecx
push eax
mov ecx, ebx
call fcn.01d316d0
test al, al
je 0x1d38f28
mov dword [esp + 0x288], 0xffffffff
lea ecx, [esp + 0x124]
call fcn.01d0f660
movzx eax, word [edi + 0x1a]
xor ecx, ecx
mov edx, 0x18
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.01c5d9d0
add esp, 4
mov dword [edi + 0x28], eax
test eax, eax
je 0x1d38962
movzx ecx, word [edi + 0x1a]
lea ecx, [ecx + ecx*2]
add ecx, ecx
add ecx, ecx
add ecx, ecx
push ecx
push 0
push eax
call fcn.01d21b70
movzx eax, word [edi + 0x1a]
mov esi, dword [edi + 0x28]
lea edx, [eax + eax*2]
lea eax, [esi + edx*8]
add esp, 0xc
cmp esi, eax
jae 0x1d38c08
mov edi, edi
mov ecx, dword [ebx + 8]
mov edx, dword [esp + 0x20]
mov ecx, dword [edx + ecx]
mov eax, dword [ecx]
mov eax, dword [eax + 0x18]
lea edx, [esp + 0x24]
push edx
push 8
lea edx, [esp + 0x4c]
push edx
lea edx, [esp + 0x20]
push edx
call eax
test al, al
je 0x1d3896a
cmp dword [esp + 0x24], 8
jne 0x1d3896a
xor ecx, ecx
cmp word [esp + 0x4a], cx
jne 0x1d38f43
mov edx, dword [esp + 0x44]
movzx eax, word [esp + 0x48]
mov dword [esi], edx
mov dword [esi + 8], eax
mov edx, 0x18
mul edx
mov dword [esi + 4], ecx
mov dword [esi + 0x10], ecx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.01c5d9d0
mov dword [esi + 0xc], eax
movzx eax, byte [edi + 0x26]
add eax, 8
add esp, 4
add dword [esp + 0x14], eax
adc dword [esp + 0x18], 0
movzx eax, word [edi + 0x1a]
mov edx, dword [edi + 0x28]
lea ecx, [eax + eax*2]
add esi, 0x18
lea eax, [edx + ecx*8]
cmp esi, eax
jb 0x1d38b70
movzx eax, word [edi + 0x1c]
xor ecx, ecx
mov edx, 0x10
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.01c5d9d0
add esp, 4
mov dword [edi + 0x2c], eax
test eax, eax
je 0x1d38962
movzx ecx, word [edi + 0x1c]
shl ecx, 4
push ecx
push 0
push eax
call fcn.01d21b70
mov edx, dword [edi + 0x10]
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], 0
movzx eax, word [edi + 0x1c]
mov ebx, dword [edi + 0x2c]
shl eax, 4
add eax, ebx
add esp, 0xc
cmp ebx, eax
jae 0x1d38ec8
mov esi, dword [esp + 0x38]
mov ecx, dword [esi + 8]
mov edx, dword [esp + 0x20]
mov ecx, dword [edx + ecx]
mov eax, dword [ecx]
mov eax, dword [eax + 0x18]
lea edx, [esp + 0x24]
push edx
push 0x10
lea edx, [esp + 0x54]
push edx
lea edx, [esp + 0x20]
push edx
call eax
test al, al
je 0x1d3896a
cmp dword [esp + 0x24], 0x10
jne 0x1d3896a
mov edx, dword [esp + 0x4c]
mov ecx, dword [esp + 0x50]
mov dword [ebx + 8], edx
mov dx, word [esp + 0x54]
mov dword [ebx + 4], ecx
movzx ecx, dx
mov eax, ecx
sub eax, 0xfffd
je 0x1d38cf8
sub eax, 1
je 0x1d38ce6
sub eax, 1
je 0x1d38cdf
cmp word [edi + 0x1a], dx
jbe 0x1d38f52
lea eax, [ecx + ecx*2]
mov ecx, dword [edi + 0x28]
lea edx, [ecx + eax*8]
mov dword [ebx], edx
jmp 0x1d38cfd
mov eax, dword [edi + 0x28]
mov dword [ebx], eax
jmp 0x1d38cfd
movzx eax, word [edi + 0x1a]
mov edx, dword [edi + 0x28]
lea ecx, [eax + eax*2]
lea eax, [edx + ecx*8 - 0x18]
mov dword [ebx], eax
jmp 0x1d38cfd
mov ecx, dword [edi + 0x28]
mov dword [ebx], ecx
add dword [esp + 0x14], 0x10
lea ecx, [esp + 0x1cc]
adc dword [esp + 0x18], 0
call fcn.01d0fdc0
mov dword [esp + 0x288], 2
mov ecx, dword [esi + 8]
lea edx, [esp + 0x1cc]
push edx
mov edx, dword [esp + 0x24]
lea eax, [esp + 0x18]
push eax
mov eax, dword [ecx + edx]
push eax
mov ecx, esi
call fcn.01d316d0
test al, al
je 0x1d38f69
lea ecx, [esp + 0x5c]
push ecx
mov ecx, dword [esp + 0x38]
mov dword [ebx + 0xc], 0
call fcn.01c9bf90
mov esi, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], edx
jmp 0x1d38d70
mov eax, dword [esp + 0x34]
mov ecx, dword [eax + 0x10]
mov dword [esp + 0x40], ecx
cmp dword [eax + 0xc], ecx
jbe 0x1d38d89
call fcn.01d21b13
mov eax, dword [esp + 0x34]
mov eax, dword [eax]
test esi, esi
je 0x1d38d93
cmp esi, eax
je 0x1d38d98
call fcn.01d21b13
mov eax, dword [esp + 0x40]
cmp dword [esp + 0x2c], eax
je 0x1d38e9c
test esi, esi
jne 0x1d38e03
call fcn.01d21b13
mov ecx, dword [esp + 0x2c]
cmp ecx, dword [esi + 0x10]
jb 0x1d38dbd
call fcn.01d21b13
mov ecx, dword [esp + 0x2c]
mov eax, dword [ecx + 4]
mov ecx, dword [ecx]
push eax
push ecx
lea ecx, [esp + 0x1d4]
call fcn.01d0eff0
test eax, eax
jne 0x1d38e88
push 1
lea edx, [esp + 0x68]
push edx
lea ecx, [esp + 0x30]
call fcn.01d34bf0
mov esi, eax
mov eax, dword [esi]
test eax, eax
jne 0x1d38dff
call fcn.01d21b13
mov eax, dword [esi]
test eax, eax
je 0x1d38e07
mov eax, dword [eax]
jmp 0x1d38e09
mov esi, dword [esi]
jmp 0x1d38daf
xor eax, eax
mov ecx, dword [esi + 4]
cmp ecx, dword [eax + 0x10]
jb 0x1d38e16
call fcn.01d21b13
mov esi, dword [esi + 4]
mov esi, dword [esi + 4]
xor ecx, ecx
lea eax, [esi + 1]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.01c5d9d0
add esp, 4
mov dword [ebx + 0xc], eax
test eax, eax
je 0x1d38f61
push 1
lea eax, [esp + 0x78]
push eax
lea ecx, [esp + 0x30]
call fcn.01d34bf0
mov ecx, eax
call fcn.01c9bda0
mov esi, dword [eax + 4]
push 1
lea ecx, [esp + 0x70]
push ecx
lea ecx, [esp + 0x30]
call fcn.01d34bf0
mov ecx, eax
call fcn.01c9bda0
mov eax, dword [eax]
mov ecx, dword [ebx + 0xc]
lea edx, [esi + esi + 2]
push edx
push eax
push ecx
call fcn.01d214a0
add esp, 0xc
push 2
lea ecx, [esp + 0x2c]
call fcn.01c615b0
mov esi, dword [esp + 0x28]
jmp 0x1d38d70
mov dword [esp + 0x288], 0xffffffff
lea ecx, [esp + 0x1cc]
call fcn.01d0f660
movzx edx, word [edi + 0x1c]
shl edx, 4
add edx, dword [edi + 0x2c]
add ebx, 0x10
cmp ebx, edx
jb 0x1d38c66
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
add dword [esp + 0x30], 0x30
add dword [esp + 0x20], 4
inc eax
mov dword [esp + 0x3c], eax
cmp eax, dword [ecx + 4]
jb 0x1d389a0
mov al, 1
mov ecx, dword [esp + 0x280]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x268]
xor ecx, esp
call fcn.01d20f6a
mov esp, ebp
pop ebp
ret 4
mov dword [esp + 0x288], 0xffffffff
lea ecx, [esp + 0x7c]
call fcn.01d0f660
xor al, al
jmp 0x1d38eea
mov dword [esp + 0x288], 0xffffffff
lea ecx, [esp + 0x124]
call fcn.01d0f660
xor al, al
jmp 0x1d38eea
push 0x26a
call dword [0x1d7fde0]
xor al, al
jmp 0x1d38eea
push 0x54f
call dword [0x1d7fde0]
xor al, al
jmp 0x1d38eea
push 8
call dword [0x1d7fde0]
mov dword [esp + 0x288], 0xffffffff
lea ecx, [esp + 0x1cc]
call fcn.01d0f660
xor al, al
jmp 0x1d38eea