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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x4c
mov ebp, dword [esp + 0x60]
mov eax, dword [ebp + 0x254]
mov edx, dword [eax + 0x10]
mov ecx, eax
mov dword [esp + 0x18], eax
mov eax, dword [eax + 0xc]
mov dword [esp + 0x24], edx
mov edx, dword [ebp + 0xc]
lea ebx, [eax + eax*4]
shl ebx, 0xb
add ebx, dword [ecx]
mov eax, dword [ebx + 0x20]
mov dword [eax + 0xc], edx
mov edx, dword [ebp + 0x38]
mov dword [eax + 0x38], edx
mov edx, dword [ebp + 0xf4]
mov dword [eax + 0xf4], edx
mov edx, dword [ebp + 0xf8]
mov dword [eax + 0xf8], edx
mov edx, dword [ebp + 0xac]
mov dword [eax + 0xac], edx
mov edx, dword [ebp + 0x170]
mov dword [eax + 0x170], edx
mov edx, dword [ebp + 0x188]
mov dword [eax + 0x188], edx
mov edx, dword [ebp + 0x18c]
mov dword [eax + 0x18c], edx
mov edx, dword [ebp + 0x204]
mov dword [eax + 0x204], edx
mov edx, dword [ebp + 0x23c]
mov dword [eax + 0x23c], edx
mov esi, dword [ebp + 0x2a4]
mov dword [eax + 0x2a4], esi
mov esi, dword [ebp + 0x2a8]
mov dword [eax + 0x2a8], esi
mov ecx, dword [ebp + 0x2ac]
mov dword [eax + 0x2ac], ecx
mov esi, dword [ebp + 0x328]
mov edx, dword [ebp + 0x4c]
mov edi, dword [ebp + 0x32c]
mov dword [eax + 0x328], esi
mov esi, dword [ebx]
mov dword [eax + 0x4c], edx
mov edx, dword [ebp + 0x3b8]
mov dword [eax + 0x32c], edi
mov dword [esp + 0x1c], esi
mov dword [eax + 0x3b8], edx
mov edx, dword [esi + 4]
mov esi, dword [esp + 0x6c]
mov eax, dword [ebx + 0x20]
mov dword [esp + 0x20], edx
mov edx, dword [ebx + 0x38]
mov ecx, dword [esi + 0x14]
mov eax, dword [eax + 0x78]
mov dword [esp + 0x3c], edx
test ecx, ecx
jne 0x810b55
test byte [eax + 0x20], 0x20
je 0x810d46
lea eax, [ebx + 0x18]
mov dword [esp + 0x28], eax
mov dword [esp], eax
call fcn.01083330
mov edx, dword [ebx + 0x26c8]
mov eax, dword [ebx]
test edx, edx
jle 0x810bfc
lea esi, [eax + 8]
mov dword [esp], esi
call fcn.01083330
mov eax, dword [ebx + 0x26c8]
sub eax, 1
mov dword [ebx + 0x26c8], eax
lea eax, [eax + eax*8]
shl eax, 5
lea edx, [ebx + eax + 0x1a8]
mov eax, dword [edx + 0xe8]
mov ecx, dword [eax + 0x254]
mov eax, dword [edx + 0xec]
lea edi, [ecx + 0x26cc]
sub eax, edi
sar eax, 2
mov edi, eax
shr edi, 0x1f
add eax, edi
sar eax, 1
mov byte [ecx + eax + 0x27d4], 0
mov eax, dword [edx + 0xe8]
mov dword [edx + 0xec], 0
mov dword [esp + 4], edx
mov dword [esp], eax
call dword [eax + 0xf8]
mov dword [esp], esi
call fcn.01082fa0
mov eax, dword [ebx + 0x26c8]
test eax, eax
jg 0x810b77
mov eax, dword [esp + 0x20]
test eax, eax
je 0x810c30
mov edx, dword [esp + 0x20]
cmp dword [edx + 0x1a0], 1
je 0x810f59
mov esi, dword [esp + 0x20]
xor ecx, ecx
mov eax, dword [ebx + 0x20]
mov edx, dword [esi + 0x20]
call fcn.0080ffe0
test eax, eax
mov esi, eax
jne 0x810f43
mov esi, dword [esp + 0x6c]
lea edi, [ebx + 0x28]
mov eax, dword [esi + 0x14]
add eax, 0x10
mov dword [esp + 8], eax
lea eax, [ebx + 0x70]
mov dword [esp + 4], eax
lea eax, [esp + 0x3c]
mov dword [esp], eax
call fcn.00535690
mov esi, dword [esp + 0x6c]
mov ecx, 0x12
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x6c]
mov eax, dword [esp + 0x3c]
mov edx, dword [esi + 0x14]
mov dword [ebx + 0x38], eax
mov ecx, dword [esi + 0x10]
mov dword [esp], eax
mov dword [esp + 8], edx
mov dword [esp + 4], ecx
call sub.msvcrt.dll_memcpy
mov eax, dword [esp + 0x3c]
add eax, dword [esi + 0x14]
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
lea eax, [ebx + 0xc]
mov dword [ebx + 0x1a0], 1
mov dword [esp], eax
call fcn.010843b0
mov eax, dword [esp + 0x28]
mov dword [esp], eax
call fcn.01082fa0
mov eax, dword [ebx + 0x20]
mov edi, dword [eax + 0x3b8]
test edi, edi
jne 0x810d3b
cmp dword [eax + 0xf4], fcn.0053a360
je 0x810d3b
mov eax, dword [ebx + 0x1a0]
test eax, eax
je 0x810d3b
cmp eax, 3
je 0x810d3b
lea esi, [ebx + 0x1c]
lea edi, [ebx + 0x10]
mov dword [esp], esi
call fcn.01083330
mov eax, dword [ebx + 0x1a0]
cmp eax, 1
jne 0x810d1b
mov dword [esp + 4], esi
mov dword [esp], edi
call fcn.01084120
mov eax, dword [ebx + 0x1a0]
cmp eax, 1
je 0x810d04
cmp eax, 2
je 0x810f10
mov dword [esp], esi
call fcn.01082fa0
mov eax, dword [ebx + 0x1a0]
test eax, eax
je 0x810d3b
cmp eax, 3
jne 0x810cf1
mov edx, dword [esp + 0x1c]
add dword [edx + 0xc], 1
mov dword [edx + 4], ebx
mov ecx, dword [esp + 0x18]
mov esi, dword [ecx + 0x14]
test esi, esi
jne 0x810e81
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x18]
jmp 0x810e0b
mov edi, dword [esp + 0x64]
lea esi, [ebx + 0x78]
mov ecx, 0x48
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebx + 0x198]
mov esi, dword [esp + 0x68]
mov edi, dword [ebx + 0x34]
mov ecx, dword [esp + 0x64]
mov dword [esi], eax
mov esi, dword [ebx + 0x30]
mov eax, dword [esp + 0x64]
cmp edx, dword [ebp + 0x24c]
mov dword [eax + 0xe0], esi
mov esi, dword [ebp + 0x17c]
mov dword [eax + 0xe4], edi
mov edi, dword [ebp + 0x180]
mov dword [eax + 0xf8], esi
mov esi, 0
mov dword [eax + 0xfc], edi
mov eax, dword [ebp + 0x28]
cmovge edx, esi
mov esi, dword [esp + 0x6c]
mov dword [ecx + 0x100], eax
mov eax, dword [ebp + 0x2c]
mov dword [ecx + 0x104], eax
mov eax, dword [ebp + 0x34]
mov dword [ecx + 0x108], eax
mov eax, dword [esi + 0x14]
mov dword [ebx + 0x198], 0
test eax, eax
jne 0x810ec0
mov eax, dword [esp + 0x68]
mov eax, dword [eax]
test eax, eax
jne 0x810ec0
mov ecx, dword [esp + 0x18]
cmp dword [ecx + 0x10], edx
je 0x810ec0
lea ebx, [edx + edx*4]
add edx, 1
shl ebx, 0xb
add ebx, dword [ecx]
mov ecx, dword [ebx + 0x1a0]
test ecx, ecx
je 0x810d62
lea esi, [ebx + 0x1c]
mov dword [esp + 0x14], edx
mov dword [esp], esi
call fcn.01083330
mov edx, dword [ebx + 0x1a0]
test edx, edx
mov edx, dword [esp + 0x14]
je 0x810e6c
mov dword [esp + 0x1c], ebp
lea edi, [ebx + 0x14]
mov ebp, edx
lea esi, [esi]
mov dword [esp + 4], esi
mov dword [esp], edi
call fcn.01084120
mov eax, dword [ebx + 0x1a0]
test eax, eax
jne 0x810e50
mov edx, ebp
mov ebp, dword [esp + 0x1c]
mov dword [esp + 0x14], edx
mov dword [esp], esi
call fcn.01082fa0
mov edx, dword [esp + 0x14]
jmp 0x810d62
mov esi, dword [esp + 0x6c]
mov ebx, dword [esi + 0x14]
test ebx, ebx
je 0x810d55
mov eax, dword [ebp + 0x24c]
sub eax, 1
cmp dword [ecx + 0xc], eax
jl 0x810ea5
mov dword [ecx + 0x14], 0
mov eax, dword [esp + 0x68]
mov edx, dword [esp + 0x6c]
mov dword [eax], 0
mov esi, dword [edx + 0x14]
add esp, 0x4c
pop ebx
mov eax, esi
pop esi
pop edi
pop ebp
ret
mov dword [esp + 0x24], edx
mov edx, dword [ebx + 0x20]
mov ecx, 1
mov eax, ebp
call fcn.0080ffe0
mov esi, dword [esp + 0x18]
mov eax, dword [ebp + 0x24c]
cmp dword [esi + 0xc], eax
jl 0x810ee9
mov dword [esi + 0xc], 0
mov esi, dword [ebx + 0x19c]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x18]
test esi, esi
mov dword [edx + 0x10], ecx
js 0x810f05
mov eax, dword [esp + 0x6c]
mov esi, dword [eax + 0x14]
add esp, 0x4c
mov eax, esi
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [ebx + 0x20]
mov edx, dword [ebx + 0x27f8]
mov dword [esp], eax
mov dword [esp + 4], edx
call dword [eax + 0xf4]
mov dword [ebx + 0x1a0], 1
mov dword [ebx + 0x19c], eax
mov dword [esp], edi
call fcn.010843b0
jmp 0x810d24
mov eax, dword [esp + 0x28]
mov dword [esp], eax
call fcn.01082fa0
add esp, 0x4c
mov eax, esi
pop ebx
pop esi
pop edi
pop ebp
ret
mov esi, edx
add esi, 0x1c
mov dword [esp], esi
call fcn.01083330
mov ecx, dword [esp + 0x20]
cmp dword [ecx + 0x1a0], 1
jne 0x810f9b
lea edi, [ecx + 0x10]
mov dword [esp + 0x2c], ebp
mov ebp, ebx
mov ebx, edi
mov edi, ecx
mov dword [esp + 4], esi
mov dword [esp], ebx
call fcn.01084120
cmp dword [edi + 0x1a0], 1
je 0x810f80
mov ebx, ebp
mov ebp, dword [esp + 0x2c]
mov dword [esp], esi
call fcn.01082fa0
jmp 0x810c15