Function at 0x4eac40
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 0x4eb5c2
test ecx, ecx
je 0x4eb5e5
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.005a3aa0
sub esp, 4
test al, al
je 0x4eaff0
mov eax, dword [esp + 0x14]
mov eax, dword [eax - 4]
mov dword [esp], eax
mov ecx, dword [ebx]
call fcn.005a3aa0
sub esp, 4
test al, al
jne 0x4eb5d0
mov edi, dword [esp + 0x14]
mov ecx, dword [esi + 4]
mov eax, dword [edi - 4]
mov dword [esp], eax
call fcn.005a3aa0
sub esp, 4
test al, al
jne 0x4eb029
mov eax, dword [esi + 4]
mov dword [esp + 4], eax
mov eax, dword [esi]
mov dword [esp], eax
call fcn.00636370
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 [0x796240]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x28]
mov dword [esp], ebx
call dword [0x796240]
mov eax, dword [0x796494]
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 0x4eb080
cmp edx, 0xffffffff
je 0x4ead5a
lock sub dword [eax], 1
mov eax, dword [esp + 0x80]
je 0x4eb080
mov eax, dword [esp + 0x60]
mov edx, dword [eax]
test edx, edx
je 0x4eb060
cmp edx, 0xffffffff
je 0x4ead7b
lock sub dword [eax], 1
mov eax, dword [esp + 0x60]
je 0x4eb060
test bl, bl
jne 0x4eafe0
mov ebx, dword [esp + 0x14]
sub ebx, 4
jmp 0x4eadd0
cmp edx, 0xffffffff
je 0x4eada2
lock sub dword [eax], 1
mov eax, dword [esp + 0x80]
je 0x4eae1e
mov eax, dword [esp + 0x60]
mov edx, dword [eax]
test edx, edx
je 0x4eae45
cmp edx, 0xffffffff
je 0x4eadc3
lock sub dword [eax], 1
mov eax, dword [esp + 0x60]
je 0x4eae45
mov eax, edi
sub ebx, 4
test al, al
je 0x4eae6b
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 [0x796240]
mov dword [esp + 4], edi
mov edi, dword [esp + 0x28]
mov dword [esp], edi
call dword [0x796240]
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 0x4ead90
mov dword [esp], eax
mov dword [esp + 8], 4
mov dword [esp + 4], 2
call dword [0x796018]
mov eax, dword [esp + 0x60]
mov edx, dword [eax]
test edx, edx
jne 0x4eadb0
mov dword [esp], eax
sub ebx, 4
mov dword [esp + 8], 4
mov dword [esp + 4], 2
call dword [0x796018]
mov eax, edi
test al, al
jne 0x4eadd0
cmp ebp, dword [esp + 0x14]
jae 0x4eb122
mov ebx, dword [ebp]
mov eax, dword [esp + 0x14]
mov edi, dword [0x79601c]
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 0x4eb100
cmp eax, 0xffffffff
je 0x4eaf71
mov ecx, dword [esp + 0x1c]
mov eax, 0xffffffff
lock xadd dword [ecx], eax
cmp eax, 1
je 0x4eb100
mov eax, dword [edi]
test eax, eax
je 0x4eb0e2
cmp eax, 0xffffffff
je 0x4eaf8a
lock sub dword [edi], 1
je 0x4eb0e2
mov eax, dword [esp + 0x24]
mov eax, dword [eax]
test eax, eax
je 0x4eb0c0
cmp eax, 0xffffffff
je 0x4eafab
mov ecx, dword [esp + 0x24]
lock sub dword [ecx], 1
je 0x4eb0c0
mov eax, dword [ebx]
test eax, eax
je 0x4eb0a0
cmp eax, 0xffffffff
je 0x4eafc4
lock sub dword [ebx], 1
je 0x4eb0a0
mov eax, dword [esp + 0x20]
mov eax, dword [eax]
test eax, eax
je 0x4eb040
cmp eax, 0xffffffff
je 0x4eafe0
mov ecx, dword [esp + 0x20]
lock sub dword [ecx], 1
je 0x4eb040
lea esi, [esi]
add ebp, 4
jmp 0x4eacf4
mov eax, dword [esp + 0x14]
mov ecx, dword [esi + 4]
mov eax, dword [eax - 4]
mov dword [esp], eax
call fcn.005a3aa0
sub esp, 4
test al, al
jne 0x4eace3
mov edi, dword [esp + 0x14]
mov eax, dword [edi - 4]
mov dword [esp], eax
mov ecx, dword [ebx]
call fcn.005a3aa0
sub esp, 4
test al, al
je 0x4eb5d0
mov eax, dword [edi - 4]
mov dword [esp + 4], eax
mov eax, dword [esi]
mov dword [esp], eax
call fcn.00636370
jmp 0x4eacf4
mov eax, dword [esp + 0x20]
mov dword [esp + 8], 4
mov dword [esp + 4], 2
mov dword [esp], eax
call dword [0x796018]
jmp 0x4eafe0
mov dword [esp + 8], 4
mov dword [esp + 4], 2
mov dword [esp], eax
call dword [0x796018]
jmp 0x4ead7b
mov dword [esp + 8], 4
mov dword [esp + 4], 2
mov dword [esp], eax
call dword [0x796018]
jmp 0x4ead5a
mov dword [esp + 8], 4
mov dword [esp + 4], 2
mov dword [esp], ebx
call dword [0x796018]
jmp 0x4eafc4
mov eax, dword [esp + 0x24]
mov dword [esp + 8], 4
mov dword [esp + 4], 2
mov dword [esp], eax
call dword [0x796018]
jmp 0x4eafab
mov dword [esp + 8], 4
mov dword [esp + 4], 2
mov dword [esp], edi
call dword [0x796018]
jmp 0x4eaf8a
mov eax, dword [esp + 0x1c]
mov dword [esp + 8], 4
mov dword [esp + 4], 2
mov dword [esp], eax
call dword [0x796018]
jmp 0x4eaf71
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.004eac40
mov eax, dword [esp + 0x48]
mov dword [esi], ebp
mov esi, dword [eax]
mov eax, ebp
sub eax, esi
cmp eax, 0x40
jle 0x4eb5c2
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x14], ebp
test edx, edx
jne 0x4eac84
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.006332b0
mov eax, dword [0x796018]
mov edi, dword [0x79601c]
mov dword [esp + 0x14], eax
jmp 0x4eb317
cmp edx, 0xffffffff
je 0x4eb1ca
lock sub dword [eax], 1
mov eax, dword [esp + 0x90]
je 0x4eb432
mov eax, dword [esp + 0x8c]
mov edx, dword [eax]
test edx, edx
je 0x4eb45c
cmp edx, 0xffffffff
je 0x4eb1f1
lock sub dword [eax], 1
mov eax, dword [esp + 0x8c]
je 0x4eb45c
mov eax, dword [esp + 0x88]
mov edx, dword [eax]
test edx, edx
je 0x4eb486
cmp edx, 0xffffffff
je 0x4eb218
lock sub dword [eax], 1
mov eax, dword [esp + 0x88]
je 0x4eb486
mov eax, dword [esp + 0x84]
mov edx, dword [eax]
test edx, edx
je 0x4eb4b0
cmp edx, 0xffffffff
je 0x4eb23f
lock sub dword [eax], 1
mov eax, dword [esp + 0x84]
je 0x4eb4b0
mov eax, dword [esp + 0x80]
mov edx, dword [eax]
test edx, edx
je 0x4eb4da
cmp edx, 0xffffffff
je 0x4eb266
lock sub dword [eax], 1
mov eax, dword [esp + 0x80]
je 0x4eb4da
mov eax, dword [esp + 0x70]
mov edx, dword [eax]
test edx, edx
je 0x4eb501
cmp edx, 0xffffffff
je 0x4eb287
lock sub dword [eax], 1
mov eax, dword [esp + 0x70]
je 0x4eb501
mov eax, dword [esp + 0x6c]
mov edx, dword [eax]
test edx, edx
je 0x4eb528
cmp edx, 0xffffffff
je 0x4eb2a8
lock sub dword [eax], 1
mov eax, dword [esp + 0x6c]
je 0x4eb528
mov eax, dword [esp + 0x68]
mov edx, dword [eax]
test edx, edx
je 0x4eb54f
cmp edx, 0xffffffff
je 0x4eb2c9
lock sub dword [eax], 1
mov eax, dword [esp + 0x68]
je 0x4eb54f
mov eax, dword [esp + 0x64]
mov edx, dword [eax]
test edx, edx
je 0x4eb576
cmp edx, 0xffffffff
je 0x4eb2ea
lock sub dword [eax], 1
mov eax, dword [esp + 0x64]
je 0x4eb576
mov eax, dword [esp + 0x60]
mov edx, dword [eax]
test edx, edx
je 0x4eb59d
cmp edx, 0xffffffff
je 0x4eb30b
lock sub dword [eax], 1
mov eax, dword [esp + 0x60]
je 0x4eb59d
sub ebp, 4
cmp ebx, 4
jle 0x4eb5c2
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.004e9480
mov eax, dword [esp + 0x90]
mov edx, dword [eax]
test edx, edx
jne 0x4eb1b4
mov dword [esp], eax
mov dword [esp + 8], 4
mov dword [esp + 4], 2
call dword [0x796018]
mov eax, dword [esp + 0x8c]
mov edx, dword [eax]
test edx, edx
jne 0x4eb1db
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 0x4eb202
mov dword [esp], eax
mov dword [esp + 8], 4
mov dword [esp + 4], 2
call dword [0x796018]
mov eax, dword [esp + 0x84]
mov edx, dword [eax]
test edx, edx
jne 0x4eb229
mov dword [esp], eax
mov dword [esp + 8], 4
mov dword [esp + 4], 2
call dword [0x796018]
mov eax, dword [esp + 0x80]
mov edx, dword [eax]
test edx, edx
jne 0x4eb250
mov dword [esp], eax
mov dword [esp + 8], 4
mov dword [esp + 4], 2
call dword [0x796018]
mov eax, dword [esp + 0x70]
mov edx, dword [eax]
test edx, edx
jne 0x4eb274
mov dword [esp], eax
mov dword [esp + 8], 4
mov dword [esp + 4], 2
call dword [0x796018]
mov eax, dword [esp + 0x6c]
mov edx, dword [eax]
test edx, edx
jne 0x4eb295
mov dword [esp], eax
mov dword [esp + 8], 4
mov dword [esp + 4], 2
call dword [0x796018]
mov eax, dword [esp + 0x68]
mov edx, dword [eax]
test edx, edx
jne 0x4eb2b6
mov dword [esp], eax
mov dword [esp + 8], 4
mov dword [esp + 4], 2
call dword [0x796018]
mov eax, dword [esp + 0x64]
mov edx, dword [eax]
test edx, edx
jne 0x4eb2d7
mov dword [esp], eax
mov dword [esp + 8], 4
mov dword [esp + 4], 2
call dword [0x796018]
mov eax, dword [esp + 0x60]
mov edx, dword [eax]
test edx, edx
jne 0x4eb2f8
mov dword [esp + 8], 4
sub ebp, 4
mov dword [esp + 4], 2
mov dword [esp], eax
call dword [0x796018]
cmp ebx, 4
jg 0x4eb317
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.00636370
jmp 0x4eacf4
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 0x4eb169