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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0xac
mov esi, dword [eax]
mov dword [esp + 0x48], eax
mov eax, dword [edx]
mov dword [esp + 0x4c], edx
mov dword [esp + 0x14], eax
sub eax, esi
mov dword [esp + 0x2c], ecx
cmp eax, 0x40
jle 0x4eb842
test ecx, ecx
je 0x4eb865
lea ecx, [esp + 0x80]
mov dword [esp + 0x28], ecx
lea ecx, [esp + 0x60]
mov dword [esp + 0x18], ecx
sar eax, 3
mov ecx, dword [esi + 4]
sub dword [esp + 0x2c], 1
lea ebp, [esi + 4]
lea ebx, [esi + eax*4]
mov eax, dword [ebx]
mov dword [esp], eax
call fcn.005a5e40
sub esp, 4
test al, al
je 0x4eb270
mov eax, dword [esp + 0x14]
mov eax, dword [eax - 4]
mov dword [esp], eax
mov ecx, dword [ebx]
call fcn.005a5e40
sub esp, 4
test al, al
jne 0x4eb850
mov edi, dword [esp + 0x14]
mov ecx, dword [esi + 4]
mov eax, dword [edi - 4]
mov dword [esp], eax
call fcn.005a5e40
sub esp, 4
test al, al
jne 0x4eb2a9
mov eax, dword [esi + 4]
mov dword [esp + 4], eax
mov eax, dword [esi]
mov dword [esp], eax
call fcn.00638760
mov ebx, dword [ebp]
mov eax, dword [esi]
mov dword [esp + 0x20], ebp
mov edi, dword [esp + 0x18]
mov dword [esp + 4], eax
mov dword [esp], edi
call dword [0x799250]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x28]
mov dword [esp], ebx
call dword [0x799250]
mov eax, dword [0x7994a4]
mov dword [esp], ebx
mov dword [esp + 4], edi
mov dword [esp + 0x1c], eax
call eax
mov ebx, eax
mov eax, dword [esp + 0x80]
mov edx, dword [eax]
test edx, edx
je 0x4eb300
cmp edx, 0xffffffff
je 0x4eafda
lock sub dword [eax], 1
mov eax, dword [esp + 0x80]
je 0x4eb300
mov eax, dword [esp + 0x60]
mov edx, dword [eax]
test edx, edx
je 0x4eb2e0
cmp edx, 0xffffffff
je 0x4eaffb
lock sub dword [eax], 1
mov eax, dword [esp + 0x60]
je 0x4eb2e0
test bl, bl
jne 0x4eb260
mov ebx, dword [esp + 0x14]
sub ebx, 4
jmp 0x4eb050
cmp edx, 0xffffffff
je 0x4eb022
lock sub dword [eax], 1
mov eax, dword [esp + 0x80]
je 0x4eb09e
mov eax, dword [esp + 0x60]
mov edx, dword [eax]
test edx, edx
je 0x4eb0c5
cmp edx, 0xffffffff
je 0x4eb043
lock sub dword [eax], 1
mov eax, dword [esp + 0x60]
je 0x4eb0c5
mov eax, edi
sub ebx, 4
test al, al
je 0x4eb0eb
mov eax, dword [ebx]
mov edi, dword [esi]
mov dword [esp + 0x14], ebx
mov dword [esp + 4], eax
mov eax, dword [esp + 0x18]
mov dword [esp], eax
call dword [0x799250]
mov dword [esp + 4], edi
mov edi, dword [esp + 0x28]
mov dword [esp], edi
call dword [0x799250]
mov eax, dword [esp + 0x18]
mov dword [esp], edi
mov dword [esp + 4], eax
mov eax, dword [esp + 0x1c]
call eax
mov edi, eax
mov eax, dword [esp + 0x80]
mov edx, dword [eax]
test edx, edx
jne 0x4eb010
mov dword [esp], eax
mov dword [esp + 8], 4
mov dword [esp + 4], 2
call dword [0x799020]
mov eax, dword [esp + 0x60]
mov edx, dword [eax]
test edx, edx
jne 0x4eb030
mov dword [esp], eax
sub ebx, 4
mov dword [esp + 8], 4
mov dword [esp + 4], 2
call dword [0x799020]
mov eax, edi
test al, al
jne 0x4eb050
cmp ebp, dword [esp + 0x14]
jae 0x4eb3a2
mov ebx, dword [ebp]
mov eax, dword [esp + 0x14]
mov edi, dword [0x799024]
mov edx, dword [ebx + 4]
mov eax, dword [eax]
mov ecx, dword [ebx]
mov dword [ebx + 4], edi
mov dword [esp + 0x38], edx
mov edx, dword [ebx + 8]
mov dword [ebx], edi
mov dword [esp + 0x3c], edx
mov edx, dword [ebx + 0xc]
mov dword [ebx + 8], edi
mov dword [esp + 0x40], edx
mov edx, dword [ebx + 0x10]
mov dword [ebx + 0xc], edi
mov dword [esp + 0x44], edx
mov edx, dword [ebx + 0x18]
mov dword [ebx + 0x10], edi
mov dword [esp + 0x30], edx
mov edx, dword [eax]
mov dword [esp + 0x24], ecx
mov ecx, dword [ebx + 0x1c]
mov dword [ebx], edx
mov dword [eax], edi
mov edi, dword [eax + 4]
mov edx, dword [ebx + 4]
mov dword [esp + 0x34], ecx
mov dword [ebx + 4], edi
mov edi, dword [eax + 8]
mov dword [eax + 4], edx
mov edx, dword [ebx + 8]
mov dword [ebx + 8], edi
mov edi, dword [eax + 0xc]
mov dword [eax + 8], edx
mov edx, dword [ebx + 0xc]
mov dword [ebx + 0xc], edi
mov edi, dword [eax + 0x10]
mov dword [eax + 0xc], edx
mov ecx, dword [ebx + 0x10]
mov edx, dword [eax + 0x18]
mov dword [ebx + 0x10], edi
mov dword [esp + 0x1c], ecx
mov ecx, dword [eax + 0x1c]
mov edi, dword [eax]
mov dword [ebx + 0x18], edx
mov dword [ebx + 0x1c], ecx
mov ecx, dword [esp + 0x24]
mov ebx, dword [eax + 4]
mov edx, dword [esp + 0x44]
mov dword [esp + 0x20], edi
mov dword [eax], ecx
mov ecx, dword [esp + 0x38]
mov edi, dword [eax + 8]
mov dword [eax + 0x10], edx
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x24], edi
mov edx, dword [esp + 0x30]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x40]
mov edi, dword [eax + 0xc]
mov dword [eax + 0x18], edx
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x34]
mov dword [eax + 0x1c], ecx
mov eax, dword [esp + 0x1c]
mov eax, dword [eax]
test eax, eax
je 0x4eb380
cmp eax, 0xffffffff
je 0x4eb1f1
mov ecx, dword [esp + 0x1c]
mov eax, 0xffffffff
lock xadd dword [ecx], eax
cmp eax, 1
je 0x4eb380
mov eax, dword [edi]
test eax, eax
je 0x4eb362
cmp eax, 0xffffffff
je 0x4eb20a
lock sub dword [edi], 1
je 0x4eb362
mov eax, dword [esp + 0x24]
mov eax, dword [eax]
test eax, eax
je 0x4eb340
cmp eax, 0xffffffff
je 0x4eb22b
mov ecx, dword [esp + 0x24]
lock sub dword [ecx], 1
je 0x4eb340
mov eax, dword [ebx]
test eax, eax
je 0x4eb320
cmp eax, 0xffffffff
je 0x4eb244
lock sub dword [ebx], 1
je 0x4eb320
mov eax, dword [esp + 0x20]
mov eax, dword [eax]
test eax, eax
je 0x4eb2c0
cmp eax, 0xffffffff
je 0x4eb260
mov ecx, dword [esp + 0x20]
lock sub dword [ecx], 1
je 0x4eb2c0
lea esi, [esi]
add ebp, 4
jmp 0x4eaf74
mov eax, dword [esp + 0x14]
mov ecx, dword [esi + 4]
mov eax, dword [eax - 4]
mov dword [esp], eax
call fcn.005a5e40
sub esp, 4
test al, al
jne 0x4eaf63
mov edi, dword [esp + 0x14]
mov eax, dword [edi - 4]
mov dword [esp], eax
mov ecx, dword [ebx]
call fcn.005a5e40
sub esp, 4
test al, al
je 0x4eb850
mov eax, dword [edi - 4]
mov dword [esp + 4], eax
mov eax, dword [esi]
mov dword [esp], eax
call fcn.00638760
jmp 0x4eaf74
mov eax, dword [esp + 0x20]
mov dword [esp + 8], 4
mov dword [esp + 4], 2
mov dword [esp], eax
call dword [0x799020]
jmp 0x4eb260
mov dword [esp + 8], 4
mov dword [esp + 4], 2
mov dword [esp], eax
call dword [0x799020]
jmp 0x4eaffb
mov dword [esp + 8], 4
mov dword [esp + 4], 2
mov dword [esp], eax
call dword [0x799020]
jmp 0x4eafda
mov dword [esp + 8], 4
mov dword [esp + 4], 2
mov dword [esp], ebx
call dword [0x799020]
jmp 0x4eb244
mov eax, dword [esp + 0x24]
mov dword [esp + 8], 4
mov dword [esp + 4], 2
mov dword [esp], eax
call dword [0x799020]
jmp 0x4eb22b
mov dword [esp + 8], 4
mov dword [esp + 4], 2
mov dword [esp], edi
call dword [0x799020]
jmp 0x4eb20a
mov eax, dword [esp + 0x1c]
mov dword [esp + 8], 4
mov dword [esp + 4], 2
mov dword [esp], eax
call dword [0x799020]
jmp 0x4eb1f1
mov esi, dword [esp + 0x4c]
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x60], ebp
mov edx, dword [esp + 0x28]
mov eax, dword [esi]
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x18]
call fcn.004eaec0
mov eax, dword [esp + 0x48]
mov dword [esi], ebp
mov esi, dword [eax]
mov eax, ebp
sub eax, esi
cmp eax, 0x40
jle 0x4eb842
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x14], ebp
test edx, edx
jne 0x4eaf04
mov eax, dword [esp + 0x28]
mov edi, dword [esp + 0x20]
mov byte [esp + 0xc], 0
mov dword [esp + 0x5c], esi
mov dword [esp + 8], eax
mov eax, dword [esp + 0x18]
lea ebp, [edi - 4]
mov dword [esp + 0x80], edi
mov dword [esp + 4], eax
lea eax, [esp + 0x5c]
mov dword [esp], eax
mov dword [esp + 0x60], edi
call fcn.006356a0
mov eax, dword [0x799020]
mov edi, dword [0x799024]
mov dword [esp + 0x14], eax
jmp 0x4eb597
cmp edx, 0xffffffff
je 0x4eb44a
lock sub dword [eax], 1
mov eax, dword [esp + 0x90]
je 0x4eb6b2
mov eax, dword [esp + 0x8c]
mov edx, dword [eax]
test edx, edx
je 0x4eb6dc
cmp edx, 0xffffffff
je 0x4eb471
lock sub dword [eax], 1
mov eax, dword [esp + 0x8c]
je 0x4eb6dc
mov eax, dword [esp + 0x88]
mov edx, dword [eax]
test edx, edx
je 0x4eb706
cmp edx, 0xffffffff
je 0x4eb498
lock sub dword [eax], 1
mov eax, dword [esp + 0x88]
je 0x4eb706
mov eax, dword [esp + 0x84]
mov edx, dword [eax]
test edx, edx
je 0x4eb730
cmp edx, 0xffffffff
je 0x4eb4bf
lock sub dword [eax], 1
mov eax, dword [esp + 0x84]
je 0x4eb730
mov eax, dword [esp + 0x80]
mov edx, dword [eax]
test edx, edx
je 0x4eb75a
cmp edx, 0xffffffff
je 0x4eb4e6
lock sub dword [eax], 1
mov eax, dword [esp + 0x80]
je 0x4eb75a
mov eax, dword [esp + 0x70]
mov edx, dword [eax]
test edx, edx
je 0x4eb781
cmp edx, 0xffffffff
je 0x4eb507
lock sub dword [eax], 1
mov eax, dword [esp + 0x70]
je 0x4eb781
mov eax, dword [esp + 0x6c]
mov edx, dword [eax]
test edx, edx
je 0x4eb7a8
cmp edx, 0xffffffff
je 0x4eb528
lock sub dword [eax], 1
mov eax, dword [esp + 0x6c]
je 0x4eb7a8
mov eax, dword [esp + 0x68]
mov edx, dword [eax]
test edx, edx
je 0x4eb7cf
cmp edx, 0xffffffff
je 0x4eb549
lock sub dword [eax], 1
mov eax, dword [esp + 0x68]
je 0x4eb7cf
mov eax, dword [esp + 0x64]
mov edx, dword [eax]
test edx, edx
je 0x4eb7f6
cmp edx, 0xffffffff
je 0x4eb56a
lock sub dword [eax], 1
mov eax, dword [esp + 0x64]
je 0x4eb7f6
mov eax, dword [esp + 0x60]
mov edx, dword [eax]
test edx, edx
je 0x4eb81d
cmp edx, 0xffffffff
je 0x4eb58b
lock sub dword [eax], 1
mov eax, dword [esp + 0x60]
je 0x4eb81d
sub ebp, 4
cmp ebx, 4
jle 0x4eb842
mov eax, dword [ebp]
mov edx, dword [eax]
mov dword [esp + 0x60], edx
mov edx, dword [eax + 4]
mov dword [eax], edi
mov dword [esp + 0x64], edx
mov edx, dword [eax + 8]
mov dword [eax + 4], edi
mov dword [esp + 0x68], edx
mov edx, dword [eax + 0xc]
mov dword [eax + 8], edi
mov dword [esp + 0x6c], edx
mov edx, dword [eax + 0x10]
mov dword [eax + 0xc], edi
mov dword [esp + 0x70], edx
mov edx, dword [eax + 0x1c]
mov dword [eax + 0x10], edi
mov eax, dword [eax + 0x18]
mov dword [esp + 0x7c], edx
mov edx, dword [esi]
mov dword [esp + 0x78], eax
mov eax, dword [ebp]
mov ebx, dword [edx]
mov ecx, dword [eax]
mov dword [eax], ebx
mov ebx, dword [edx + 4]
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [eax + 4], ebx
mov ebx, dword [edx + 8]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [eax + 8], ebx
mov ebx, dword [edx + 0xc]
mov dword [edx + 8], ecx
mov ecx, dword [eax + 0xc]
mov dword [eax + 0xc], ebx
mov ebx, dword [edx + 0x10]
mov dword [edx + 0xc], ecx
mov ecx, dword [eax + 0x10]
mov dword [eax + 0x10], ebx
mov ebx, dword [edx + 0x1c]
mov dword [edx + 0x10], ecx
mov ecx, dword [edx + 0x18]
mov dword [eax + 0x1c], ebx
mov ebx, ebp
mov dword [eax + 0x18], ecx
mov eax, dword [esp + 0x60]
sub ebx, esi
mov edx, dword [esp + 0x7c]
mov dword [esp + 0x60], edi
mov ecx, ebx
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x64]
sar ecx, 2
mov dword [esp + 0x9c], edx
xor edx, edx
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x64], edi
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x68], edi
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0x6c], edi
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x70], edi
mov dword [esp + 0x98], eax
mov dword [esp + 0x5c], esi
mov eax, dword [esp + 0x28]
mov dword [esp], eax
lea eax, [esp + 0x5c]
call fcn.004e9700
mov eax, dword [esp + 0x90]
mov edx, dword [eax]
test edx, edx
jne 0x4eb434
mov dword [esp], eax
mov dword [esp + 8], 4
mov dword [esp + 4], 2
call dword [0x799020]
mov eax, dword [esp + 0x8c]
mov edx, dword [eax]
test edx, edx
jne 0x4eb45b
mov dword [esp], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 8], 4
mov dword [esp + 4], 2
call eax
mov eax, dword [esp + 0x88]
mov edx, dword [eax]
test edx, edx
jne 0x4eb482
mov dword [esp], eax
mov dword [esp + 8], 4
mov dword [esp + 4], 2
call dword [0x799020]
mov eax, dword [esp + 0x84]
mov edx, dword [eax]
test edx, edx
jne 0x4eb4a9
mov dword [esp], eax
mov dword [esp + 8], 4
mov dword [esp + 4], 2
call dword [0x799020]
mov eax, dword [esp + 0x80]
mov edx, dword [eax]
test edx, edx
jne 0x4eb4d0
mov dword [esp], eax
mov dword [esp + 8], 4
mov dword [esp + 4], 2
call dword [0x799020]
mov eax, dword [esp + 0x70]
mov edx, dword [eax]
test edx, edx
jne 0x4eb4f4
mov dword [esp], eax
mov dword [esp + 8], 4
mov dword [esp + 4], 2
call dword [0x799020]
mov eax, dword [esp + 0x6c]
mov edx, dword [eax]
test edx, edx
jne 0x4eb515
mov dword [esp], eax
mov dword [esp + 8], 4
mov dword [esp + 4], 2
call dword [0x799020]
mov eax, dword [esp + 0x68]
mov edx, dword [eax]
test edx, edx
jne 0x4eb536
mov dword [esp], eax
mov dword [esp + 8], 4
mov dword [esp + 4], 2
call dword [0x799020]
mov eax, dword [esp + 0x64]
mov edx, dword [eax]
test edx, edx
jne 0x4eb557
mov dword [esp], eax
mov dword [esp + 8], 4
mov dword [esp + 4], 2
call dword [0x799020]
mov eax, dword [esp + 0x60]
mov edx, dword [eax]
test edx, edx
jne 0x4eb578
mov dword [esp + 8], 4
sub ebp, 4
mov dword [esp + 4], 2
mov dword [esp], eax
call dword [0x799020]
cmp ebx, 4
jg 0x4eb597
add esp, 0xac
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [ebx]
mov dword [esp + 4], eax
mov eax, dword [esi]
mov dword [esp], eax
call fcn.00638760
jmp 0x4eaf74
mov eax, dword [esp + 0x14]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x80]
mov dword [esp + 0x28], eax
lea eax, [esp + 0x60]
mov dword [esp + 0x18], eax
jmp 0x4eb3e9