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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x9c
mov eax, dword [0x5bd344]
xor eax, esp
mov dword [esp + 0x98], eax
mov eax, dword [ebp + 0x20]
push ebx
push esi
push edi
mov edi, ecx
mov dword [esp + 0x68], eax
mov ecx, dword [ebp + 0xc]
mov ebx, edx
mov edx, dword [ebp + 8]
mov dword [esp + 0x20], edi
mov dword [edi], eax
mov eax, dword [ebp + 0x24]
mov dword [edi + 4], eax
mov dword [esp + 0x6c], eax
mov eax, dword [ebp + 0x28]
mov dword [edi + 8], eax
mov dword [esp + 0x70], eax
mov eax, dword [ebp + 0x2c]
mov dword [edi + 0xc], eax
mov eax, dword [ebp + 0x30]
mov dword [edi + 0x10], eax
mov eax, dword [ebp + 0x34]
mov word [edi + 0x14], ax
shr eax, 0x10
mov word [edi + 0x16], ax
mov eax, dword [ebp + 0x40]
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], ecx
test eax, 0x100
je 0x4b50e2
mov eax, dword [ebp + 0x10]
mov esi, dword [ebp + 0x14]
mov edi, dword [ebp + 0x1c]
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], ecx
mov ecx, edx
mov dword [esp + 0x54], ecx
mov dword [esp + 0x74], ecx
mov ecx, dword [esp + 0x14]
mov edx, ecx
mov dword [esp + 0x58], edx
mov dword [esp + 0x78], edx
mov edx, eax
mov dword [esp + 0x5c], edx
mov dword [esp + 0x7c], edx
mov dword [esp + 0x1c], esi
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x60], edx
mov dword [esp + 0x80], edx
mov dword [esp + 0x3c], esi
mov esi, dword [ebp + 0x18]
mov edx, esi
mov dword [esp + 0x2c], edx
mov dword [esp + 0x84], edx
mov dword [esp + 0x24], edi
mov dx, word [esp + 0x24]
mov word [esp + 0x44], di
shr edi, 0x10
mov word [esp + 0x10], dx
mov word [esp + 0x88], dx
mov dx, di
mov word [esp + 0x12], dx
mov word [esp + 0x8a], dx
mov edx, dword [esp + 0x18]
mov dword [esp + 0x38], eax
mov dword [esp + 0x28], esi
mov dword [esp + 0x40], esi
mov dword [esp + 0x64], edi
mov word [esp + 0x46], di
nop dword [eax]
cmp edx, dword [esp + 0x68]
jne 0x4b4f76
cmp ecx, dword [esp + 0x6c]
jne 0x4b4f76
cmp eax, dword [esp + 0x70]
je 0x4b507b
cmp ebx, dword [ebp + 0x38]
je 0x4b507b
movzx edi, word [ebx]
mov dword [esp + 0x50], edi
mov edi, dword [esp + 0x24]
mov dword [esp + 0x94], eax
inc eax
mov dword [esp + 0x8c], edx
mov edx, dword [esp + 0x1c]
mov word [esp + 0xa0], di
mov edi, dword [esp + 0x64]
mov dword [esp + 0x90], ecx
mov dword [esp + 0x98], edx
mov dword [esp + 0x9c], esi
mov word [esp + 0xa2], di
mov dword [esp + 0x4c], eax
cmp eax, esi
jae 0x4b4fd4
mov dword [esp + 0x38], eax
jmp 0x4b501f
add ecx, edx
mov dword [esp + 0x34], ecx
lea ecx, [esp + 0x30]
call fcn.004ac630
xor eax, eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x38], eax
movzx eax, word [esp + 0x46]
mov dword [esp + 0x64], eax
mov ax, word [esp + 0x44]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x18], eax
mov edi, dword [ebp + 0x3c]
mov eax, dword [esp + 0x94]
mov ecx, dword [edi + 4]
movzx eax, word [esp + eax*2 + 0xa0]
push eax
mov edx, dword [ecx]
call dword [edx + 0x20]
mov ecx, dword [edi + 4]
push dword [esp + 0x50]
movzx esi, ax
mov eax, dword [ecx]
call dword [eax + 0x20]
mov edi, dword [esp + 0x20]
add ebx, 2
mov ecx, dword [esp + 0x14]
cmp si, ax
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x18]
mov esi, dword [esp + 0x28]
je 0x4b4f60
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x58]
mov esi, dword [esp + 0x5c]
mov ebx, dword [esp + 0x60]
jmp 0x4b50b1
cmp ebx, dword [ebp + 0x38]
lea ecx, [esp + 0x74]
lea eax, [esp + 0x30]
cmovne eax, ecx
mov edi, dword [eax + 0x10]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov esi, dword [eax + 8]
mov ebx, dword [eax + 0xc]
mov dword [esp + 0x2c], edi
mov di, word [eax + 0x14]
mov ax, word [eax + 0x16]
mov word [esp + 0x10], di
mov edi, dword [esp + 0x20]
mov word [esp + 0x12], ax
lea eax, [esp + 0x74]
cmp edi, eax
je 0x4b54dd
mov eax, dword [esp + 0x2c]
mov dword [edi + 0x10], eax
mov ax, word [esp + 0x10]
mov dword [edi], ecx
mov dword [edi + 4], edx
mov dword [edi + 8], esi
mov dword [edi + 0xc], ebx
mov word [edi + 0x14], ax
mov ax, word [esp + 0x12]
jmp 0x4b54d9
test eax, 0x800
je 0x4b52fb
mov eax, dword [ebp + 0x14]
mov esi, dword [ebp + 0x10]
mov dword [esp + 0x24], eax
mov dword [esp + 0x3c], eax
mov eax, dword [ebp + 0x18]
mov dword [esp + 0x14], eax
mov dword [esp + 0x40], eax
mov eax, dword [ebp + 0x1c]
mov dword [esp + 0x18], eax
mov word [esp + 0x44], ax
mov ax, word [ebp + 0x1e]
mov word [esp + 0x10], ax
mov word [esp + 0x46], ax
mov eax, dword [ebp + 0x3c]
mov dword [esp + 0x5c], eax
mov eax, edx
mov dword [esp + 0x58], eax
mov dword [esp + 0x74], eax
mov eax, ecx
mov dword [esp + 0x54], eax
mov dword [esp + 0x78], eax
mov eax, esi
mov dword [esp + 0x50], eax
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x64], eax
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x84], eax
mov ax, word [esp + 0x18]
mov word [esp + 0x12], ax
mov word [esp + 0x88], ax
mov ax, word [esp + 0x10]
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x38], esi
mov word [esp + 0x1c], ax
mov word [esp + 0x8a], ax
cmp edx, dword [esp + 0x68]
jne 0x4b51a9
cmp ecx, dword [esp + 0x6c]
jne 0x4b51a9
cmp esi, dword [esp + 0x70]
je 0x4b5294
cmp ebx, dword [ebp + 0x38]
je 0x4b5294
movzx eax, word [ebx]
mov edi, dword [esp + 0x18]
mov dword [esp + 0x8c], edx
mov edx, dword [esp + 0x24]
mov dword [esp + 0x60], eax
mov eax, esi
mov dword [esp + 0x98], edx
inc esi
mov edx, dword [esp + 0x14]
mov word [esp + 0xa0], di
mov di, word [esp + 0x10]
mov dword [esp + 0x90], ecx
mov dword [esp + 0x94], eax
mov dword [esp + 0x9c], edx
mov word [esp + 0xa2], di
cmp esi, edx
jb 0x4b5251
add ecx, dword [esp + 0x24]
mov dword [esp + 0x34], ecx
lea ecx, [esp + 0x30]
call fcn.004ac630
mov ax, word [esp + 0x46]
xor esi, esi
mov word [esp + 0x10], ax
movzx eax, word [esp + 0x44]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x94]
push dword [esp + 0x60]
movzx eax, word [esp + eax*2 + 0xa4]
lea ecx, [esp + 0x60]
push eax
mov dword [esp + 0x40], esi
call fcn.004b9f40
mov edi, dword [esp + 0x20]
add ebx, 2
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
test al, al
jne 0x4b5193
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x54]
mov esi, dword [esp + 0x50]
mov ebx, dword [esp + 0x64]
jmp 0x4b52ca
cmp ebx, dword [ebp + 0x38]
lea ecx, [esp + 0x74]
lea eax, [esp + 0x30]
cmovne eax, ecx
mov edi, dword [eax + 0x10]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov esi, dword [eax + 8]
mov ebx, dword [eax + 0xc]
mov dword [esp + 0x4c], edi
mov di, word [eax + 0x14]
mov ax, word [eax + 0x16]
mov word [esp + 0x12], di
mov edi, dword [esp + 0x20]
mov word [esp + 0x1c], ax
lea eax, [esp + 0x74]
cmp edi, eax
je 0x4b54dd
mov eax, dword [esp + 0x4c]
mov dword [edi + 0x10], eax
mov ax, word [esp + 0x12]
mov dword [edi], ecx
mov dword [edi + 4], edx
mov dword [edi + 8], esi
mov dword [edi + 0xc], ebx
mov word [edi + 0x14], ax
mov ax, word [esp + 0x1c]
jmp 0x4b54d9
mov esi, dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
mov edi, dword [ebp + 0x1c]
mov dword [esp + 0x14], esi
mov dword [esp + 0x3c], esi
mov esi, dword [ebp + 0x18]
mov dword [esp + 0x18], esi
mov dword [esp + 0x40], esi
mov esi, edx
mov dword [esp + 0x5c], esi
mov dword [esp + 0x8c], esi
mov esi, ecx
mov dword [esp + 0x58], esi
mov dword [esp + 0x90], esi
mov esi, eax
mov dword [esp + 0x54], esi
mov dword [esp + 0x94], esi
mov esi, dword [ebp + 0x14]
mov dword [esp + 0x50], esi
mov dword [esp + 0x98], esi
mov esi, dword [ebp + 0x18]
mov dword [esp + 0x28], esi
mov dword [esp + 0x9c], esi
mov si, word [ebp + 0x1c]
mov dword [esp + 0x2c], edi
mov word [esp + 0x44], di
mov di, word [ebp + 0x1e]
mov word [esp + 0x12], si
mov word [esp + 0xa0], si
mov si, di
mov word [esp + 0x10], si
mov word [esp + 0xa2], si
mov esi, dword [ebp + 0x38]
mov dword [esp + 0x38], eax
mov word [esp + 0x1c], di
mov word [esp + 0x46], di
nop dword [eax]
cmp edx, dword [esp + 0x68]
jne 0x4b53b6
cmp ecx, dword [esp + 0x6c]
jne 0x4b53b6
cmp eax, dword [esp + 0x70]
je 0x4b5479
cmp ebx, esi
je 0x4b5479
mov edi, dword [esp + 0x14]
movzx esi, word [ebx]
mov dword [esp + 0x80], edi
mov edi, dword [esp + 0x18]
mov dword [esp + 0x84], edi
mov edi, dword [esp + 0x2c]
mov dword [esp + 0x60], esi
mov esi, eax
mov word [esp + 0x88], di
inc eax
mov di, word [esp + 0x1c]
mov dword [esp + 0x74], edx
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], esi
mov word [esp + 0x8a], di
cmp eax, dword [esp + 0x18]
jb 0x4b5447
add ecx, dword [esp + 0x14]
mov dword [esp + 0x34], ecx
lea ecx, [esp + 0x30]
call fcn.004ac630
mov cx, word [esp + 0x46]
xor eax, eax
mov edx, dword [esp + 0x30]
mov word [esp + 0x1c], cx
movzx ecx, word [esp + 0x44]
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x34]
mov edi, dword [esp + 0x60]
add ebx, 2
cmp word [esp + esi*2 + 0x88], di
mov edi, dword [esp + 0x20]
mov esi, dword [ebp + 0x38]
mov dword [esp + 0x38], eax
je 0x4b53a0
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x58]
mov ebx, dword [esp + 0x54]
mov esi, dword [esp + 0x50]
jmp 0x4b54b1
cmp ebx, esi
lea ecx, [esp + 0x8c]
lea eax, [esp + 0x30]
cmovne eax, ecx
mov edi, dword [eax + 0x10]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov ebx, dword [eax + 8]
mov esi, dword [eax + 0xc]
mov dword [esp + 0x28], edi
mov di, word [eax + 0x14]
mov ax, word [eax + 0x16]
mov word [esp + 0x12], di
mov edi, dword [esp + 0x20]
mov word [esp + 0x10], ax
lea eax, [esp + 0x74]
cmp edi, eax
je 0x4b54dd
mov eax, dword [esp + 0x28]
mov dword [edi + 0x10], eax
mov ax, word [esp + 0x12]
mov dword [edi], ecx
mov dword [edi + 4], edx
mov dword [edi + 8], ebx
mov dword [edi + 0xc], esi
mov word [edi + 0x14], ax
mov ax, word [esp + 0x10]
mov word [edi + 0x16], ax
mov ecx, dword [esp + 0xa4]
mov eax, edi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0057e93d
mov esp, ebp
pop ebp
ret