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

Disassembly:
sub esp, 0x164
push ebx
push ebp
mov ebp, dword [esp + 0x174]
push esi
push edi
mov edi, dword [esp + 0x180]
mov ecx, edi
sub ecx, ebp
mov eax, 0x2aaaaaab
imul ecx
mov ecx, dword [esp + 0x184]
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cdq
sub eax, edx
sar eax, 1
lea eax, [eax + eax*2]
lea esi, [ebp + eax*8]
push ecx
lea eax, [edi - 0x18]
push eax
push esi
push ebp
call fcn.004a4780
add esp, 0x10
cmp ebp, esi
mov ecx, esi
lea edx, [esi + 0x18]
jae 0x4a4afb
lea edi, [esi + 4]
nop
mov eax, edi
mov esi, dword [eax]
mov dword [esp + 0x34], esi
mov esi, dword [eax + 4]
mov dword [esp + 0x38], esi
mov esi, dword [eax + 8]
mov dword [esp + 0x3c], esi
mov esi, dword [eax + 0xc]
mov ax, word [eax + 0x10]
mov word [esp + 0x44], ax
mov dword [esp + 0x40], esi
lea esi, [edi - 0x18]
mov eax, esi
mov ebx, dword [eax]
mov dword [esp + 0x1c], ebx
mov ebx, dword [eax + 4]
mov dword [esp + 0x20], ebx
mov ebx, dword [eax + 8]
mov dword [esp + 0x24], ebx
mov ebx, dword [eax + 0xc]
mov ax, word [eax + 0x10]
mov dword [esp + 0x28], ebx
mov ebx, dword [esp + 0x34]
mov word [esp + 0x2c], ax
mov eax, dword [esp + 0x1c]
shr eax, 8
shr ebx, 8
cmp al, bl
jb 0x4a4afb
mov eax, dword [esi]
mov dword [esp + 0x64], eax
mov eax, dword [esi + 4]
mov dword [esp + 0x68], eax
mov eax, dword [esi + 8]
mov dword [esp + 0x6c], eax
mov eax, dword [esi + 0xc]
mov ebx, dword [esp + 0x64]
mov dword [esp + 0x70], eax
mov ax, word [esi + 0x10]
mov word [esp + 0x74], ax
mov eax, edi
mov esi, dword [eax]
mov dword [esp + 0x4c], esi
mov esi, dword [eax + 4]
mov dword [esp + 0x50], esi
mov esi, dword [eax + 8]
mov dword [esp + 0x54], esi
mov esi, dword [eax + 0xc]
mov ax, word [eax + 0x10]
mov word [esp + 0x5c], ax
mov eax, dword [esp + 0x4c]
shr eax, 8
shr ebx, 8
cmp al, bl
mov dword [esp + 0x58], esi
jb 0x4a4afb
sub ecx, 0x18
sub edi, 0x18
cmp ebp, ecx
jb 0x4a4a30
cmp edx, dword [esp + 0x180]
jae 0x4a4bd7
lea edi, [ecx + 4]
mov eax, edi
mov esi, dword [eax]
mov dword [esp + 0x1c], esi
mov esi, dword [eax + 4]
mov dword [esp + 0x20], esi
mov esi, dword [eax + 8]
mov dword [esp + 0x24], esi
mov esi, dword [eax + 0xc]
mov ax, word [eax + 0x10]
mov dword [esp + 0x28], esi
mov word [esp + 0x2c], ax
mov al, byte [esp + 0x1d]
lea esi, [edx + 4]
mov ebx, esi
mov ebp, dword [ebx]
mov dword [esp + 0x1c], ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 0x20], ebp
mov ebp, dword [ebx + 8]
mov dword [esp + 0x24], ebp
mov ebp, dword [ebx + 0xc]
mov bx, word [ebx + 0x10]
mov word [esp + 0x2c], bx
mov ebx, dword [esp + 0x1c]
shr ebx, 8
cmp bl, al
mov dword [esp + 0x28], ebp
jb 0x4a4bd7
mov ebx, esi
mov ebp, dword [ebx]
mov dword [esp + 0x4c], ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 0x50], ebp
mov ebp, dword [ebx + 8]
mov dword [esp + 0x54], ebp
mov ebp, dword [ebx + 0xc]
mov bx, word [ebx + 0x10]
mov word [esp + 0x5c], bx
mov dword [esp + 0x58], ebp
mov ebx, edi
mov ebp, dword [ebx]
mov dword [esp + 0x34], ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 0x38], ebp
mov ebp, dword [ebx + 8]
mov dword [esp + 0x3c], ebp
mov ebp, dword [ebx + 0xc]
mov bx, word [ebx + 0x10]
mov word [esp + 0x44], bx
mov ebx, dword [esp + 0x34]
shr ebx, 8
cmp bl, byte [esp + 0x4d]
mov dword [esp + 0x40], ebp
jb 0x4a4bd7
mov ebx, dword [esp + 0x180]
add edx, 0x18
add esi, 0x18
cmp edx, ebx
jb 0x4a4b38
mov ebp, ecx
mov edi, edx
mov dword [esp + 0x14], ebp
nop
cmp edi, dword [esp + 0x180]
jae 0x4a4db9
lea esi, [edi + 4]
mov dword [esp + 0x10], esi
mov eax, esi
mov ebx, dword [eax]
mov dword [esp + 0xe8], ebx
mov ebx, dword [eax + 4]
mov dword [esp + 0xec], ebx
mov ebx, dword [eax + 8]
mov dword [esp + 0xf0], ebx
mov ebx, dword [eax + 0xc]
mov ax, word [eax + 0x10]
mov word [esp + 0xf8], ax
mov dword [esp + 0xf4], ebx
lea eax, [ecx + 4]
mov ebx, dword [eax]
mov dword [esp + 0xb8], ebx
mov ebx, dword [eax + 4]
mov dword [esp + 0xbc], ebx
mov ebx, dword [eax + 8]
mov dword [esp + 0xc0], ebx
mov ebx, dword [eax + 0xc]
mov ax, word [eax + 0x10]
mov dword [esp + 0xc4], ebx
mov ebx, dword [esp + 0xe8]
mov word [esp + 0xc8], ax
mov eax, dword [esp + 0xb8]
shr eax, 8
shr ebx, 8
cmp al, bl
jb 0x4a4da0
lea eax, [ecx + 4]
mov ebx, dword [eax]
mov dword [esp + 0x118], ebx
mov ebx, dword [eax + 4]
mov dword [esp + 0x11c], ebx
mov ebx, dword [eax + 8]
mov dword [esp + 0x120], ebx
mov ebx, dword [eax + 0xc]
mov ax, word [eax + 0x10]
mov word [esp + 0x128], ax
mov eax, dword [esi]
mov dword [esp + 0x148], eax
mov eax, dword [esi + 4]
mov dword [esp + 0x14c], eax
mov eax, dword [esi + 8]
mov dword [esp + 0x150], eax
mov eax, dword [esi + 0xc]
mov dword [esp + 0x154], eax
mov ax, word [esi + 0x10]
mov dword [esp + 0x124], ebx
mov ebx, dword [esp + 0x118]
mov word [esp + 0x158], ax
mov eax, dword [esp + 0x148]
shr eax, 8
shr ebx, 8
cmp al, bl
jb 0x4a4db9
mov ebx, dword [edi]
mov eax, edx
mov esi, dword [eax]
mov dword [eax], ebx
mov dword [edi], esi
add edx, 0x18
add eax, 4
mov esi, eax
mov ebx, dword [esi]
mov dword [esp + 0xa0], ebx
mov ebx, dword [esi + 4]
mov dword [esp + 0xa4], ebx
mov ebx, dword [esi + 8]
mov dword [esp + 0xa8], ebx
mov ebx, dword [esi + 0xc]
mov si, word [esi + 0x10]
mov word [esp + 0xb0], si
mov esi, dword [esp + 0x10]
mov dword [esp + 0xac], ebx
mov ebx, dword [esi]
mov dword [eax], ebx
mov ebx, dword [esi + 4]
mov dword [eax + 4], ebx
mov ebx, dword [esi + 8]
mov dword [eax + 8], ebx
mov ebx, dword [esi + 0xc]
mov dword [eax + 0xc], ebx
mov si, word [esi + 0x10]
mov ebx, dword [esp + 0xa0]
mov word [eax + 0x10], si
mov esi, dword [esp + 0x10]
mov eax, esi
mov dword [eax], ebx
mov ebx, dword [esp + 0xa4]
mov dword [eax + 4], ebx
mov ebx, dword [esp + 0xa8]
mov dword [eax + 8], ebx
mov ebx, dword [esp + 0xac]
mov dword [eax + 0xc], ebx
mov bx, word [esp + 0xb0]
mov word [eax + 0x10], bx
mov eax, dword [esp + 0x180]
add edi, 0x18
add esi, 0x18
cmp edi, eax
mov dword [esp + 0x10], esi
jb 0x4a4bf4
cmp ebp, dword [esp + 0x17c]
jbe 0x4a4f9c
lea eax, [ecx + 4]
mov dword [esp + 0x10], eax
lea esi, [ebp - 0x14]
mov eax, dword [esp + 0x10]
mov ebx, dword [eax]
mov dword [esp + 0x100], ebx
mov ebx, dword [eax + 4]
mov dword [esp + 0x104], ebx
mov ebx, dword [eax + 8]
mov dword [esp + 0x108], ebx
mov ebx, dword [eax + 0xc]
mov ax, word [eax + 0x10]
mov word [esp + 0x110], ax
mov dword [esp + 0x10c], ebx
mov eax, esi
mov ebx, dword [eax]
mov dword [esp + 0xd0], ebx
mov ebx, dword [eax + 4]
mov dword [esp + 0xd4], ebx
mov ebx, dword [eax + 8]
mov dword [esp + 0xd8], ebx
mov ebx, dword [eax + 0xc]
mov ax, word [eax + 0x10]
mov dword [esp + 0xdc], ebx
mov ebx, dword [esp + 0x100]
mov word [esp + 0xe0], ax
mov eax, dword [esp + 0xd0]
shr eax, 8
shr ebx, 8
cmp al, bl
jb 0x4a4f7c
mov eax, esi
mov ebx, dword [eax]
mov dword [esp + 0x160], ebx
mov ebx, dword [eax + 4]
mov dword [esp + 0x164], ebx
mov ebx, dword [eax + 8]
mov dword [esp + 0x168], ebx
mov ebx, dword [eax + 0xc]
mov ax, word [eax + 0x10]
mov word [esp + 0x170], ax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x16c], ebx
mov ebx, dword [eax]
mov dword [esp + 0x130], ebx
mov ebx, dword [eax + 4]
mov dword [esp + 0x134], ebx
mov ebx, dword [eax + 8]
mov dword [esp + 0x138], ebx
mov ebx, dword [eax + 0xc]
mov ax, word [eax + 0x10]
mov dword [esp + 0x13c], ebx
mov ebx, dword [esp + 0x160]
mov word [esp + 0x140], ax
mov eax, dword [esp + 0x130]
shr eax, 8
shr ebx, 8
cmp al, bl
jb 0x4a4f95
mov ebp, dword [esi - 4]
mov ebx, dword [ecx - 0x18]
mov eax, dword [esp + 0x10]
mov dword [ecx - 0x18], ebp
mov dword [esi - 4], ebx
sub ecx, 0x18
sub eax, 0x18
mov ebx, eax
mov ebp, dword [ebx]
mov dword [esp + 0x78], ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 0x7c], ebp
mov ebp, dword [ebx + 8]
mov dword [esp + 0x80], ebp
mov ebp, dword [ebx + 0xc]
mov bx, word [ebx + 0x10]
mov word [esp + 0x88], bx
mov dword [esp + 0x10], eax
mov dword [esp + 0x84], ebp
mov ebx, esi
mov ebp, dword [ebx]
mov dword [eax], ebp
mov ebp, dword [ebx + 4]
mov dword [eax + 4], ebp
mov ebp, dword [ebx + 8]
mov dword [eax + 8], ebp
mov ebp, dword [ebx + 0xc]
mov dword [eax + 0xc], ebp
mov bx, word [ebx + 0x10]
mov ebp, dword [esp + 0x14]
mov word [eax + 0x10], bx
mov ebx, dword [esp + 0x78]
mov eax, esi
mov dword [eax], ebx
mov ebx, dword [esp + 0x7c]
mov dword [eax + 4], ebx
mov ebx, dword [esp + 0x80]
mov dword [eax + 8], ebx
mov ebx, dword [esp + 0x84]
mov dword [eax + 0xc], ebx
mov bx, word [esp + 0x88]
mov word [eax + 0x10], bx
mov eax, dword [esp + 0x17c]
sub ebp, 0x18
sub esi, 0x18
cmp eax, ebp
mov dword [esp + 0x14], ebp
jb 0x4a4dd0
cmp ebp, dword [esp + 0x17c]
mov eax, dword [esp + 0x180]
jne 0x4a50dd
cmp edi, eax
je 0x4a527c
cmp edx, edi
je 0x4a504f
mov esi, dword [edx]
mov eax, dword [ecx]
mov dword [ecx], esi
mov dword [edx], eax
lea esi, [ecx + 4]
mov ebx, esi
mov ebp, dword [ebx]
mov dword [esp + 0x8c], ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 0x90], ebp
mov ebp, dword [ebx + 8]
mov dword [esp + 0x94], ebp
mov ebp, dword [ebx + 0xc]
mov bx, word [ebx + 0x10]
lea eax, [edx + 4]
mov word [esp + 0x9c], bx
mov dword [esp + 0x98], ebp
mov ebx, eax
mov ebp, dword [ebx]
mov dword [esi], ebp
mov ebp, dword [ebx + 4]
mov dword [esi + 4], ebp
mov ebp, dword [ebx + 8]
mov dword [esi + 8], ebp
mov ebp, dword [ebx + 0xc]
mov dword [esi + 0xc], ebp
mov bx, word [ebx + 0x10]
mov word [esi + 0x10], bx
mov esi, dword [esp + 0x8c]
mov dword [eax], esi
mov esi, dword [esp + 0x90]
mov dword [eax + 4], esi
mov esi, dword [esp + 0x94]
mov dword [eax + 8], esi
mov esi, dword [esp + 0x98]
mov dword [eax + 0xc], esi
mov si, word [esp + 0x9c]
mov word [eax + 0x10], si
mov eax, edi
mov ebp, dword [eax]
mov esi, ecx
mov ebx, dword [esi]
mov dword [esi], ebp
mov dword [eax], ebx
add eax, 4
add edx, 0x18
add edi, 0x18
add ecx, 0x18
add esi, 4
mov ebx, esi
mov ebp, dword [ebx]
mov dword [esp + 0x60], ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 0x64], ebp
mov ebp, dword [ebx + 8]
mov dword [esp + 0x68], ebp
mov ebp, dword [ebx + 0xc]
mov bx, word [ebx + 0x10]
mov word [esp + 0x70], bx
mov dword [esp + 0x6c], ebp
mov ebx, eax
mov ebp, dword [ebx]
mov dword [esi], ebp
mov ebp, dword [ebx + 4]
mov dword [esi + 4], ebp
mov ebp, dword [ebx + 8]
mov dword [esi + 8], ebp
mov ebp, dword [ebx + 0xc]
mov dword [esi + 0xc], ebp
mov bx, word [ebx + 0x10]
mov ebp, dword [esp + 0x14]
mov word [esi + 0x10], bx
mov esi, dword [esp + 0x60]
mov dword [eax], esi
mov esi, dword [esp + 0x64]
mov dword [eax + 4], esi
mov esi, dword [esp + 0x68]
mov dword [eax + 8], esi
mov esi, dword [esp + 0x6c]
mov dword [eax + 0xc], esi
mov si, word [esp + 0x70]
mov word [eax + 0x10], si
jmp 0x4a4be0
sub ebp, 0x18
cmp edi, eax
mov dword [esp + 0x14], ebp
jne 0x4a51f4
sub ecx, 0x18
cmp ebp, ecx
je 0x4a516e
mov eax, dword [ebp]
mov esi, dword [ecx]
mov dword [ebp], esi
mov dword [ecx], eax
add ebp, 4
mov esi, ebp
mov ebx, dword [esi]
mov dword [esp + 0x48], ebx
mov ebx, dword [esi + 4]
mov dword [esp + 0x4c], ebx
mov ebx, dword [esi + 8]
mov dword [esp + 0x50], ebx
mov ebx, dword [esi + 0xc]
mov si, word [esi + 0x10]
mov word [esp + 0x58], si
lea eax, [ecx + 4]
mov dword [esp + 0x54], ebx
mov esi, eax
mov ebx, dword [esi]
mov dword [ebp], ebx
mov ebx, dword [esi + 4]
mov dword [ebp + 4], ebx
mov ebx, dword [esi + 8]
mov dword [ebp + 8], ebx
mov ebx, dword [esi + 0xc]
mov dword [ebp + 0xc], ebx
mov si, word [esi + 0x10]
mov word [ebp + 0x10], si
mov esi, dword [esp + 0x48]
mov dword [eax], esi
mov esi, dword [esp + 0x4c]
mov dword [eax + 4], esi
mov esi, dword [esp + 0x50]
mov dword [eax + 8], esi
mov esi, dword [esp + 0x54]
mov dword [eax + 0xc], esi
mov si, word [esp + 0x58]
mov word [eax + 0x10], si
mov esi, dword [edx - 0x18]
mov eax, dword [ecx]
mov dword [ecx], esi
mov dword [edx - 0x18], eax
sub edx, 0x18
lea esi, [ecx + 4]
mov ebx, esi
mov ebp, dword [ebx]
mov dword [esp + 0x30], ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 0x34], ebp
mov ebp, dword [ebx + 8]
mov dword [esp + 0x38], ebp
mov ebp, dword [ebx + 0xc]
mov bx, word [ebx + 0x10]
lea eax, [edx + 4]
mov word [esp + 0x40], bx
mov dword [esp + 0x3c], ebp
mov ebx, eax
mov ebp, dword [ebx]
mov dword [esi], ebp
mov ebp, dword [ebx + 4]
mov dword [esi + 4], ebp
mov ebp, dword [ebx + 8]
mov dword [esi + 8], ebp
mov ebp, dword [ebx + 0xc]
mov dword [esi + 0xc], ebp
mov bx, word [ebx + 0x10]
mov ebp, dword [esp + 0x14]
mov word [esi + 0x10], bx
mov esi, dword [esp + 0x30]
mov dword [eax], esi
mov esi, dword [esp + 0x34]
mov dword [eax + 4], esi
mov esi, dword [esp + 0x38]
mov dword [eax + 8], esi
mov esi, dword [esp + 0x3c]
mov dword [eax + 0xc], esi
mov si, word [esp + 0x40]
mov word [eax + 0x10], si
jmp 0x4a4be0
mov ebx, dword [ebp]
mov esi, edi
mov eax, dword [esi]
mov dword [esi], ebx
mov dword [ebp], eax
lea eax, [ebp + 4]
add edi, 0x18
add esi, 4
mov ebx, esi
mov ebp, dword [ebx]
mov dword [esp + 0x18], ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 0x1c], ebp
mov ebp, dword [ebx + 8]
mov dword [esp + 0x20], ebp
mov ebp, dword [ebx + 0xc]
mov bx, word [ebx + 0x10]
mov word [esp + 0x28], bx
mov dword [esp + 0x24], ebp
mov ebx, eax
mov ebp, dword [ebx]
mov dword [esi], ebp
mov ebp, dword [ebx + 4]
mov dword [esi + 4], ebp
mov ebp, dword [ebx + 8]
mov dword [esi + 8], ebp
mov ebp, dword [ebx + 0xc]
mov dword [esi + 0xc], ebp
mov bx, word [ebx + 0x10]
mov ebp, dword [esp + 0x14]
mov word [esi + 0x10], bx
mov esi, dword [esp + 0x18]
mov dword [eax], esi
mov esi, dword [esp + 0x1c]
mov dword [eax + 4], esi
mov esi, dword [esp + 0x20]
mov dword [eax + 8], esi
mov esi, dword [esp + 0x24]
mov dword [eax + 0xc], esi
mov si, word [esp + 0x28]
mov word [eax + 0x10], si
jmp 0x4a4be0
mov eax, dword [esp + 0x178]
pop edi
pop esi
pop ebp
mov dword [eax], ecx
mov dword [eax + 4], edx
pop ebx
add esp, 0x164
ret