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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb4
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, dword [edi]
mov dword [ebp - 4], eax
xor edx, edx
mov dl, byte [edi + 0x99]
mov dword [ebp - 0x10], edx
mov ecx, dword [ebp - 4]
mov eax, dword [ecx + 0x20]
mov edx, dword [ecx + 0x24]
and eax, 0x4000
xor edx, edx
cmp edx, 0
jne 0x3d46187
cmp eax, 0
je 0x3d465de
mov esi, dword [ebp + 0xc]
cmp byte [esi + 0x2b], 0
jne 0x3d465de
mov eax, dword [ebp + 0xc]
mov edx, dword [eax + 0x3c]
push edx
mov ecx, dword [ebp - 4]
push ecx
call fcn.03d50270
mov dword [ebp - 8], eax
add esp, 8
mov eax, dword [ebp - 4]
mov esi, dword [ebp - 8]
shl esi, 4
mov edx, dword [eax + 0x10]
mov ecx, dword [edx + esi]
mov dword [ebp - 0xc], ecx
mov esi, dword [ebp + 0xc]
mov ebx, dword [esi + 0x30]
test ebx, ebx
je 0x3d4642c
xor eax, eax
xor edx, edx
mov dword [ebp - 0x18], eax
xor ecx, ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x28], ecx
cmp dword [ebp + 0x18], 0
je 0x3d46213
mov ecx, dword [ebx + 8]
push ecx
mov eax, dword [ebp + 0xc]
mov edx, dword [eax]
push edx
call fcn.03cfd49c
add esp, 8
test eax, eax
je 0x3d46213
mov ecx, dword [ebp + 0x1c]
push ecx
mov eax, dword [ebp + 0x18]
push eax
push ebx
mov edx, dword [ebp + 0xc]
push edx
call fcn.03d46004
add esp, 0x10
test eax, eax
jne 0x3d46213
jmp 0x3d46421
cmp byte [edi + 0x99], 0
je 0x3d46235
mov ecx, dword [ebp - 0xc]
push ecx
mov eax, dword [ebx + 8]
push eax
mov edx, dword [ebp - 4]
push edx
call fcn.03d3ae6c
add esp, 0xc
mov dword [ebp - 0x14], eax
jmp 0x3d4624b
mov ecx, dword [ebp - 0xc]
push ecx
mov eax, dword [ebx + 8]
push eax
push 0
push edi
call fcn.03d3b09c
add esp, 0x10
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x3d4626f
lea edx, [ebp - 0x1c]
push edx
lea ecx, [ebp - 0x18]
push ecx
push ebx
mov eax, dword [ebp - 0x14]
push eax
push edi
call fcn.03d4546c
add esp, 0x14
test eax, eax
je 0x3d4630f
cmp dword [ebp - 0x10], 0
je 0x3d465de
mov edx, dword [ebp - 4]
cmp byte [edx + 0x57], 0
jne 0x3d465de
cmp dword [ebp - 0x14], 0
jne 0x3d46421
push edi
call fcn.03d53150
pop ecx
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.03d1a1c8
add eax, dword [ebx + 0x14]
pop ecx
inc eax
xor esi, esi
mov dword [ebp - 0x30], eax
lea eax, [ebx + 0x24]
mov dword [ebp - 0x48], eax
jmp 0x3d462ec
mov edx, dword [ebp - 0x48]
mov ecx, dword [edx]
mov dword [ebp - 0x34], ecx
mov cx, word [ebp - 0x34]
push ecx
mov eax, dword [ebx]
push eax
call fcn.03d3bb2c
movsx eax, ax
add esp, 8
mov edx, dword [ebp - 0x30]
add eax, dword [ebp + 0x10]
inc eax
push edx
push eax
push 0x32
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.03d19b34
add esp, 0x10
inc esi
add dword [ebp - 0x48], 8
cmp esi, dword [ebx + 0x14]
jl 0x3d462b5
push 0xffffffffffffffff
xor ecx, ecx
mov cl, byte [ebx + 0x18]
push ecx
push 0x9e
mov eax, dword [ebp - 0x2c]
push eax
call fcn.03d19b34
add esp, 0x10
jmp 0x3d46421
cmp dword [ebp - 0x1c], 0
je 0x3d4631d
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x20], edx
jmp 0x3d46329
mov ecx, dword [ebx + 0x24]
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], eax
xor esi, esi
mov eax, dword [ebp - 0x20]
mov edx, eax
mov dword [ebp - 0x4c], edx
jmp 0x3d463a7
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x4c]
movsx edx, word [eax + 0x20]
mov ecx, dword [ecx]
cmp ecx, edx
jne 0x3d4634e
mov ecx, dword [ebp - 0x4c]
mov dword [ecx], 0xffffffff
mov eax, dword [ebp - 4]
cmp dword [eax + 0x16c], 0
je 0x3d463a2
cmp dword [ebp - 0x18], 0
je 0x3d4636c
mov edx, dword [ebp - 0x18]
mov ecx, dword [edx + 4]
mov ax, word [ecx + esi*2]
jmp 0x3d46373
mov edx, dword [ebp - 0x14]
mov ax, word [edx + 0x20]
movsx edx, ax
lea ecx, [edx + edx*2]
mov eax, dword [ebp - 0x14]
mov edx, dword [eax + 4]
mov eax, dword [edx + ecx*4]
mov edx, dword [ebp - 8]
push edx
push eax
mov ecx, dword [ebp - 0x14]
mov ecx, dword [ecx]
push ecx
push edi
call fcn.03d3a8f8
add esp, 0x10
cmp eax, 2
sete al
and eax, 1
mov dword [ebp - 0x28], eax
inc esi
add dword [ebp - 0x4c], 4
cmp esi, dword [ebx + 0x14]
jl 0x3d46335
inc dword [edi + 0x28]
cmp dword [ebp + 0x10], 0
je 0x3d463d9
mov edx, dword [ebp - 0x28]
push edx
push 0xffffffffffffffff
mov ecx, dword [ebp + 0x10]
push ecx
mov eax, dword [ebp - 0x20]
push eax
push ebx
mov edx, dword [ebp - 0x18]
push edx
mov ecx, dword [ebp - 0x14]
push ecx
mov eax, dword [ebp - 8]
push eax
push edi
call fcn.03d456d4
add esp, 0x24
cmp dword [ebp + 0x14], 0
je 0x3d46411
push ebx
push edi
call fcn.03d460fc
add esp, 8
test eax, eax
jne 0x3d46411
mov edx, dword [ebp - 0x28]
push edx
push 1
mov ecx, dword [ebp + 0x14]
push ecx
mov eax, dword [ebp - 0x20]
push eax
push ebx
mov edx, dword [ebp - 0x18]
push edx
mov ecx, dword [ebp - 0x14]
push ecx
mov eax, dword [ebp - 8]
push eax
push edi
call fcn.03d456d4
add esp, 0x24
mov edx, dword [ebp - 0x1c]
push edx
mov ecx, dword [ebp - 4]
push ecx
call fcn.03cf9e10
add esp, 8
mov ebx, dword [ebx + 4]
test ebx, ebx
jne 0x3d461ca
mov eax, dword [ebp + 0xc]
push eax
call fcn.03d45df8
pop ecx
mov ebx, eax
test ebx, ebx
je 0x3d465de
xor eax, eax
xor edx, edx
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x3c], edx
cmp dword [ebp + 0x18], 0
je 0x3d4646e
mov ecx, dword [ebp + 0x1c]
push ecx
mov ecx, dword [ebp + 0x18]
push ecx
push ebx
mov eax, dword [ebp + 0xc]
push eax
call fcn.03d46050
add esp, 0x10
test eax, eax
jne 0x3d4646e
jmp 0x3d465d3
cmp byte [ebx + 0x18], 0
jne 0x3d464a0
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x20]
mov edx, dword [edx + 0x24]
and eax, 0x80000
xor edx, edx
cmp edx, 0
jne 0x3d464a0
cmp eax, 0
jne 0x3d464a0
cmp dword [edi + 0x78], 0
jne 0x3d464a0
cmp byte [edi + 0x14], 0
jne 0x3d464a0
jmp 0x3d465d3
lea ecx, [ebp - 0x3c]
push ecx
lea eax, [ebp - 0x38]
push eax
push ebx
mov edx, dword [ebp + 0xc]
push edx
push edi
call fcn.03d4546c
add esp, 0x14
test eax, eax
je 0x3d464d6
cmp dword [ebp - 0x10], 0
je 0x3d465de
mov ecx, dword [ebp - 4]
cmp byte [ecx + 0x57], 0
je 0x3d465d3
jmp 0x3d465de
push 0
push 0
push 0
push edi
call fcn.03d401ec
add esp, 0x10
mov esi, eax
test esi, esi
je 0x3d465c3
lea eax, [esi + 8]
mov dword [ebp - 0x40], eax
mov edx, dword [ebp - 0x40]
mov ecx, dword [ebx]
mov dword [edx + 0x10], ecx
mov ecx, dword [ebx]
mov edx, dword [ebp - 0x40]
mov eax, dword [ecx]
mov dword [edx + 8], eax
mov ecx, dword [ebp - 0x40]
mov eax, dword [ecx + 0x10]
inc dword [eax + 0x18]
mov edx, dword [edi + 0x28]
inc dword [edi + 0x28]
mov eax, dword [ebp - 0x40]
mov dword [eax + 0x28], edx
cmp dword [ebp + 0x14], 0
je 0x3d4653f
push 0xffffffffffffffff
mov edx, dword [ebp + 0x14]
push edx
mov ecx, dword [ebp - 0x3c]
push ecx
push ebx
mov ecx, dword [ebp - 0x38]
push ecx
mov eax, dword [ebp + 0xc]
push eax
push esi
push edi
call fcn.03d45b74
add esp, 0x20
cmp dword [ebp + 0x10], 0
je 0x3d465ae
cmp dword [ebp + 0x18], 0
setne dl
and edx, 1
xor ecx, ecx
mov cl, byte [ebx + edx + 0x19]
mov dword [ebp - 0x44], ecx
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x24]
mov eax, dword [eax + 0x20]
xor eax, eax
and edx, 8
cmp edx, 0
jne 0x3d46571
cmp eax, 0
je 0x3d46578
xor ecx, ecx
mov dword [ebp - 0x44], ecx
push 1
mov eax, dword [ebp + 0x10]
push eax
mov edx, dword [ebp - 0x3c]
push edx
push ebx
mov ecx, dword [ebp - 0x38]
push ecx
mov eax, dword [ebp + 0xc]
push eax
push esi
push edi
call fcn.03d45b74
add esp, 0x20
cmp byte [ebx + 0x18], 0
jne 0x3d465ae
cmp dword [ebp - 0x44], 0xa
je 0x3d465ae
cmp dword [ebp - 0x44], 8
je 0x3d465ae
push edi
call fcn.03d40964
pop ecx
mov edx, dword [ebp - 0x40]
xor eax, eax
mov dword [edx + 8], eax
push esi
mov edx, dword [ebp - 4]
push edx
call fcn.03d40318
add esp, 8
mov ecx, dword [ebp - 0x3c]
push ecx
mov ecx, dword [ebp - 4]
push ecx
call fcn.03cf9e10
add esp, 8
mov ebx, dword [ebx + 0xc]
test ebx, ebx
jne 0x3d46440
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret