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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x2b0
mov eax, dword [0xbd33e0]
mov ebx, ecx
xor eax, ebp
mov dword [esp + 0x2a8], eax
mov esi, dword [ebx + 4]
mov ecx, dword [ecx]
mov edi, dword [ebx + 0xc]
mov eax, dword [esi + 0xc]
mov dword [esp + 0x28], esi
mov esi, dword [esi + 0x14]
mov dword [esp + 0x10c], 0
mov dword [esp + 0x108], 0
mov dword [esp + 0x104], 0
mov dword [esp + 0x100], 0
mov dword [esp + 0xfc], 0
mov dword [esp + 0xf8], 0
mov dword [esp + 0xf4], 0
mov dword [esp + 0xf0], 0
mov dword [esp + 0xec], 0
mov dword [esp + 0xe8], 0
mov dword [esp + 0xe4], 0
mov dword [esp + 0xe0], 0
mov dword [esp + 0xdc], 0
mov dword [esp + 0xd8], 0
test eax, eax
jle 0x825234
mov dword [esp + 0x18], edx
movzx edx, byte [edi + 0x10]
mov ecx, dword [ecx + 4]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], edi
mov dword [esp + 0x20], ebx
lea edx, [edx + edx*8]
mov eax, dword [ecx + edx*8 + 0x34]
mov dword [esp + 0x30], eax
lea eax, [ecx + edx*8 + 0x18]
lea ecx, [edi + 0x18]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x24], ecx
lea eax, [eax + eax*2]
shl eax, 4
add eax, esi
mov dword [esp + 0x2c], eax
test byte [esi + 0xd], 2
mov dword [esp + 8], esi
je 0x825223
mov eax, dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ecx, dword [edx + 8]
mov eax, dword [eax + 0x1c]
mov edx, dword [edx + 0xc]
and edx, dword [eax + 0x19c]
and ecx, dword [eax + 0x198]
or ecx, edx
je 0x825223
mov ecx, dword [eax + 0xc]
mov edi, dword [ebp + 8]
mov dword [esp + 0x1c], 0
lea esi, [ecx + ecx*2]
mov ecx, dword [ebx + 8]
shl esi, 4
add esi, dword [eax + 0x14]
mov dword [esp + 0x54], ecx
mov ecx, dword [ebx + 0x10]
mov dword [esp + 0x38], esi
mov dword [esp + 0x5c], ecx
mov ecx, dword [ebx + 0x18]
mov dword [esp + 0x64], ecx
mov ecx, dword [ebx + 0x14]
mov dword [esp + 0x60], ecx
mov ecx, dword [ebx + 0xc]
mov dword [esp + 0x58], ecx
mov edx, dword [ebx + 4]
mov ecx, dword [ebx]
mov ebx, 1
mov dword [esp + 0x50], edx
lea edx, [esp + 0xa0]
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x54], 0
mov dword [esp + 0x5c], edx
mov eax, dword [eax + 0x14]
cmp eax, esi
mov esi, dword [esp + 0x18]
jae 0x82518b
test byte [eax + 0xd], 4
mov dword [esp + 4], eax
je 0x824fa8
mov eax, dword [eax + 0x1c]
jmp 0x824ff4
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 4]
cmp dword [ecx + 0x14], eax
mov eax, dword [esp + 4]
jne 0x82517e
mov ecx, dword [esp + 0x28]
mov edx, eax
mov eax, dword [ecx]
mov dword [esp + 0x110], eax
lea eax, [esp + 0x110]
mov dword [esp + 0x114], ecx
mov byte [esp + 0x118], 0x2c
mov dword [esp + 0x11c], 1
mov dword [esp + 0x124], edx
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x34]
mov word [esp + 0xa0], 0
mov eax, dword [eax]
cmp dword [eax + 0x38], 0
je 0x825025
lea ecx, [esp + 0x4c]
mov edx, esi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edi
call fcn.00824410
add esp, 0xc
jmp 0x825034
lea ecx, [esp + 0x4c]
mov edx, esi
push edi
call fcn.008247e0
add esp, 4
test eax, eax
lea edx, [esp + 0xd8]
jne 0x82505b
mov edx, esi
lea ecx, [esp + 0x4c]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edi
call fcn.00824de0
lea edx, [esp + 0xe4]
add esp, 0xc
cmp word [esp + 0xa0], 0
mov dword [esp + 0x1c], eax
jne 0x825079
mov word [esp + 0xd8], 0
jmp 0x82518b
test ebx, ebx
je 0x825092
mov ecx, edx
lea edx, [esp + 0xa0]
call fcn.008274d0
xor ebx, ebx
jmp 0x82517a
lea ecx, [esp + 0x68]
call fcn.008274d0
movzx eax, word [esp + 0x68]
mov word [esp + 0xd8], 0
test eax, eax
mov dword [esp + 0x3c], eax
jne 0x8250b9
xor ebx, ebx
jmp 0x82517a
movzx eax, word [esp + 0xa0]
xor ecx, ecx
xor edi, edi
test ax, ax
jne 0x8250d1
xor eax, eax
jmp 0x825166
mov eax, ecx
mov dword [esp + 0x40], ecx
shl eax, 4
movzx ecx, word [esp + eax + 0x7a]
movzx esi, word [esp + eax + 0x78]
mov edx, dword [esp + eax + 0x70]
mov eax, dword [esp + eax + 0x74]
mov word [esp + 0x10], cx
mov word [esp + 0x16], si
mov dword [esp + 0x48], edx
mov dword [esp + 0x44], eax
mov esi, edi
movsx ecx, word [esp + 0x10]
shl esi, 4
movsx edx, word [esp + esi + 0xb2]
call fcn.0081c060
movsx edx, word [esp + esi + 0xb0]
movsx ecx, word [esp + 0x16]
mov ebx, eax
call fcn.0081c060
mov edx, dword [esp + esi + 0xa8]
mov esi, dword [esp + esi + 0xac]
movsx ebx, bx
cwde
lea ecx, [esp + 0xd8]
or edx, dword [esp + 0x48]
or esi, dword [esp + 0x44]
push ebx
push eax
push esi
call fcn.00826360
add esp, 0xc
movzx eax, word [esp + 0xa0]
inc edi
cmp edi, eax
jb 0x8250fe
mov ecx, dword [esp + 0x40]
inc ecx
cmp ecx, dword [esp + 0x3c]
jne 0x8250c3
mov esi, dword [esp + 0x18]
mov edi, dword [ebp + 8]
xor ebx, ebx
mov eax, dword [esp + 4]
add eax, 0x30
cmp eax, dword [esp + 0x38]
jb 0x824f99
mov edx, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov word [edx + 0x28], 1
mov eax, dword [edx + 0x30]
mov dword [eax], ecx
mov eax, dword [esp + 0x24]
mov dword [edx + 0x24], 0x2000
mov word [edx + 0x12], 0
mov byte [edx + 0x11], 0
mov dword [eax + 8], 0
mov dword [eax + 4], 0
mov dword [eax], 0
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x825236
movzx esi, word [esp + 0xd8]
mov ebx, dword [esp + 0x20]
xor edi, edi
cmp edi, esi
jae 0x825223
mov eax, edi
mov edx, dword [esp + 0xc]
shl eax, 4
mov ecx, dword [esp + eax + 0xe8]
inc ecx
mov word [edx + 0x14], cx
movzx ecx, word [esp + eax + 0xea]
mov word [edx + 0x16], cx
mov ecx, dword [esp + eax + 0xe0]
mov eax, dword [esp + eax + 0xe4]
mov dword [edx], ecx
mov ecx, ebx
mov dword [edx + 4], eax
call fcn.008261c0
inc edi
test eax, eax
je 0x8251dd
jmp 0x825236
mov esi, dword [esp + 8]
add esi, 0x30
cmp esi, dword [esp + 0x2c]
jb 0x824ef4
xor eax, eax
mov ecx, dword [esp + 0x2a8]
mov esi, eax
xor ecx, ebp
call fcn.00989fe9
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret