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

Disassembly:
sub esp, 0xcc
push ebx
mov ebx, eax
push esi
mov esi, dword [esp + 0xd8]
mov eax, dword [esi + 0x1088]
lea eax, [eax + eax*8]
shl eax, 4
xor edx, edx
cmp dword [esi + 0xc0], 1
lea eax, [eax + esi + 0x148]
mov dword [esp + 0x28], edx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x2c], eax
je 0x24b166
cmp dword [esi + 0x12c], edx
je 0x24b166
and dword [eax], 0xfffffffb
pop esi
mov eax, 0x80070057
pop ebx
add esp, 0xcc
ret 8
mov dword [esi + 0x12c], edx
mov edx, dword [ebx + 0xc]
push ebp
lea ecx, [ecx + ecx*4]
mov eax, dword [edx + ecx*4 + 4]
push edi
lea edi, [edx + ecx*4]
call fcn.001103d0
mov ebp, eax
test ebp, ebp
je 0x24b1a5
mov eax, dword [esp + 0xe4]
mov ecx, dword [ebx + 0xc]
add ebp, dword [edi + 8]
lea eax, [eax + eax*4]
lea ebx, [ecx + eax*4]
mov eax, dword [ebx + 4]
call fcn.001103d0
test eax, eax
jne 0x24b1b7
pop edi
pop ebp
pop esi
mov eax, 0x80004005
pop ebx
add esp, 0xcc
ret 8
add eax, dword [ebx + 8]
mov edx, dword [edi + 0xc]
mov dword [esp + 0x7c], eax
mov eax, 0x14
cmp dword [esi + 0x108], eax
mov dword [esp + 0x2c], edx
jb 0x24b1dc
mov dword [esi + 0x108], 0
cmp dword [esi + 0x10c], eax
jb 0x24b1ee
mov dword [esi + 0x10c], 0
mov eax, dword [esi + 0xcc]
mov ecx, dword [esi + 0xbc]
mov edx, dword [esi + 0x144]
mov edi, dword [esi + 0xc4]
mov dword [esp + 0x80], eax
mov eax, dword [esi + 0x140]
mov dword [esp + 0x90], eax
shr eax, 1
cmp ecx, 3
mov dword [esp + 0x1c], eax
mov dword [esp + 0x9c], eax
lea eax, [esi + 0xe08]
mov dword [esp + 0xa8], eax
mov eax, dword [esi + 0xc0]
mov dword [esp + 0x84], ecx
mov dword [esp + 0x8c], 1
mov dword [esp + 0x94], edx
mov dword [esp + 0x98], edi
mov dword [esp + 0x88], eax
jne 0x24b2c0
mov edi, dword [esp + 0x34]
mov ebx, dword [edi]
test bl, 1
je 0x24b2ab
cmp eax, 1
je 0x24b28c
mov ecx, dword [esi + 0x108]
lea ecx, [ecx + ecx*8]
shl ecx, 4
test byte [ecx + esi + 0x148], 1
je 0x24b2ab
cmp eax, 3
jne 0x24b320
mov ecx, dword [esi + 0x10c]
lea ecx, [ecx + ecx*8]
shl ecx, 4
test byte [ecx + esi + 0x148], 1
jne 0x24b320
and ebx, 0xfffffffb
mov dword [edi], ebx
pop edi
pop ebp
pop esi
or eax, 0xffffffff
pop ebx
add esp, 0xcc
ret 8
mov ebx, dword [esp + 0x34]
cmp ecx, 1
mov ecx, dword [ebx]
jne 0x24b300
test cl, 1
je 0x24b2eb
cmp eax, 1
je 0x24b320
mov edi, dword [esi + 0x108]
lea edi, [edi + edi*8]
shl edi, 4
test byte [edi + esi + 0x148], 1
jne 0x24b320
pop edi
pop ebp
and ecx, 0xfffffffb
pop esi
mov dword [ebx], ecx
or eax, 0xffffffff
pop ebx
add esp, 0xcc
ret 8
test cl, 1
je 0x24b2eb
cmp eax, 3
jne 0x24b320
mov edi, dword [esi + 0x10c]
lea edi, [edi + edi*8]
shl edi, 4
test byte [edi + esi + 0x148], 1
je 0x24b2eb
imul edx, dword [esi + 0x140]
mov ecx, edx
shr ecx, 2
cmp eax, 1
je 0x24b389
mov edi, dword [esi + 0x108]
lea edi, [edi + edi*8]
shl edi, 4
mov ebx, dword [edi + esi + 0x14c]
mov edi, dword [esi + 0x10c]
lea edi, [edi + edi*8]
shl edi, 4
mov edi, dword [edi + esi + 0x14c]
mov dword [esp + 0xb8], ebx
add ebx, edx
mov dword [esp + 0xac], edi
add edi, edx
mov dword [esp + 0xbc], ebx
add ebx, ecx
mov dword [esp + 0xb0], edi
add edi, ecx
mov dword [esp + 0xc0], ebx
mov dword [esp + 0xb4], edi
mov edi, dword [esp + 0x34]
mov edi, dword [edi + 4]
add edx, edi
add ecx, edx
cmp dword [esp + 0x84], 2
mov dword [esp + 0xc4], edi
mov dword [esp + 0xc8], edx
mov dword [esp + 0xcc], ecx
jne 0x24b3d4
mov ecx, dword [esp + 0x1c]
add edi, dword [esi + 0x140]
add edx, ecx
add dword [esp + 0xcc], ecx
mov dword [esp + 0xc4], edi
mov dword [esp + 0xc8], edx
mov esi, dword [esi + 0x1090]
cmp esi, 1
jne 0x24b612
cmp dword [esp + 0x2c], 0
jbe 0x24ba75
jmp 0x24b400
mov eax, dword [esp + 0x88]
jmp 0x24b400
movzx edx, word [ebp]
mov dword [esp + 0x14], edx
mov dx, word [ebp + 2]
movzx ecx, dx
mov esi, ecx
shr esi, 0xf
mov dword [esp + 0x58], esi
mov esi, ecx
shr esi, 0xe
and esi, 1
mov dword [esp + 0x54], esi
mov esi, ecx
shr esi, 0xd
and esi, 1
mov dword [esp + 0x50], esi
mov esi, ecx
shr esi, 0xc
shr ecx, 8
and esi, 1
and ecx, 3
test dl, 1
mov dword [esp + 0x4c], esi
mov dword [esp + 0x18], ecx
mov dword [esp + 0x10], 0
je 0x24b45b
mov dword [esp + 0x10], 1
mov dx, word [ebp + 2]
test dl, 2
je 0x24b469
or dword [esp + 0x10], 8
test dl, 4
je 0x24b473
or dword [esp + 0x10], 4
shr edx, 5
and edx, 1
test byte [esp + 0x10], 1
mov dword [esp + 0x28], edx
jne 0x24b4ed
cmp dword [esp + 0x18], 3
movsx ecx, word [ebp + 0x12]
movsx edx, word [ebp + 0x10]
movsx edi, word [ebp + 0x14]
movsx ebx, word [ebp + 0x1c]
movsx esi, word [ebp + 0x1e]
mov dword [esp + 0x60], ecx
movsx ecx, word [ebp + 0x18]
mov dword [esp + 0x5c], edx
movsx edx, word [ebp + 0x16]
mov dword [esp + 0x6c], ecx
movsx ecx, word [ebp + 0x1a]
mov dword [esp + 0x64], edi
mov dword [esp + 0x68], edx
mov dword [esp + 0x70], ecx
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], esi
jne 0x24b4ed
cmp dword [esp + 0x84], 3
mov dword [esp + 0x3c], edi
jne 0x24b4e9
sar edx, 1
sar esi, 1
mov dword [esp + 0x60], ecx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], esi
mov dword [esp + 0x40], edx
mov ecx, dword [ebp + 4]
mov edx, dword [esp + 0xe0]
mov edx, dword [esp + 0x7c]
sub eax, 1
neg eax
sbb eax, eax
and eax, 0x10
add eax, 0x10
mov dword [esp + 0x20], eax
movzx eax, word [ebp + 8]
shr eax, 6
and ecx, 0xffffff
mov dword [esp + 0xa4], eax
lea eax, [edx + ecx*4]
mov edx, dword [esp + 0x28]
lea ecx, [esp + 0x80]
push ecx
push eax
push edx
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x30]
push eax
lea ecx, [esp + 0x4c]
push ecx
mov ecx, dword [esp + 0x2c]
lea edx, [esp + 0x60]
push edx
mov edx, dword [esp + 0x28]
lea eax, [esp + 0x74]
push eax
mov eax, dword [esp + 0x30]
push ecx
push edx
call fcn.0024bbc0
movzx eax, byte [ebp + 7]
test eax, eax
jle 0x24b5db
mov dword [esp + 0x1c], eax
jmp 0x24b570
add dword [esp + 0x14], 1
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0xd8]
push edx
lea eax, [esp + 0x8c]
lea esi, [esp + 0x58]
lea ebx, [esp + 0x24]
lea edi, [esp + 0x68]
call fcn.0024be00
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x28]
lea eax, [esp + 0x80]
push eax
mov eax, dword [esp + 0x28]
push ecx
push edx
push eax
lea ecx, [esp + 0x4c]
push ecx
mov ecx, dword [esp + 0x2c]
mov edx, esi
push edx
mov edx, dword [esp + 0x28]
mov eax, edi
push eax
mov eax, dword [esp + 0x30]
push ecx
push edx
call fcn.0024bbc0
sub dword [esp + 0x1c], 1
jne 0x24b570
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x30]
add eax, ecx
add ebp, ecx
cmp eax, dword [esp + 0x2c]
mov dword [esp + 0x30], eax
jb 0x24b3f0
mov eax, dword [esp + 0x34]
mov ecx, dword [eax]
pop edi
and ecx, 0xfffffffb
pop ebp
or ecx, 8
pop esi
mov dword [eax], ecx
xor eax, eax
pop ebx
add esp, 0xcc
ret 8
cmp esi, 2
jne 0x24b842
cmp dword [esp + 0x2c], 0
jbe 0x24ba75
jmp 0x24b630
mov eax, dword [esp + 0x88]
nop
movzx ecx, word [ebp]
mov dx, word [ebp + 2]
mov dword [esp + 0x14], ecx
movzx ecx, dx
mov esi, ecx
shr esi, 0xf
mov dword [esp + 0x58], esi
mov esi, ecx
shr esi, 0xe
and esi, 1
mov dword [esp + 0x54], esi
mov esi, ecx
shr esi, 0xd
and esi, 1
mov dword [esp + 0x50], esi
mov esi, ecx
shr esi, 0xc
shr ecx, 8
and esi, 1
and ecx, 3
test dl, 1
mov dword [esp + 0x4c], esi
mov dword [esp + 0x18], ecx
mov dword [esp + 0x10], 0
je 0x24b68b
mov dword [esp + 0x10], 1
mov dx, word [ebp + 2]
test dl, 2
je 0x24b699
or dword [esp + 0x10], 8
test dl, 4
je 0x24b6a3
or dword [esp + 0x10], 4
shr edx, 5
and edx, 1
test byte [esp + 0x10], 1
mov dword [esp + 0x28], edx
jne 0x24b71d
cmp dword [esp + 0x18], 3
movsx ecx, word [ebp + 0x10]
movsx edx, word [ebp + 0x12]
movsx edi, word [ebp + 0x14]
movsx ebx, word [ebp + 0x1c]
movsx esi, word [ebp + 0x1e]
mov dword [esp + 0x5c], ecx
movsx ecx, word [ebp + 0x18]
mov dword [esp + 0x60], edx
movsx edx, word [ebp + 0x16]
mov dword [esp + 0x6c], ecx
movsx ecx, word [ebp + 0x1a]
mov dword [esp + 0x64], edi
mov dword [esp + 0x68], edx
mov dword [esp + 0x70], ecx
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], esi
jne 0x24b71d
cmp dword [esp + 0x84], 3
mov dword [esp + 0x3c], edi
jne 0x24b719
sar edx, 1
sar esi, 1
mov dword [esp + 0x60], ecx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], esi
mov dword [esp + 0x40], edx
mov ecx, dword [ebp + 4]
mov edx, dword [esp + 0xe0]
mov edx, dword [esp + 0x7c]
sub eax, 1
neg eax
sbb eax, eax
and eax, 0x10
add eax, 0x10
mov dword [esp + 0x20], eax
movzx eax, word [ebp + 8]
shr eax, 6
and ecx, 0xffffff
mov dword [esp + 0xa4], eax
lea eax, [edx + ecx*4]
mov edx, dword [esp + 0x28]
lea ecx, [esp + 0x80]
push ecx
push eax
push edx
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x30]
push eax
lea ecx, [esp + 0x4c]
push ecx
mov ecx, dword [esp + 0x2c]
lea edx, [esp + 0x60]
push edx
mov edx, dword [esp + 0x28]
lea eax, [esp + 0x74]
push eax
mov eax, dword [esp + 0x30]
push ecx
push edx
call fcn.0024bce0
movzx eax, byte [ebp + 7]
test eax, eax
jle 0x24b80b
mov dword [esp + 0x1c], eax
jmp 0x24b7a0
add dword [esp + 0x14], 1
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0xd8]
push edx
lea eax, [esp + 0x8c]
lea esi, [esp + 0x58]
lea ebx, [esp + 0x24]
lea edi, [esp + 0x68]
call fcn.0024be00
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x28]
lea eax, [esp + 0x80]
push eax
mov eax, dword [esp + 0x28]
push ecx
push edx
push eax
lea ecx, [esp + 0x4c]
push ecx
mov ecx, dword [esp + 0x2c]
mov edx, esi
push edx
mov edx, dword [esp + 0x28]
mov eax, edi
push eax
mov eax, dword [esp + 0x30]
push ecx
push edx
call fcn.0024bce0
sub dword [esp + 0x1c], 1
jne 0x24b7a0
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x30]
add eax, ecx
add ebp, ecx
cmp eax, dword [esp + 0x2c]
mov dword [esp + 0x30], eax
jb 0x24b628
mov eax, dword [esp + 0x34]
mov ecx, dword [eax]
pop edi
and ecx, 0xfffffffb
pop ebp
or ecx, 8
pop esi
mov dword [eax], ecx
xor eax, eax
pop ebx
add esp, 0xcc
ret 8
cmp dword [esp + 0x2c], 0
jbe 0x24ba75
jmp 0x24b860
mov eax, dword [esp + 0x88]
jmp 0x24b860
movzx ecx, word [ebp]
mov dx, word [ebp + 2]
mov dword [esp + 0x14], ecx
movzx ecx, dx
mov esi, ecx
shr esi, 0xf
mov dword [esp + 0x58], esi
mov esi, ecx
shr esi, 0xe
and esi, 1
mov dword [esp + 0x54], esi
mov esi, ecx
shr esi, 0xd
and esi, 1
mov dword [esp + 0x50], esi
mov esi, ecx
shr ecx, 8
shr esi, 0xc
and ecx, 3
and esi, 1
test dl, 1
mov ebx, ecx
mov dword [esp + 0x4c], esi
mov dword [esp + 0x18], ebx
mov dword [esp + 0x10], 0
je 0x24b8bd
mov dword [esp + 0x10], 1
mov cx, word [ebp + 2]
test cl, 2
je 0x24b8cb
or dword [esp + 0x10], 8
test cl, 4
je 0x24b8d5
or dword [esp + 0x10], 4
shr ecx, 5
and ecx, 1
test byte [esp + 0x10], 1
mov dword [esp + 0x28], ecx
jne 0x24b976
movsx ecx, word [ebp + 0x10]
movsx edx, word [ebp + 0x12]
movsx ebx, word [ebp + 0x1e]
movsx esi, word [ebp + 0x18]
movsx edi, word [ebp + 0x1a]
mov dword [esp + 0x5c], ecx
movsx ecx, word [ebp + 0x16]
mov dword [esp + 0x60], edx
movsx edx, word [ebp + 0x14]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x68], ecx
movsx ecx, word [ebp + 0x1c]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x78], ebx
mov ebx, dword [esp + 0x18]
cmp ebx, 3
mov dword [esp + 0x64], edx
mov dword [esp + 0x6c], esi
mov dword [esp + 0x70], edi
mov dword [esp + 0x74], ecx
jne 0x24b976
cmp dword [esp + 0x84], ebx
mov dword [esp + 0x44], ecx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x3c], edx
mov dword [esp + 0x5c], esi
mov dword [esp + 0x60], edi
jne 0x24b96a
sar ecx, 1
mov dword [esp + 0x40], ecx
mov ecx, dword [esp + 0x20]
sar ecx, 1
mov dword [esp + 0x48], ecx
jmp 0x24b976
mov edx, dword [esp + 0x20]
mov dword [esp + 0x40], ecx
mov dword [esp + 0x48], edx
movzx edx, word [ebp + 8]
mov ecx, dword [esp + 0xe0]
mov ecx, dword [esp + 0x7c]
sub eax, 1
neg eax
sbb eax, eax
and eax, 0x10
add eax, 0x10
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 4]
shr edx, 6
mov dword [esp + 0xa4], edx
and eax, 0xffffff
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x24]
lea edx, [esp + 0x80]
push edx
push eax
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x30]
push eax
push ecx
lea edx, [esp + 0x4c]
push edx
mov edx, dword [esp + 0x24]
lea eax, [esp + 0x60]
push eax
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0x74]
push ecx
push ebx
push edx
call fcn.0024baa0
movzx eax, byte [ebp + 7]
test eax, eax
jle 0x24ba5b
mov dword [esp + 0x1c], eax
lea esp, [esp]
add dword [esp + 0x14], 1
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0xd8]
push edx
lea eax, [esp + 0x8c]
lea esi, [esp + 0x58]
lea ebx, [esp + 0x24]
lea edi, [esp + 0x68]
call fcn.0024be00
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x28]
lea eax, [esp + 0x80]
push eax
mov eax, dword [esp + 0x28]
push ecx
push edx
push eax
lea ecx, [esp + 0x4c]
push ecx
mov ecx, dword [esp + 0x2c]
mov edx, esi
push edx
mov edx, dword [esp + 0x28]
mov eax, edi
push eax
mov eax, dword [esp + 0x30]
push ecx
push edx
call fcn.0024baa0
sub dword [esp + 0x1c], 1
jne 0x24b9f0
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x30]
add eax, ecx
add ebp, ecx
cmp eax, dword [esp + 0x2c]
mov dword [esp + 0x30], eax
jb 0x24b84f
mov eax, dword [esp + 0x34]
mov ecx, dword [eax]
pop edi
and ecx, 0xfffffffb
pop ebp
or ecx, 8
pop esi
mov dword [eax], ecx
xor eax, eax
pop ebx
add esp, 0xcc
ret 8