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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xec
mov eax, dword [0x5bd344]
xor eax, esp
mov dword [esp + 0xe8], eax
mov eax, dword [ebp + 0x20]
push ebx
push esi
mov esi, ecx
mov dword [esp + 0xa0], eax
push edi
mov dword [esp + 0x84], esi
mov dword [esi], eax
mov eax, dword [ebp + 0x24]
mov dword [esi + 4], eax
mov dword [esp + 0x9c], eax
mov eax, dword [ebp + 0x28]
mov dword [esi + 8], eax
mov dword [esp + 0xa0], eax
mov eax, dword [ebp + 0x2c]
mov dword [esi + 0xc], eax
mov eax, dword [ebp + 0x30]
mov dword [esi + 0x10], eax
mov eax, dword [ebp + 0x34]
mov word [esi + 0x14], ax
shr eax, 0x10
mov word [esi + 0x16], ax
mov eax, dword [ebp + 0x68]
test eax, 0x100
je 0x4b91a1
mov eax, dword [ebp + 0x50]
sub esp, 0x18
mov ecx, esp
sub esp, 0x18
mov dword [ecx], eax
mov eax, dword [ebp + 0x54]
mov dword [ecx + 4], eax
mov eax, dword [ebp + 0x58]
mov dword [ecx + 8], eax
mov eax, dword [ebp + 0x5c]
mov dword [ecx + 0xc], eax
mov eax, dword [ebp + 0x60]
mov dword [ecx + 0x10], eax
mov ax, word [ebp + 0x64]
mov word [ecx + 0x14], ax
mov eax, dword [ebp + 0x64]
shr eax, 0x10
mov word [ecx + 0x16], ax
mov ecx, esp
mov eax, dword [ebp + 0x38]
sub esp, 0x18
mov dword [ecx], eax
mov eax, dword [ebp + 0x3c]
mov dword [ecx + 4], eax
mov eax, dword [ebp + 0x40]
mov dword [ecx + 8], eax
mov eax, dword [ebp + 0x44]
mov dword [ecx + 0xc], eax
mov eax, dword [ebp + 0x48]
mov dword [ecx + 0x10], eax
mov ax, word [ebp + 0x4c]
mov word [ecx + 0x14], ax
mov eax, dword [ebp + 0x4c]
shr eax, 0x10
mov word [ecx + 0x16], ax
mov ecx, esp
mov eax, dword [ebp + 0x20]
sub esp, 0x18
mov dword [ecx], eax
mov eax, dword [ebp + 0x24]
mov dword [ecx + 4], eax
mov eax, dword [ebp + 0x28]
mov dword [ecx + 8], eax
mov eax, dword [ebp + 0x2c]
mov dword [ecx + 0xc], eax
mov eax, dword [ebp + 0x30]
mov dword [ecx + 0x10], eax
mov ax, word [ebp + 0x34]
mov word [ecx + 0x14], ax
mov eax, dword [ebp + 0x34]
shr eax, 0x10
mov word [ecx + 0x16], ax
mov ecx, esp
mov eax, dword [ebp + 8]
push edx
mov dword [ecx], eax
mov eax, dword [ebp + 0xc]
mov dword [ecx + 4], eax
mov eax, dword [ebp + 0x10]
mov dword [ecx + 8], eax
mov eax, dword [ebp + 0x14]
mov dword [ecx + 0xc], eax
mov eax, dword [ebp + 0x18]
mov dword [ecx + 0x10], eax
mov ax, word [ebp + 0x1c]
mov word [ecx + 0x14], ax
mov eax, dword [ebp + 0x1c]
shr eax, 0x10
mov word [ecx + 0x16], ax
lea ecx, [esp + 0x140]
call fcn.004bb730
mov edx, eax
add esp, 0x64
cmp esi, edx
je 0x4b98ec
mov eax, dword [edx]
mov dword [esi], eax
mov eax, dword [edx + 4]
mov dword [esi + 4], eax
mov eax, esi
mov ecx, dword [edx + 8]
mov dword [esi + 8], ecx
mov ecx, dword [edx + 0xc]
mov dword [esi + 0xc], ecx
mov ecx, dword [edx + 0x10]
mov dword [esi + 0x10], ecx
movzx ecx, word [edx + 0x14]
mov word [esi + 0x14], cx
movzx ecx, word [edx + 0x16]
mov word [esi + 0x16], cx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xe8]
xor ecx, esp
call fcn.0057e93d
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp + 0x40]
test eax, 0x800
mov ebx, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x3c]
mov eax, dword [ebp + 0x50]
mov dword [esp + 0x70], edi
mov dword [esp + 0x48], ebx
je 0x4b9568
mov dword [esp + 0x58], eax
mov eax, dword [ebp + 0x54]
mov dword [esp + 0x5c], eax
mov eax, dword [ebp + 0x58]
mov dword [esp + 0x60], eax
mov eax, dword [ebp + 0x38]
mov dword [esp + 0x24], eax
mov dword [esp + 0x68], eax
mov eax, dword [ebp + 0x44]
mov dword [esp + 0x34], eax
mov dword [esp + 0x74], eax
mov eax, dword [ebp + 0x48]
mov dword [esp + 0x30], eax
mov dword [esp + 0x78], eax
mov ax, word [ebp + 0x4c]
mov word [esp + 0x14], ax
mov word [esp + 0x7c], ax
mov ax, word [ebp + 0x4e]
mov word [esp + 0x12], ax
mov word [esp + 0x7e], ax
mov eax, dword [ebp + 8]
mov dword [esp + 0x20], eax
mov dword [esp + 0x40], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x28], eax
mov dword [esp + 0x44], eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x4c], eax
mov eax, dword [ebp + 0x18]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x50], eax
mov eax, dword [ebp + 0x1c]
mov dword [esp + 0x38], eax
mov word [esp + 0x54], ax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x88], edx
mov edx, eax
mov dword [esp + 0x8c], edx
mov dword [esp + 0xdc], edx
mov edx, dword [esp + 0x28]
mov esi, edx
mov dword [esp + 0x90], esi
mov dword [esp + 0xe0], esi
mov esi, ebx
mov dword [esp + 0x94], esi
mov dword [esp + 0xe4], esi
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x98], esi
mov dword [esp + 0xe8], esi
mov esi, dword [esp + 0x3c]
mov dword [esp + 0x2c], ecx
mov cx, word [ebp + 0x1e]
mov dword [esp + 0x64], esi
mov dword [esp + 0xec], esi
mov si, word [esp + 0x38]
mov word [esp + 0x16], cx
mov word [esp + 0x56], cx
mov word [esp + 0x1a], cx
mov word [esp + 0xf2], cx
mov ecx, dword [esp + 0x2c]
mov word [esp + 0x18], si
mov word [esp + 0xf0], si
nop dword [eax]
mov esi, dword [esp + 0x84]
cmp eax, dword [esp + 0xa4]
jne 0x4b9306
cmp edx, dword [esp + 0x9c]
jne 0x4b9306
cmp ebx, dword [esp + 0xa0]
je 0x4b94dd
mov eax, dword [esp + 0x58]
cmp dword [esp + 0x24], eax
jne 0x4b9320
cmp ecx, dword [esp + 0x5c]
jne 0x4b9320
cmp edi, dword [esp + 0x60]
jne 0x4b9320
xor al, al
jmp 0x4b9322
mov al, 1
test al, al
je 0x4b94dd
mov eax, dword [esp + 0x24]
mov dword [esp + 0xac], eax
mov eax, edi
mov dword [esp + 0xb4], eax
inc edi
mov eax, dword [esp + 0x34]
mov dword [esp + 0xb8], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0xbc], eax
mov ax, word [esp + 0x14]
mov word [esp + 0xc0], ax
mov ax, word [esp + 0x12]
mov word [esp + 0xc2], ax
mov eax, dword [esp + 0xb4]
mov dword [esp + 0xb0], ecx
cmp edi, dword [esp + 0x30]
jb 0x4b93d5
add ecx, dword [esp + 0x34]
mov dword [esp + 0x6c], ecx
lea ecx, [esp + 0x68]
call fcn.004ac630
mov ax, word [esp + 0x7e]
xor edi, edi
mov edx, dword [esp + 0x28]
mov word [esp + 0x12], ax
mov ax, word [esp + 0x7c]
mov word [esp + 0x14], ax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0xb4]
movzx eax, word [esp + eax*2 + 0xc0]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0xa8], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0xc4], eax
mov eax, ebx
mov dword [esp + 0xcc], eax
inc ebx
mov eax, dword [esp + 0x38]
mov word [esp + 0xd8], ax
mov ax, word [esp + 0x16]
mov dword [esp + 0xd0], ecx
mov ecx, dword [esp + 0x3c]
mov word [esp + 0xda], ax
mov eax, dword [esp + 0xcc]
mov dword [esp + 0x70], edi
mov dword [esp + 0xc8], edx
mov dword [esp + 0xd4], ecx
cmp ebx, ecx
jb 0x4b948b
add edx, dword [esp + 0x1c]
lea ecx, [esp + 0x40]
mov dword [esp + 0x44], edx
call fcn.004ac630
mov ax, word [esp + 0x56]
xor ebx, ebx
mov word [esp + 0x16], ax
movzx eax, word [esp + 0x54]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0xcc]
push dword [esp + 0xa8]
movzx eax, word [esp + eax*2 + 0xdc]
lea ecx, [esp + 0x8c]
push eax
mov dword [esp + 0x50], ebx
call fcn.004b9f40
mov ecx, dword [esp + 0x2c]
test al, al
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
jne 0x4b92e0
mov ecx, dword [esp + 0x8c]
mov edx, dword [esp + 0x90]
mov ebx, dword [esp + 0x94]
mov edi, dword [esp + 0x98]
jmp 0x4b9534
mov eax, dword [esp + 0x58]
cmp dword [esp + 0x24], eax
jne 0x4b94f7
cmp ecx, dword [esp + 0x5c]
jne 0x4b94f7
cmp edi, dword [esp + 0x60]
jne 0x4b94f7
mov cl, 1
jmp 0x4b94f9
xor cl, cl
test cl, cl
lea edx, [esp + 0xdc]
lea eax, [esp + 0x40]
cmove eax, edx
mov esi, dword [eax + 0x10]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov ebx, dword [eax + 8]
mov edi, dword [eax + 0xc]
mov dword [esp + 0x64], esi
mov si, word [eax + 0x14]
mov ax, word [eax + 0x16]
mov word [esp + 0x18], si
mov esi, dword [esp + 0x84]
mov word [esp + 0x1a], ax
lea eax, [esp + 0xdc]
cmp esi, eax
je 0x4b98ec
mov eax, dword [esp + 0x64]
mov dword [esi + 0x10], eax
mov ax, word [esp + 0x18]
mov dword [esi], ecx
mov dword [esi + 4], edx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], edi
mov word [esi + 0x14], ax
mov ax, word [esp + 0x1a]
jmp 0x4b98e8
mov edx, dword [ebp + 0x48]
mov dword [esp + 0x28], ecx
mov ecx, dword [ebp + 0x44]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x74], ecx
mov cx, word [ebp + 0x4c]
mov word [esp + 0x18], cx
mov word [esp + 0x7c], cx
mov cx, word [ebp + 0x4e]
mov word [esp + 0x1a], cx
mov word [esp + 0x7e], cx
mov ecx, dword [ebp + 0x14]
mov dword [esp + 0x2c], edx
mov dword [esp + 0x78], edx
mov edx, dword [ebp + 8]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x4c], ecx
mov ecx, dword [ebp + 0x18]
mov dword [esp + 0x20], edx
mov dword [esp + 0x40], edx
mov edx, dword [ebp + 0xc]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x30], edx
mov dword [esp + 0x44], edx
mov edx, dword [esp + 0x20]
mov dword [esp + 0x64], eax
mov eax, dword [ebp + 0x54]
mov dword [esp + 0x94], edx
mov dword [esp + 0xdc], edx
mov edx, dword [esp + 0x30]
mov ecx, edx
mov dword [esp + 0x90], ecx
mov dword [esp + 0xe0], ecx
mov ecx, ebx
mov dword [esp + 0x60], eax
mov eax, dword [ebp + 0x58]
mov dword [esp + 0x5c], eax
mov eax, dword [ebp + 0x38]
mov dword [esp + 0x8c], ecx
mov dword [esp + 0xe4], ecx
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x68], eax
mov eax, dword [ebp + 0x1c]
mov dword [esp + 0x88], ecx
mov dword [esp + 0xe8], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x38], eax
mov word [esp + 0x54], ax
mov ax, word [ebp + 0x1e]
mov dword [esp + 0x58], ecx
mov dword [esp + 0xec], ecx
mov cx, word [esp + 0x38]
mov word [esp + 0x16], ax
mov word [esp + 0x56], ax
mov word [esp + 0x14], cx
mov word [esp + 0xf0], cx
mov ecx, dword [esp + 0x28]
mov word [esp + 0x12], ax
mov word [esp + 0xf2], ax
mov eax, dword [esp + 0x1c]
nop
mov esi, dword [esp + 0xa4]
cmp dword [esp + 0x20], esi
mov esi, dword [esp + 0x84]
jne 0x4b96aa
cmp edx, dword [esp + 0x9c]
jne 0x4b96aa
cmp ebx, dword [esp + 0xa0]
je 0x4b986a
cmp eax, dword [esp + 0x64]
jne 0x4b96c0
cmp ecx, dword [esp + 0x60]
jne 0x4b96c0
cmp edi, dword [esp + 0x5c]
jne 0x4b96c0
xor al, al
jmp 0x4b96c2
mov al, 1
test al, al
mov eax, dword [esp + 0x1c]
je 0x4b986a
mov dword [esp + 0xc4], eax
mov eax, edi
mov dword [esp + 0xcc], eax
inc edi
mov eax, dword [esp + 0x3c]
mov dword [esp + 0xd0], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0xd4], eax
mov ax, word [esp + 0x18]
mov word [esp + 0xd8], ax
mov ax, word [esp + 0x1a]
mov word [esp + 0xda], ax
mov eax, dword [esp + 0xcc]
mov dword [esp + 0xc8], ecx
cmp edi, dword [esp + 0x2c]
jb 0x4b9775
add ecx, dword [esp + 0x3c]
mov dword [esp + 0x6c], ecx
lea ecx, [esp + 0x68]
call fcn.004ac630
mov ax, word [esp + 0x7e]
xor edi, edi
mov edx, dword [esp + 0x30]
mov word [esp + 0x1a], ax
mov ax, word [esp + 0x7c]
mov word [esp + 0x18], ax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0xcc]
movzx eax, word [esp + eax*2 + 0xd8]
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x98], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0xac], eax
mov eax, ebx
mov dword [esp + 0xb4], eax
inc ebx
mov eax, dword [esp + 0x38]
mov word [esp + 0xc0], ax
mov ax, word [esp + 0x16]
mov dword [esp + 0xb8], ecx
mov ecx, dword [esp + 0x34]
mov word [esp + 0xc2], ax
mov eax, dword [esp + 0xb4]
mov dword [esp + 0x70], edi
mov dword [esp + 0xb0], edx
mov dword [esp + 0xbc], ecx
cmp ebx, ecx
jb 0x4b982b
add edx, dword [esp + 0x24]
lea ecx, [esp + 0x40]
mov dword [esp + 0x44], edx
call fcn.004ac630
mov ax, word [esp + 0x56]
xor ebx, ebx
mov edx, dword [esp + 0x44]
mov word [esp + 0x16], ax
movzx eax, word [esp + 0x54]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0xb4]
mov dword [esp + 0x30], edx
mov ecx, dword [esp + 0x98]
cmp word [esp + eax*2 + 0xc0], cx
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x48], ebx
je 0x4b9680
mov ecx, dword [esp + 0x94]
mov edx, dword [esp + 0x90]
mov edi, dword [esp + 0x8c]
mov ebx, dword [esp + 0x88]
jmp 0x4b98bd
cmp eax, dword [esp + 0x64]
jne 0x4b9880
cmp ecx, dword [esp + 0x60]
jne 0x4b9880
cmp edi, dword [esp + 0x5c]
jne 0x4b9880
mov cl, 1
jmp 0x4b9882
xor cl, cl
test cl, cl
lea edx, [esp + 0xdc]
lea eax, [esp + 0x40]
cmove eax, edx
mov esi, dword [eax + 0x10]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov edi, dword [eax + 8]
mov ebx, dword [eax + 0xc]
mov dword [esp + 0x58], esi
mov si, word [eax + 0x14]
mov ax, word [eax + 0x16]
mov word [esp + 0x14], si
mov esi, dword [esp + 0x84]
mov word [esp + 0x12], ax
lea eax, [esp + 0xdc]
cmp esi, eax
je 0x4b98ec
mov eax, dword [esp + 0x58]
mov dword [esi + 0x10], eax
mov ax, word [esp + 0x14]
mov dword [esi], ecx
mov dword [esi + 4], edx
mov dword [esi + 8], edi
mov dword [esi + 0xc], ebx
mov word [esi + 0x14], ax
mov ax, word [esp + 0x12]
mov word [esi + 0x16], ax
mov ecx, dword [esp + 0xf4]
mov eax, esi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0057e93d
mov esp, ebp
pop ebp
ret