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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xec
push ebx
push esi
xor esi, esi
cmp eax, esi
push edi
jne 0x4ebb41
push 0x100cf494
lea eax, [esp + 0x94]
push eax
call dword [0x100ef7e0]
lea eax, [esp + 0x90]
jmp 0x4ebb64
mov ecx, dword [eax]
mov edx, dword [eax + 4]
push 8
lea eax, [esp + 0x38]
mov dword [esp + 0x38], ecx
push eax
lea ecx, [esp + 0x28]
push ecx
mov dword [esp + 0x44], edx
call dword [0x100ef7ec]
lea eax, [esp + 0x20]
mov edx, dword [eax]
mov eax, dword [eax + 4]
push 4
lea ecx, [esp + 0x10]
push ecx
mov dword [esp + 0x50], edx
mov dword [esp + 0x54], eax
call dword [0x100ef7e8]
mov ebx, dword [ebp + 8]
lea edx, [esp + 0xc]
push edx
lea eax, [ebp + 0xc]
push eax
lea eax, [ebx + 0x14]
call fcn.004a2ca0
test eax, eax
je 0x4ebc7c
mov ecx, dword [esp + 0xc]
mov edx, dword [ecx]
mov eax, dword [edx + 0x34]
call eax
test eax, eax
je 0x4ebbd4
mov edx, dword [ebp + 0x14]
mov dword [edx], 0xc000017c
mov eax, dword [esp + 0xc]
cmp eax, esi
mov ecx, dword [ebp + 0x10]
mov dword [ecx], esi
je 0x4ec67c
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx]
mov eax, dword [eax + 0x54]
lea edx, [esp + 0x48]
push edx
call eax
mov edi, eax
cmp edi, esi
je 0x4ebc55
cmp dword [0x100ef594], esi
je 0x4ebc45
lea esi, [esp + 0x78]
call fcn.00537210
mov esi, eax
push 0x100d4ea8
call fcn.0052f5f0
push 0x100d4eec
call fcn.0052f5f0
push edi
lea ebx, [esp + 0xbc]
call fcn.0051ac00
mov ecx, eax
mov eax, esi
call fcn.00537470
push 0x100d1420
mov esi, eax
call fcn.0052f5f0
lea eax, [esp + 0x78]
call fcn.00537250
mov esi, ebx
call fcn.00490320
xor esi, esi
mov edx, dword [ebp + 0x14]
and edi, 0xefffffff
mov dword [edx], edi
jmp 0x4ebbb2
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x14]
mov dword [eax], esi
mov eax, dword [esp + 0xc]
cmp eax, esi
mov dword [ecx], esi
je 0x4ec67c
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov eax, dword [esp + 0xc]
cmp eax, esi
je 0x4ebc90
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0xc], esi
push 4
lea eax, [esp + 0x5c]
push eax
mov dword [esp + 0x5c], esi
mov word [esp + 0x58], si
mov word [esp + 0x5a], si
call dword [0x100ef7e8]
push 4
lea ecx, [esp + 0x6c]
push ecx
call dword [0x100ef7e8]
push 0x100cf494
lea edx, [esp + 0xcc]
push edx
call dword [0x100ef7e0]
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x7c], eax
lea edx, [esp + 0x50]
lea ecx, [esp + 0xc8]
push edx
lea eax, [esp + 0x7c]
mov dword [esp + 0x84], ecx
push eax
xor eax, eax
mov ecx, ebx
mov dword [esp + 0x80], 0x18
mov dword [esp + 0x8c], 0x40
mov dword [esp + 0x90], esi
mov dword [esp + 0x94], esi
call fcn.004e6b00
test eax, eax
jne 0x4ebdc4
cmp dword [ebx + 0x6c], 1
jne 0x4ebda9
mov edi, dword [ebp + 0xc]
call fcn.004ff780
test eax, eax
je 0x4ebd55
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0x14]
lea eax, [esp + 0x50]
mov dword [ecx], esi
mov dword [edx], 0xc000017c
call fcn.004e4310
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
cmp dword [0x100ef594], esi
je 0x4ebd85
lea esi, [esp + 0x78]
call fcn.00537210
mov esi, eax
push 0x100d4ea8
call fcn.0052f5f0
push 0x100d4d80
call fcn.0052f5f0
lea eax, [esp + 0x78]
call fcn.00537250
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x14]
mov dword [eax], 0
lea eax, [esp + 0x50]
mov dword [ecx], 0xc0000229
call fcn.004e4310
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov edx, dword [ebp + 0x10]
lea eax, [esp + 0x50]
mov dword [edx], 1
call fcn.004e4310
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov edi, dword [esp + 0x58]
test edi, edi
mov dword [esp + 0x14], edi
je 0x4ebdd8
mov eax, dword [edi]
mov ecx, dword [eax + 4]
push edi
call ecx
mov esi, dword [esp + 0x64]
push 0x100cf494
lea edx, [esp + 0xec]
push edx
call dword [0x100ef7e0]
lea eax, [esp + 0x40]
push eax
lea edx, [esp + 0x60]
call fcn.004fb510
test eax, eax
mov dword [esp + 0x64], esi
je 0x4ec0c9
cmp dword [ebx + 0x6c], 1
jne 0x4ec35e
mov ecx, dword [0x100ef48c]
lea edx, [esp + 0xb4]
push edx
push 4
lea eax, [esp + 0xb8]
push eax
mov eax, dword [ebp + 0xc]
push 0
lea edx, [esp + 0x58]
add ecx, 0x9a0
push edx
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x24]
call eax
call eax
cmp eax, 0xc0000034
je 0x4ec28b
push 4
lea ecx, [esp + 0x24]
push ecx
call dword [0x100ef7e8]
push 4
lea edx, [esp + 0x28]
push edx
call dword [0x100ef7e8]
mov edi, dword [esp + 0x14]
test edi, edi
mov dword [esp + 0x1c], edi
je 0x4ebe7e
mov eax, dword [edi]
mov ecx, dword [eax + 4]
push edi
call ecx
push 0x100cf494
lea edx, [esp + 0x94]
push edx
call dword [0x100ef7e0]
mov eax, dword [esp + 0x90]
mov ecx, dword [esp + 0x94]
lea edx, [esp + 0x34]
push edx
lea edx, [esp + 0x60]
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], ecx
call fcn.004fb510
test eax, eax
je 0x4ebf32
lea esp, [esp]
mov ecx, dword [ebx + 0xc]
mov eax, dword [ecx]
mov eax, dword [eax + 0x94]
lea edx, [esp + 0x34]
push edx
push edi
lea edx, [esp + 0x30]
push edx
call eax
mov ebx, dword [esp + 0x28]
lea esi, [esp + 0x20]
call fcn.004f9bd0
test edi, edi
je 0x4ebef1
mov ecx, dword [edi]
mov edx, dword [ecx + 8]
push edi
call edx
mov edi, dword [esp + 0x28]
test edi, edi
je 0x4ebf19
mov eax, dword [edi]
mov ecx, dword [eax + 4]
push edi
call ecx
mov eax, dword [esp + 0x28]
test eax, eax
je 0x4ebf19
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov dword [esp + 0x28], 0
lea ecx, [esp + 0x34]
push ecx
lea edx, [esp + 0x60]
call fcn.004fb510
test eax, eax
mov ebx, dword [ebp + 8]
jne 0x4ebec0
mov dword [esp + 0x1c], edi
mov ecx, dword [ebx + 0xc]
mov edx, dword [ecx]
mov edx, dword [edx + 0x98]
lea eax, [esp + 0x48]
push eax
push edi
lea eax, [esp + 0x34]
push eax
call edx
mov ecx, dword [esp + 0x2c]
mov eax, dword [ecx]
mov edx, dword [eax + 0x1c]
push 1
call edx
mov esi, dword [ebx + 0xc]
test esi, esi
mov dword [esp + 0x18], esi
je 0x4ebf6a
mov eax, dword [esi]
mov ecx, dword [eax + 4]
push esi
call ecx
mov edx, dword [esi]
mov eax, dword [edx + 0x80]
mov ecx, esi
call eax
push 0x100cf494
lea ecx, [esp + 0xd4]
push ecx
call dword [0x100ef7e0]
mov edx, dword [ebp + 0xc]
lea eax, [esp + 0xd0]
lea ecx, [esp + 0x50]
mov dword [esp + 0x9c], edx
push ecx
mov dword [esp + 0xa4], eax
xor eax, eax
lea edx, [esp + 0x9c]
push edx
mov ecx, ebx
mov dword [esp + 0xa0], 0x18
mov dword [esp + 0xac], 0x40
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], eax
call fcn.004e6b00
test eax, eax
je 0x4ec2a2
mov eax, dword [esp + 0x58]
test eax, eax
mov dword [esp + 0x40], eax
je 0x4ebff7
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push eax
call edx
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
lea edx, [esp + 0xe0]
push edx
call eax
mov ecx, dword [esp + 0x40]
mov edx, dword [ecx]
mov edx, dword [edx + 0xc]
mov dword [esp + 0x3c], eax
lea eax, [esp + 0xf0]
push eax
call edx
mov ecx, dword [eax]
mov edx, dword [esp + 0x3c]
cmp ecx, dword [edx]
jne 0x4ec03a
mov eax, dword [eax + 4]
mov ecx, edx
cmp eax, dword [ecx + 4]
mov byte [esp + 0x13], 1
je 0x4ec03f
mov byte [esp + 0x13], 0
mov eax, dword [esp + 0x40]
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
cmp byte [esp + 0x13], 0
jne 0x4ec32e
mov edx, dword [esi]
mov eax, dword [edx + 0x84]
mov ecx, esi
call eax
mov ecx, dword [esi]
mov edx, dword [ecx + 8]
push esi
call edx
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x4ec082
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
xor esi, esi
mov dword [esp + 0x2c], esi
jmp 0x4ec084
xor esi, esi
cmp edi, esi
je 0x4ec090
mov eax, dword [edi]
mov ecx, dword [eax + 8]
push edi
call ecx
mov eax, dword [esp + 0x24]
cmp eax, esi
je 0x4ec0a4
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov dword [esp + 0x24], esi
mov eax, dword [esp + 0x20]
cmp eax, esi
je 0x4ec0b8
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x20], esi
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
jmp 0x4ebdc4
push 4
lea eax, [esp + 0x10]
push eax
call dword [0x100ef7e8]
mov edx, dword [edi]
mov edx, dword [edx + 0x70]
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x4c]
push ecx
mov ecx, edi
call edx
test eax, eax
mov dword [esp + 0x40], eax
je 0x4ec4d3
cmp eax, 1
jne 0x4ec5dd
mov eax, edi
call fcn.004e75b0
cmp dword [ebx + 0x6c], 1
je 0x4ec119
cmp eax, 3
je 0x4ec119
cmp eax, 1
jne 0x4ec658
mov ecx, dword [ebx + 0xc]
mov eax, dword [ecx]
mov eax, dword [eax + 0x98]
lea edx, [esp + 0x48]
push edx
push edi
lea edx, [esp + 0x38]
push edx
call eax
mov ecx, dword [esp + 0x30]
mov edx, dword [ecx]
mov eax, dword [edx + 0x1c]
push 1
call eax
mov esi, dword [ebx + 0xc]
test esi, esi
mov dword [esp + 0x18], esi
je 0x4ec151
mov ecx, dword [esi]
mov edx, dword [ecx + 4]
push esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x80]
mov ecx, esi
call edx
push 0x100cf494
lea eax, [esp + 0xdc]
push eax
call dword [0x100ef7e0]
mov ecx, dword [ebp + 0xc]
xor eax, eax
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], eax
mov dword [esp + 0x9c], ecx
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0x9c]
lea edx, [esp + 0xdc]
push ecx
xor eax, eax
mov ecx, ebx
mov dword [esp + 0xa0], 0x18
mov dword [esp + 0xac], 0x40
mov dword [esp + 0xa8], edx
call fcn.004e6b00
test eax, eax
je 0x4ec54a
mov eax, dword [esp + 0x58]
test eax, eax
mov dword [esp + 0x3c], eax
je 0x4ec1e0
mov edx, dword [eax]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [edi]
mov edx, dword [edx + 0xc]
lea eax, [esp + 0xb8]
push eax
mov ecx, edi
call edx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x40], eax
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
lea edx, [esp + 0x78]
push edx
call eax
mov ecx, dword [eax]
mov edx, dword [esp + 0x40]
cmp ecx, dword [edx]
jne 0x4ec21e
mov eax, dword [eax + 4]
mov ecx, edx
cmp eax, dword [ecx + 4]
mov byte [esp + 0x13], 1
je 0x4ec223
mov byte [esp + 0x13], 0
mov eax, dword [esp + 0x3c]
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
cmp byte [esp + 0x13], 0
jne 0x4ec5c4
mov edx, dword [esi]
mov eax, dword [edx + 0x84]
mov ecx, esi
call eax
mov ecx, dword [esi]
mov edx, dword [ecx + 8]
push esi
call edx
mov eax, dword [esp + 0x30]
test eax, eax
je 0x4ec266
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x30], 0
mov eax, dword [esp + 0xc]
test eax, eax
je 0x4ec27e
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0xc], 0
mov eax, dword [edi]
mov ecx, dword [eax + 8]
push edi
call ecx
jmp 0x4ebdc4
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 0x14]
mov dword [edx], 0
mov dword [eax], 0xc0000034
jmp 0x4ec66a
mov edi, dword [ebp + 0xc]
call fcn.004ff780
test eax, eax
je 0x4ec2e9
mov edx, dword [ebp + 0x14]
mov dword [edx], 0xc000017c
mov ecx, dword [ebp + 0x10]
mov dword [ecx], 0
lea esi, [esp + 0x18]
call fcn.004ff550
lea esi, [esp + 0x2c]
call fcn.004c5d90
lea esi, [esp + 0x1c]
call fcn.004c5d90
lea esi, [esp + 0x20]
call fcn.00490350
jmp 0x4ec66a
cmp dword [0x100ef594], 0
je 0x4ec31a
lea esi, [esp + 0x78]
call fcn.00537210
mov esi, eax
push 0x100d4ea8
call fcn.0052f5f0
push 0x100d4d80
call fcn.0052f5f0
lea eax, [esp + 0x78]
call fcn.00537250
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x14]
mov dword [eax], 0
mov dword [ecx], 0xc0000229
jmp 0x4ec2c0
mov edx, dword [edi]
mov eax, dword [esp + 0x2c]
mov edx, dword [edx + 0x54]
push eax
mov ecx, edi
call edx
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x4ec350
mov eax, dword [ecx]
mov edx, dword [esp + 0x24]
mov eax, dword [eax + 0x44]
push edx
call eax
mov edx, dword [ebp + 0x14]
mov dword [edx], 0
jmp 0x4ec2b7
mov eax, edi
call fcn.004e75b0
test eax, eax
jne 0x4ec377
mov eax, dword [ebp + 0x10]
mov dword [eax], 1
jmp 0x4ec66a
cmp eax, 1
jne 0x4ec393
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0x14]
mov dword [ecx], 0
mov dword [edx], 0xc0000034
jmp 0x4ec66a
cmp eax, 2
je 0x4ec369
mov ecx, dword [0x100ef48c]
lea edx, [esp + 0xb0]
push edx
push 4
lea eax, [esp + 0xbc]
push eax
mov eax, dword [ebp + 0xc]
push 0
lea edx, [esp + 0x58]
add ecx, 0x9a0
push edx
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x24]
call eax
call eax
cmp eax, 0xc0000034
je 0x4ec37c
lea esi, [esp + 0x34]
call fcn.004e42f0
test edi, edi
mov dword [esp + 0x1c], edi
je 0x4ec3ea
mov eax, dword [edi]
mov ecx, dword [eax + 4]
push edi
call ecx
lea esi, [esp + 0x20]
call fcn.004fb590
mov edx, esi
push edx
lea edx, [esp + 0x60]
call fcn.004fb510
test eax, eax
je 0x4ec458
mov ecx, dword [ebx + 0xc]
mov eax, dword [ecx]
mov eax, dword [eax + 0x94]
lea edx, [esp + 0x20]
push edx
push edi
lea edx, [esp + 0x20]
push edx
call eax
mov ebx, dword [esp + 0x18]
lea esi, [esp + 0x34]
call fcn.004f9bd0
lea ecx, [esp + 0x18]
push ecx
lea esi, [esp + 0x20]
call fcn.004a21c0
lea esi, [esp + 0x18]
call fcn.004c5d90
lea edx, [esp + 0x20]
push edx
lea edx, [esp + 0x60]
call fcn.004fb510
test eax, eax
mov edi, dword [esp + 0x1c]
mov ebx, dword [ebp + 8]
jne 0x4ec403
mov ebx, dword [ebx + 0xc]
mov eax, dword [ebx]
mov eax, dword [eax + 0x98]
lea ecx, [esp + 0x48]
push ecx
push edi
lea edx, [esp + 0x30]
push edx
mov ecx, ebx
call eax
mov ecx, dword [esp + 0x28]
mov edx, dword [ecx]
mov eax, dword [edx + 0x1c]
push 1
call eax
mov edx, dword [edi]
mov eax, dword [esp + 0x28]
mov edx, dword [edx + 0x54]
push eax
mov ecx, edi
call edx
mov ecx, dword [esp + 0x34]
test ecx, ecx
je 0x4ec4a1
mov eax, dword [ecx]
mov edx, dword [esp + 0x38]
mov eax, dword [eax + 0x44]
push edx
call eax
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0x14]
lea esi, [esp + 0x28]
mov dword [ecx], 0
mov dword [edx], 0
call fcn.004c5d90
lea esi, [esp + 0x1c]
call fcn.004c5d90
lea esi, [esp + 0x34]
call fcn.00490350
jmp 0x4ec66a
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx]
mov edx, dword [eax + 0x20]
call edx
test eax, eax
je 0x4ec4f9
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x14]
mov dword [eax], 0
mov dword [ecx], 0xc0000034
jmp 0x4ec661
mov ecx, dword [esp + 0xc]
mov edx, dword [ecx]
mov eax, dword [edx + 0x18]
call eax
test eax, eax
mov ecx, dword [esp + 0xc]
push 1
je 0x4ec52c
mov edx, dword [ecx]
mov eax, dword [edx + 0x1c]
call eax
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0x14]
mov dword [ecx], 0
mov dword [edx], 0
jmp 0x4ec661
mov eax, dword [ecx]
mov edx, dword [eax + 0x1c]
call edx
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x14]
mov dword [eax], 0
mov dword [ecx], 0
jmp 0x4ec661
mov edi, dword [ebp + 0xc]
call fcn.004ff780
test eax, eax
je 0x4ec57f
mov ecx, dword [ebp + 0x14]
mov dword [ecx], 0xc000017c
mov eax, dword [ebp + 0x10]
mov dword [eax], 0
lea esi, [esp + 0x18]
call fcn.004ff550
lea esi, [esp + 0x30]
call fcn.004c5d90
jmp 0x4ec661
cmp dword [0x100ef594], 0
je 0x4ec5b0
lea esi, [esp + 0x78]
call fcn.00537210
mov esi, eax
push 0x100d4ea8
call fcn.0052f5f0
push 0x100d4d80
call fcn.0052f5f0
lea eax, [esp + 0x78]
call fcn.00537250
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 0x14]
mov dword [edx], 0
mov dword [eax], 0xc0000229
jmp 0x4ec568
mov edx, dword [edi]
mov eax, dword [esp + 0x30]
mov edx, dword [edx + 0x54]
push eax
mov ecx, edi
call edx
mov ecx, dword [ebp + 0x14]
mov dword [ecx], 0
jmp 0x4ec55f
cmp dword [0x100ef594], 0
je 0x4ec63e
lea esi, [esp + 0x78]
call fcn.00537210
mov esi, eax
push 0x100d4ea8
call fcn.0052f5f0
push 0x100d4f1c
call fcn.0052f5f0
mov edx, dword [esp + 0x40]
push edx
lea ebx, [esp + 0xbc]
call fcn.0051ac00
mov ecx, eax
mov eax, esi
call fcn.00537470
push 0x100d1420
mov esi, eax
call fcn.0052f5f0
lea eax, [esp + 0x78]
call fcn.00537250
mov esi, ebx
call fcn.00490320
mov ebx, dword [ebp + 8]
cmp dword [ebx + 0x6c], 1
jne 0x4ec658
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x14]
mov dword [eax], 0
mov dword [ecx], 0xc0000229
jmp 0x4ec661
mov edx, dword [ebp + 0x10]
mov dword [edx], 1
lea esi, [esp + 0xc]
call fcn.004c5d90
lea esi, [esp + 0x14]
call fcn.004c5d90
lea eax, [esp + 0x50]
call fcn.004e4310
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10