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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x894
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov edx, dword [ecx]
cmp dword [edx + 0x11d0c], 0
push ebx
sete cl
test cl, cl
push esi
push edi
mov byte [esp + 0x12], 0
mov dword [esp + 0x34], edx
mov byte [esp + 0x13], cl
jne 0x3d0c43
mov dword [esp + 0x3c], 0x3cf490
mov dword [esp + 0x60], 0x3cf720
jmp 0x3d0c53
mov dword [esp + 0x3c], 0x3f1d20
mov dword [esp + 0x60], 0x3f1d70
cmp byte [edx + 0x3c], 0
jne 0x3d1357
mov esi, dword [eax + 0x30]
mov ebx, dword [eax + 0x44]
mov edx, dword [eax + 0x40]
mov edi, dword [ebx + 0x75c]
mov dword [esp + 0x1c], esi
mov esi, dword [ebx + 4]
shr esi, 8
and esi, 1
test cl, cl
mov dword [esp + 0x14], edx
mov dword [esp + 0x7c], esi
mov dword [esp + 0x4c], edi
jne 0x3d0ca3
test byte [esp + 0x1e], 2
je 0x3d0ca3
mov ecx, dword [ebx + 0x7a8]
cmp ecx, dword [ebx + 0x7ac]
je 0x3d0ca3
mov byte [esp + 0x12], 1
mov ecx, dword [ebx + 0x7a8]
cmp ecx, dword [ebx + 0x7ac]
mov dword [esp + 0x40], ecx
jg 0x3d1313
lea edx, [edx + ecx*4 + 0x8ac]
mov dword [esp + 0x50], edx
lea edx, [ebx + ecx*4 + 0x8b4]
mov dword [esp + 0x20], edx
mov edx, 0x560
sub edx, edi
mov dword [esp + 0x78], edx
mov edx, 0x568
sub edx, edi
mov dword [esp + 0x70], edx
mov edx, dword [esp + 0x14]
lea esi, [esi + esi*4]
shl esi, 6
lea ecx, [edi + ecx*4 + 0x34c]
sub edx, ebx
mov dword [esp + 0x18], esi
mov dword [esp + 0x38], ecx
mov dword [esp + 0x5c], edx
jmp 0x3d0d10
mov ecx, dword [esp + 0x38]
mov esi, dword [esp + 0x18]
mov edi, edi
mov edx, dword [eax + 0x28]
mov eax, dword [eax + 0x2c]
mov dword [esp + 0x44], edx
mov edx, dword [ecx]
mov dword [esp + 0x48], eax
mov eax, dword [ecx - 8]
mov ecx, dword [esp + 0x20]
mov ecx, dword [ecx - 8]
lea esi, [esi + ecx + 0x88]
sub eax, 1
mov ecx, 0x22
lea edi, [esp + 0x388]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x4c]
mov ecx, eax
mov eax, dword [esp + 0x18]
imul ecx, ecx, 0x2b0
sub edx, 1
mov dword [esp + 0x64], ecx
imul edx, edx, 0x2b0
add ecx, eax
add ecx, esi
mov dword [esp + 0x54], ecx
lea esi, [ecx + 0x17f8]
mov ecx, 0x22
lea edi, [esp + 0x498]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x74], edx
add edx, eax
add ecx, edx
mov dword [esp + 0x58], ecx
lea esi, [ecx + 0x17f8]
mov ecx, 0x22
lea edi, [esp + 0x300]
rep movsd dword es:[edi], dword [esi]
test byte [ebx + 0x15], 1
je 0x3d0dc2
mov edx, dword [esp + 0x20]
mov ecx, dword [edx]
lea esi, [eax + ecx + 0x88]
mov ecx, 0x22
lea edi, [esp + 0x520]
rep movsd dword es:[edi], dword [esi]
jmp 0x3d0dc7
and dword [esp + 0x1c], 0xffffffdf
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x3d0e36
mov edx, dword [ecx + 0x6b0]
mov ecx, dword [ecx + edx*4 + 0x2b0]
mov edx, dword [ebp + 8]
mov edx, dword [edx + 0x40]
mov esi, dword [esp + 0x38]
mov dword [esp + 0x6c], ecx
mov ecx, dword [esp + 0x78]
add ecx, edx
mov ecx, dword [ecx + esi]
lea esi, [ecx + eax + 0x88]
mov ecx, 0x22
lea edi, [esp + 0x410]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x14]
test byte [ecx + 0x15], 1
je 0x3d0e45
mov ecx, dword [esp + 0x70]
add edx, ecx
mov ecx, dword [esp + 0x38]
mov edx, dword [edx + ecx]
lea esi, [edx + eax + 0x88]
mov ecx, 0x22
lea edi, [esp + 0x5a8]
rep movsd dword es:[edi], dword [esi]
jmp 0x3d0e45
mov eax, dword [esp + 0x1c]
and al, 0xef
or eax, 0x10000
mov dword [esp + 0x1c], eax
cmp byte [esp + 0x13], 0
je 0x3d0fd4
mov ecx, dword [ebx + 0x75c]
mov edx, dword [esp + 0x54]
mov eax, dword [ebp + 8]
push 0
push ecx
add edx, 0x17a0
push edx
push 0
push eax
lea ecx, [esp + 0x77c]
push ecx
call fcn.003b3780
mov esi, eax
mov eax, dword [esp + 0x70]
push 0
mov ecx, 0x19
lea edi, [esp + 0x17c]
rep movsd dword es:[edi], dword [esi]
mov edx, dword [ebx + 0x75c]
mov ecx, dword [ebp + 8]
push edx
add eax, 0x17a0
push eax
push 0
push ecx
lea edx, [esp + 0x864]
push edx
call fcn.003b3780
mov esi, eax
push 0
mov ecx, 0x19
lea edi, [esp + 0x12c]
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebx + 0x75c]
mov ecx, dword [esp + 0x54]
mov edx, dword [ecx - 8]
push eax
mov eax, dword [esp + 0x50]
lea ecx, [eax + edx + 0x30]
mov edx, dword [ebp + 8]
push ecx
push ebx
push edx
lea eax, [esp + 0x744]
push eax
call fcn.003b3780
mov edx, dword [esp + 0x68]
add esp, 0x48
mov esi, eax
push 0
mov ecx, 0x19
lea edi, [esp + 0x94]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebx + 0x75c]
mov eax, dword [edx]
push ecx
mov ecx, dword [esp + 0x20]
lea edx, [ecx + eax + 0x30]
mov eax, dword [ebp + 8]
push edx
push ebx
push eax
lea ecx, [esp + 0x7e4]
push ecx
call fcn.003b3780
add esp, 0x18
cmp dword [esp + 0x14], 0
mov ecx, 0x19
mov esi, eax
lea edi, [esp + 0x298]
rep movsd dword es:[edi], dword [esi]
je 0x3d0fd4
mov edx, dword [ebx + 0x75c]
mov eax, dword [esp + 0x50]
mov ecx, dword [eax]
push 0
push edx
mov edx, dword [esp + 0x20]
lea eax, [edx + ecx + 0x30]
mov ecx, dword [esp + 0x1c]
mov edx, dword [ebp + 8]
push eax
push ecx
push edx
lea eax, [esp + 0x6ac]
push eax
call fcn.003b3780
mov ecx, 0x19
mov esi, eax
lea edi, [esp + 0x1e0]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x2c]
add esp, 0x18
test byte [ecx + 0x15], 1
je 0x3d0fd4
mov edx, dword [ebx + 0x75c]
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x20]
push 0
push edx
mov edx, dword [eax + ecx]
mov eax, dword [esp + 0x20]
lea ecx, [edx + eax + 0x30]
mov edx, dword [esp + 0x1c]
mov eax, dword [ebp + 8]
push ecx
push edx
push eax
lea ecx, [esp + 0x644]
push ecx
call fcn.003b3780
mov ecx, 0x19
mov esi, eax
lea edi, [esp + 0x248]
add esp, 0x18
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x44]
test eax, eax
jbe 0x3d11de
mov edi, dword [esp + 0x1c]
and edi, 0x100
mov dword [esp + 0x68], edi
mov dword [esp + 0x44], eax
test edi, edi
je 0x3d1023
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 0x34]
mov eax, dword [esp + 0x48]
lea edx, [esp + 0x24]
call fcn.003cf220
test eax, eax
je 0x3d11ce
mov esi, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
jmp 0x3d1042
mov esi, dword [esp + 0x48]
mov eax, dword [esi]
mov dword [esp + 0x24], eax
mov ecx, dword [esi + 4]
mov dword [esp + 0x28], ecx
mov edx, dword [esi + 8]
mov dword [esp + 0x2c], edx
mov esi, dword [esi + 0xc]
mov dword [esp + 0x30], esi
add eax, dword [ebx + 0x278]
mov dword [esp + 0x24], eax
add ecx, dword [ebx + 0x27c]
mov dword [esp + 0x28], ecx
add edx, dword [ebx + 0x278]
mov dword [esp + 0x2c], edx
add esi, dword [ebx + 0x27c]
cmp dword [esp + 0x7c], 0
mov dword [esp + 0x30], esi
je 0x3d10b5
mov edi, dword [ebx + 0xec]
sar edi, 3
imul edi, eax
mov dword [esp + 0x24], edi
mov eax, dword [ebx + 0xec]
sar eax, 3
imul eax, edx
mov dword [esp + 0x2c], eax
mov edx, dword [ebx + 0xf0]
mov edi, dword [esp + 0x68]
sar edx, 3
imul edx, ecx
mov dword [esp + 0x28], edx
mov eax, dword [ebx + 0xf0]
sar eax, 3
imul eax, esi
mov dword [esp + 0x30], eax
mov ecx, dword [esp + 0x1c]
test cl, 0x10
je 0x3d1104
mov eax, dword [esp + 0x14]
test eax, eax
je 0x3d1104
test byte [eax + 0x15], 1
je 0x3d1104
lea ecx, [esp + 0x1c8]
push ecx
lea edx, [esp + 0x234]
push edx
lea eax, [esp + 0x2c]
push eax
mov ecx, eax
push ecx
mov ecx, dword [esp + 0x44]
lea edx, [esp + 0x420]
push edx
lea eax, [esp + 0x5bc]
push eax
push ecx
call dword [esp + 0x58]
mov ecx, dword [esp + 0x38]
add esp, 0x1c
test cl, 0x20
je 0x3d1141
lea edx, [esp + 0x90]
push edx
lea eax, [esp + 0x29c]
push eax
lea ecx, [esp + 0x2c]
push ecx
mov edx, ecx
push edx
mov edx, dword [esp + 0x44]
lea eax, [esp + 0x398]
push eax
lea ecx, [esp + 0x534]
push ecx
push edx
call dword [esp + 0x58]
mov ecx, dword [esp + 0x38]
add esp, 0x1c
test ecx, 0x10000
je 0x3d139b
cmp byte [esp + 0x12], 0
je 0x3d1362
mov eax, dword [esp + 0x38]
mov ecx, dword [eax + 0x754]
mov eax, dword [esp + 0x4c]
imul ecx, ecx, 0x2b0
lea edx, [ecx + eax + 0x14c0]
mov ecx, dword [esp + 0x40]
mov dword [esp + ecx*4 + 0x80], edx
mov edx, dword [esp + 0x64]
lea eax, [edx + eax + 0x1770]
mov dword [esp + ecx*4 + 0x88], eax
cmp byte [esp + 0x12], 0
je 0x3d11ce
mov edx, dword [esp + 0x40]
cmp edx, dword [ebx + 0x7ac]
jne 0x3d11ce
push 0
push 1
push 0
lea eax, [esp + 0x30]
push eax
mov eax, dword [esp + 0x44]
push 1
lea ecx, [esp + 0x9c]
push ecx
lea edx, [esp + 0x98]
push edx
push ebx
push eax
call fcn.003cfb80
add esp, 0x24
add dword [esp + 0x48], 0x10
sub dword [esp + 0x44], 1
jne 0x3d0ff2
cmp byte [esp + 0x13], 0
je 0x3d12e8
mov edx, dword [ebx + 0x75c]
mov eax, dword [esp + 0x54]
lea ecx, [esp + 0x160]
push ecx
mov ecx, dword [ebp + 8]
push edx
add eax, 0x17a0
push eax
push 0
push ecx
call fcn.003b3bf0
mov eax, dword [ebx + 0x75c]
mov ecx, dword [esp + 0x6c]
mov esi, dword [ebp + 8]
lea edx, [esp + 0x10c]
push edx
push eax
add ecx, 0x17a0
push ecx
push 0
push esi
call fcn.003b3bf0
mov eax, dword [ebx + 0x75c]
mov edi, dword [esp + 0x48]
mov ecx, dword [edi - 8]
lea edx, [esp + 0xb8]
push edx
mov edx, dword [esp + 0x44]
push eax
lea eax, [edx + ecx + 0x30]
push eax
push ebx
push esi
call fcn.003b3bf0
mov edx, dword [ebx + 0x75c]
mov eax, dword [edi]
lea ecx, [esp + 0x2d4]
push ecx
mov ecx, dword [esp + 0x58]
push edx
lea edx, [ecx + eax + 0x30]
push edx
push ebx
push esi
call fcn.003b3bf0
add esp, 0x50
cmp dword [esp + 0x14], 0
je 0x3d12e8
mov ecx, dword [ebx + 0x75c]
mov edx, dword [esp + 0x50]
mov esi, dword [esp + 0x14]
lea eax, [esp + 0x1c8]
push eax
mov eax, dword [edx]
push ecx
mov ecx, dword [esp + 0x20]
lea edx, [ecx + eax + 0x30]
mov eax, dword [ebp + 8]
push edx
push esi
push eax
call fcn.003b3bf0
add esp, 0x14
test byte [esi + 0x15], 1
je 0x3d12e8
mov edx, dword [ebx + 0x75c]
mov eax, dword [esp + 0x5c]
lea ecx, [esp + 0x230]
push ecx
push edx
mov ecx, edi
mov edx, dword [eax + ecx]
mov eax, dword [esp + 0x20]
lea ecx, [edx + eax + 0x30]
mov eax, dword [ebp + 8]
push ecx
mov edx, esi
push edx
push eax
call fcn.003b3bf0
add esp, 0x14
mov eax, dword [esp + 0x40]
mov ecx, 4
add dword [esp + 0x38], ecx
add dword [esp + 0x50], ecx
add dword [esp + 0x20], ecx
add eax, 1
cmp eax, dword [ebx + 0x7ac]
mov dword [esp + 0x40], eax
mov eax, dword [ebp + 8]
jle 0x3d0d06
cmp byte [esp + 0x13], 0
jne 0x3d1350
mov ecx, dword [eax]
cmp byte [ecx + 0x18], 0
jne 0x3d1345
mov edi, dword [ecx]
cmp byte [edi + 0x3d], 0
jne 0x3d1345
mov edx, edi
mov esi, dword [edx + 8]
mov edx, dword [edx + 0x40]
mov ebx, dword [esi + 0xc]
lea edx, [ebx + edx*4]
cmp dword [esi], edx
jne 0x3d1345
cmp dword [edi + 0x11c28], 0
jbe 0x3d1350
push 0
push ecx
call fcn.003c0490
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], 2
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 4
lea ecx, [esp + 0x160]
push ecx
lea edx, [esp + 0x94]
push edx
lea eax, [esp + 0x2c]
push eax
mov ecx, eax
push ecx
mov ecx, dword [esp + 0x44]
lea edx, [esp + 0x4a8]
push edx
lea eax, [esp + 0x39c]
push eax
push ecx
call dword [esp + 0x58]
add esp, 0x1c
jmp 0x3d11ce
test cl, 1
je 0x3d1190
lea edx, [esp + 0xf8]
push edx
lea eax, [esp + 0x94]
push eax
lea ecx, [esp + 0x2c]
push ecx
mov edx, ecx
push edx
mov edx, dword [esp + 0x44]
lea eax, [esp + 0x310]
push eax
lea ecx, [esp + 0x39c]
push ecx
push edx
call dword [esp + 0x58]
mov edx, dword [esp + 0x88]
mov esi, dword [esp + 0x50]
add esp, 0x1c
lea eax, [esp + 0xf8]
push eax
lea ecx, [esp + 0x1cc]
push ecx
mov ecx, dword [esp + 0x2c]
push edx
mov edx, dword [esp + 0x34]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x48]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x4c]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
lea eax, [esp + 0x31c]
push eax
lea ecx, [esp + 0x430]
push ecx
push esi
call dword [esp + 0x88]
add esp, 0x28
cmp byte [esp + 0x12], 0
je 0x3d1467
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x74]
mov eax, dword [esp + 0x40]
lea edx, [edx + ecx + 0x1770]
mov dword [esp + eax*4 + 0x80], edx
mov edx, dword [esp + 0x64]
lea ecx, [edx + ecx + 0x1770]
mov dword [esp + eax*4 + 0x88], ecx
jmp 0x3d1190
lea edx, [esp + 0x160]
push edx
lea eax, [esp + 0xfc]
push eax
lea ecx, [esp + 0x2c]
push ecx
mov edx, ecx
push edx
lea eax, [esp + 0x4a8]
push eax
lea ecx, [esp + 0x314]
push ecx
push esi
call dword [esp + 0x58]
add esp, 0x1c
jmp 0x3d11ce