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

Disassembly:
sub esp, 0x68
mov eax, dword [ebx]
mov eax, dword [eax]
cmp dword [eax + 0x12430], 0
push ebp
mov ebp, dword [ebx + 4]
push esi
push edi
mov edi, dword [ebx + 8]
mov dword [esp + 0x40], eax
mov dword [esp + 0x20], 0x3dc130
je 0x3dd1ad
mov dword [esp + 0x20], 0x3dc7a0
mov ecx, dword [ebx + 0x38]
mov edx, dword [ebx + 0x40]
mov eax, dword [ebx + 0x3c]
mov esi, dword [ebp + 0x284]
add edx, ecx
mov dword [esp + 0x5c], edx
mov edx, dword [ebx + 0x44]
add edx, eax
mov dword [esp + 0x60], edx
mov edx, dword [ebp + 0x280]
mov dword [esp + 0x48], esi
mov esi, dword [ebp + 0x288]
add esi, edx
mov dword [esp + 0x44], edx
mov edx, dword [ebp + 0x28c]
add edx, dword [ebp + 0x284]
mov dword [esp + 0x4c], esi
mov esi, dword [edi + 0x284]
mov dword [esp + 0x50], edx
mov edx, dword [edi + 0x280]
mov dword [esp + 0x68], esi
mov esi, dword [edi + 0x288]
add esi, edx
mov dword [esp + 0x6c], esi
mov esi, dword [ebx + 0x30]
mov dword [esp + 0x54], ecx
sub esi, ecx
mov ecx, dword [ebx + 0x34]
mov dword [esp + 0x64], edx
mov edx, dword [edi + 0x28c]
add edx, dword [edi + 0x284]
sub ecx, eax
mov dword [esp + 0x3c], ecx
lea ecx, [esp + 0x54]
mov dword [esp + 0x58], eax
mov dword [esp + 0x70], edx
lea eax, [esp + 0x44]
mov edx, ecx
call fcn.003dbd20
test eax, eax
je 0x3dd4a5
mov ecx, dword [esp + 0x58]
mov eax, dword [esp + 0x3c]
add eax, ecx
mov ecx, dword [esp + 0x54]
lea edx, [ecx + esi]
mov dword [esp + 0x28], edx
mov dword [esp + 0x44], edx
mov edx, dword [esp + 0x5c]
sub edx, ecx
mov ecx, dword [esp + 0x60]
sub ecx, dword [esp + 0x58]
add edx, dword [esp + 0x28]
add ecx, eax
mov dword [esp + 0x50], ecx
lea ecx, [esp + 0x44]
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], edx
lea eax, [esp + 0x64]
mov edx, ecx
call fcn.003dbd20
test eax, eax
je 0x3dd4a5
mov eax, dword [esp + 0x44]
mov edx, dword [ebx + 0x50]
mov cl, byte [ebx + 0x48]
sub eax, esi
mov esi, dword [esp + 0x48]
sub esi, dword [esp + 0x3c]
test byte [edi + 9], 1
mov dword [esp + 0x54], eax
mov eax, dword [ebx + 0x4c]
mov dword [esp + 0x58], esi
mov dword [esp + 0x24], eax
mov dword [esp + 0x14], edx
mov byte [esp + 0xc], cl
je 0x3dd2da
call fcn.003dbff0
jmp 0x3dd2e9
mov ecx, dword [esp + 0xc]
push ecx
mov edx, edi
call fcn.003dbe80
add esp, 4
cmp byte [esp + 0xc], 0
mov dword [esp + 0x1c], eax
je 0x3dd35a
mov ecx, dword [edi + 0xe8]
mov edi, dword [edi + 0xe4]
mov eax, dword [esp + 0x4c]
imul eax, edi
sar eax, 3
mov dword [esp + 0x4c], eax
mov eax, ecx
imul eax, dword [esp + 0x48]
mov edx, edi
imul edx, dword [esp + 0x44]
sar eax, 3
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x50]
sar edx, 3
imul eax, ecx
mov ecx, dword [ebp + 0xe4]
imul ecx, dword [esp + 0x54]
mov dword [esp + 0x44], edx
mov edx, dword [ebp + 0xe8]
imul edx, esi
sar eax, 3
sar ecx, 3
sar edx, 3
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], edx
mov ecx, dword [esp + 0x14]
mov esi, dword [esp + 0x24]
test esi, ecx
mov edx, 1
je 0x3dd37a
cmp ecx, esi
je 0x3dd37a
mov eax, esi
not eax
and ecx, eax
mov edx, 2
test edx, edx
mov eax, dword [ebx + 0x10]
lea edi, [eax + 0x10]
mov eax, dword [eax]
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], eax
jle 0x3dd4a5
mov dword [esp + 0x28], edx
jmp 0x3dd3a0
mov ecx, dword [esp + 0x14]
lea esp, [esp]
test ecx, ecx
mov eax, 1
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], eax
je 0x3dd496
test ecx, eax
je 0x3dd484
mov ecx, dword [ebp + 0x75c]
test byte [ecx + 0x103b0], 1
je 0x3dd3df
test byte [ebp + 9], 1
je 0x3dd3df
mov cl, byte [esp + 0xc]
mov edi, ebp
call fcn.003dbff0
jmp 0x3dd3ee
mov edx, dword [esp + 0xc]
push edx
mov edx, ebp
call fcn.003dbe80
add esp, 4
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x10]
push ebp
lea esi, [ebx + 0x58]
push ebx
lea ecx, [esp + 0x3c]
lea edi, [esp + 0x40]
call fcn.003dc060
mov eax, dword [ebp + 0xe0]
mov ecx, dword [ebp + 0xdc]
mov edx, dword [esp + 0x14]
push eax
mov eax, dword [esp + 0x38]
push ecx
mov ecx, dword [esp + 0x40]
push edx
mov edx, dword [esp + 0x48]
push eax
mov eax, dword [esp + 0x50]
push ecx
mov ecx, dword [ebx + 0x54]
push edx
mov edx, dword [esp + 0x78]
push eax
mov eax, dword [esp + 0x78]
push ecx
mov ecx, dword [esp + 0x70]
push edx
mov edx, dword [esp + 0x7c]
push eax
mov eax, dword [esp + 0x74]
push ecx
push eax
sub edx, ecx
mov ecx, dword [esp + 0x84]
push edx
mov edx, dword [esp + 0x54]
sub ecx, eax
mov eax, dword [esp + 0x58]
push ecx
mov ecx, dword [esp + 0x80]
push edx
push eax
push ebp
push ecx
call dword [esp + 0x70]
mov edx, dword [esp + 0x60]
mov eax, dword [esp + 0x60]
not edx
add esp, 0x50
and dword [esp + 0x14], edx
mov ecx, dword [esp + 0x14]
add eax, eax
test ecx, ecx
mov dword [esp + 0x10], eax
jne 0x3dd3b5
mov esi, dword [esp + 0x24]
sub dword [esp + 0x28], 1
mov dword [esp + 0x14], esi
jne 0x3dd398
pop edi
pop esi
pop ebp
add esp, 0x68
ret