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

Disassembly:
push 0xffffffffffffffff
push 0x4f0e85
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x174
push ebx
push ebp
mov dword [esp + 0x30], ecx
push esi
push edi
lea ecx, [esp + 0x24]
call fcn.004be970
xor esi, esi
lea ecx, [esp + 0x34]
mov dword [esp + 0x18c], esi
call fcn.004be970
mov al, byte [esp + 0x13]
mov dword [esp + 0x18], esi
mov byte [esp + 0x14], al
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
mov cl, byte [esp + 0x13]
sub esp, 0x10
mov ebx, esp
mov dword [esp + 0x3c], esp
push esi
mov byte [esp + 0x1a0], 2
mov byte [ebx], cl
mov ecx, ebx
call fcn.00411e90
mov edi, 0x520168
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebp, ecx
mov ecx, ebx
push ebp
call fcn.00412290
test al, al
je 0x48b3a2
mov edi, dword [ebx + 4]
mov ecx, ebp
mov edx, ecx
mov esi, 0x520168
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, ebx
call fcn.00412270
xor esi, esi
push esi
lea ecx, [esp + 0x54]
call fcn.004cabb0
mov byte [esp + 0x18c], 3
push 0xffff
lea eax, [esp + 0x88]
push 0x50f938
push eax
call fcn.004df246
push ecx
mov cl, byte [esp + 0x23]
mov ebp, esp
mov dword [esp + 0x3c], esp
push 0
mov byte [ebp], cl
mov ecx, ebp
call fcn.00411e90
lea edi, [esp + 0x94]
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebx, ecx
mov ecx, ebp
push ebx
call fcn.00412290
test al, al
je 0x48b425
mov edi, dword [ebp + 4]
mov ecx, ebx
mov edx, ecx
lea esi, [esp + 0x94]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, ebp
call fcn.00412270
sub esp, 0x10
lea eax, [esp + 0x33]
mov ecx, esp
mov dword [esp + 0x7c], esp
push eax
push 0x50f8ec
mov byte [esp + 0x1b4], 4
call fcn.00411a00
sub esp, 0x10
lea edx, [esp + 0x6f]
mov ecx, esp
mov dword [esp + 0x84], esp
push edx
push 0x50fa38
mov byte [esp + 0x1c4], 5
call fcn.00411a00
sub esp, 0x10
lea eax, [esp + 0x7e]
mov ecx, esp
mov dword [esp + 0x98], esp
push eax
push 0x520168
mov byte [esp + 0x1d4], 6
call fcn.00411a00
sub esp, 0x10
mov byte [esp + 0x1dc], 7
mov esi, esp
mov dword [esp + 0x80], esp
push ecx
mov ecx, esp
mov dword [esp + 0x7c], esp
push 6
push 0x512864
call fcn.004bea10
push esi
call fcn.004d0560
sub esp, 8
mov byte [esp + 0x1ec], 8
mov esi, esp
mov dword [esp + 0x88], esp
push ecx
mov ecx, esp
mov dword [esp + 0x8c], esp
push 6
push 0x51285c
call fcn.004bea10
push esi
call fcn.004d0560
add esp, 8
lea ecx, [esp + 0xd0]
mov byte [esp + 0x1ec], 3
push ecx
mov ecx, 0x520200
call fcn.004cb970
mov ecx, dword [0x4f73d0]
mov dx, word [eax]
push ecx
add eax, 4
push 0
push eax
lea ecx, [esp + 0x50]
mov byte [esp + 0x198], 9
mov word [esp + 0x4c], dx
call fcn.00411c90
push 1
lea ecx, [esp + 0x78]
mov byte [esp + 0x190], 3
call fcn.00411e90
lea ecx, [esp + 0x40]
call fcn.004c4fe0
cmp ax, 2
je 0x48b3b4
lea edx, [esp + 0x60]
lea ecx, [esp + 0x40]
push edx
call fcn.004cacf0
mov edi, dword [eax + 4]
test edi, edi
jne 0x48b56b
mov edi, 0x4f7480
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x84]
mov eax, ecx
mov esi, edi
mov edi, edx
push 1
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x64]
call fcn.00411e90
lea ecx, [esp + 0x84]
push ecx
call fcn.004df3b8
mov esi, eax
add esp, 4
test si, si
jl 0x48b5bc
movsx edx, si
cmp edx, 0xffff
jle 0x48b605
push 0
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x34], esp
push 6
push 0x50f76c
call fcn.004bea10
push ecx
mov byte [esp + 0x19c], 0xa
mov ecx, esp
mov dword [esp + 0x40], esp
push 6
push 0x510148
call fcn.004bea10
mov ecx, 0x520200
mov byte [esp + 0x19c], 3
call fcn.004cb760
jmp 0x48b3b4
mov eax, dword [esp + 0x38]
movsx dx, byte [0x512794]
mov cl, byte [eax + 0x31]
push edx
mov byte [0x512796], cl
push 0x512795
lea ecx, [esp + 0x2c]
mov byte [0x512799], 3
call fcn.004bef10
mov eax, dword [esp + 0x18]
push eax
mov eax, dword [esp + 0x20]
push eax
push eax
call fcn.00476f90
mov ebx, eax
mov eax, dword [esp + 0x28]
add esp, 0xc
cmp ebx, eax
mov ebp, eax
mov edi, ebx
je 0x48b661
push 0
mov ecx, edi
call fcn.00413810
add edi, 4
cmp edi, ebp
jne 0x48b651
lea ecx, [esp + 0x14]
lea edx, [esp + 0x24]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push edx
mov dword [esp + 0x28], ebx
call fcn.004be980
mov ecx, dword [esp + 0x40]
call fcn.004823a0
cmp ax, 1
jl 0x48bb42
mov ecx, dword [esp + 0x18]
call fcn.004bee30
cmp ax, 0xa
jl 0x48bb42
mov ecx, dword [esp + 0x18]
push 5
mov edi, ecx
mov ebp, ecx
mov dword [esp + 0x30], ecx
movsx esi, si
call fcn.004bec90
xor ebx, ebx
push 6
mov ecx, edi
mov bh, al
call fcn.004bec90
mov bl, al
push 7
mov ecx, ebp
shl ebx, 8
call fcn.004bec90
and eax, 0xff
push 8
or ebx, eax
mov ecx, ebp
shl ebx, 8
call fcn.004bec90
mov edi, dword [esp + 0x38]
and eax, 0xff
or ebx, eax
mov cl, byte [edi + 0x31]
add ebx, esi
mov eax, ebx
mov byte [0x51279e], cl
mov edx, eax
mov ecx, eax
sar edx, 0x18
mov byte [0x5127a2], dl
mov edx, eax
mov byte [0x5127a5], al
mov byte [0x5127a1], 4
movsx ax, byte [0x51279c]
sar ecx, 0x10
mov byte [0x5127a3], cl
push eax
sar edx, 8
push 0x51279d
lea ecx, [esp + 0x2c]
mov byte [0x5127a4], dl
call fcn.004bef10
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
push ecx
push eax
lea ecx, [esp + 0x1c]
mov ebx, eax
call fcn.00476d50
lea edx, [esp + 0x14]
lea eax, [esp + 0x24]
push edx
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push eax
mov dword [esp + 0x28], ebx
call fcn.004be980
mov ecx, edi
call fcn.004823a0
cmp ax, 1
jl 0x48b790
mov ecx, dword [esp + 0x18]
push 3
call fcn.004bec90
cmp al, 0x67
je 0x48b905
movsx dx, byte [0x512794]
mov cl, byte [edi + 0x31]
push edx
mov byte [0x512796], cl
push 0x512795
lea ecx, [esp + 0x2c]
mov byte [0x512799], 5
call fcn.004bef10
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
push ecx
push eax
lea ecx, [esp + 0x1c]
mov ebp, eax
call fcn.00476d50
lea edx, [esp + 0x14]
lea eax, [esp + 0x24]
push edx
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push eax
mov dword [esp + 0x28], ebp
call fcn.004be980
mov ecx, edi
call fcn.004823a0
cmp ax, 1
jl 0x48ba83
mov ecx, dword [esp + 0x18]
call fcn.004bee30
cmp ax, 0xa
jl 0x48ba83
mov ecx, dword [esp + 0x18]
push 5
mov edi, ecx
mov ebp, ecx
mov dword [esp + 0x30], ecx
call fcn.004bec90
xor ebx, ebx
push 6
mov ecx, edi
mov bh, al
call fcn.004bec90
mov bl, al
push 7
mov ecx, ebp
shl ebx, 8
call fcn.004bec90
and eax, 0xff
push 8
or ebx, eax
mov ecx, ebp
shl ebx, 8
call fcn.004bec90
mov ebp, dword [esp + 0x38]
and eax, 0xff
or ebx, eax
mov cl, byte [ebp + 0x31]
add ebx, esi
mov eax, ebx
mov byte [0x51279e], cl
mov edx, eax
mov ecx, eax
sar edx, 0x18
mov byte [0x5127a2], dl
mov edx, eax
mov byte [0x5127a5], al
mov byte [0x5127a1], 6
movsx ax, byte [0x51279c]
sar ecx, 0x10
mov byte [0x5127a3], cl
push eax
sar edx, 8
push 0x51279d
lea ecx, [esp + 0x2c]
mov byte [0x5127a4], dl
call fcn.004bef10
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
cmp eax, ecx
mov ebx, eax
mov edi, ecx
mov esi, eax
je 0x48b8c7
mov ecx, esi
call fcn.004beab0
add esi, 4
cmp esi, edi
jne 0x48b8b9
lea ecx, [esp + 0x14]
lea edx, [esp + 0x24]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push edx
mov dword [esp + 0x28], ebx
call fcn.004be980
mov ecx, ebp
call fcn.004823a0
cmp ax, 1
jl 0x48b9c4
mov ecx, dword [esp + 0x18]
push 3
call fcn.004bec90
cmp al, 0x67
jne 0x48b9c4
xor ebx, ebx
push ebx
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x34], esp
push 6
push 0x50f634
call fcn.004bea10
push ecx
mov byte [esp + 0x19c], 0xe
mov ecx, esp
mov dword [esp + 0x40], esp
push 6
push 0x512854
call fcn.004bea10
mov ecx, 0x520200
mov byte [esp + 0x19c], 3
call fcn.004cb760
mov eax, dword [esp + 0x48]
cmp eax, ebx
je 0x48b96f
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x48b966
cmp al, 0xff
je 0x48b966
dec al
mov byte [ecx], al
jmp 0x48b96f
push ecx
call fcn.004deb10
add esp, 4
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
cmp esi, eax
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov byte [esp + 0x18c], 1
mov edi, eax
je 0x48b9a3
mov ecx, esi
call fcn.004beab0
add esi, 4
cmp esi, edi
jne 0x48b991
mov esi, dword [esp + 0x18]
push esi
call fcn.004deb10
add esp, 4
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov byte [esp + 0x18c], bl
jmp 0x48bbdf
xor ebx, ebx
push ebx
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x34], esp
push 6
push 0x50f634
call fcn.004bea10
push ecx
mov byte [esp + 0x19c], 0xd
mov ecx, esp
mov dword [esp + 0x40], esp
push 6
push 0x51284c
call fcn.004bea10
mov ecx, 0x520200
mov byte [esp + 0x19c], 3
call fcn.004cb760
mov eax, dword [esp + 0x48]
cmp eax, ebx
je 0x48ba2e
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x48ba25
cmp al, 0xff
je 0x48ba25
dec al
mov byte [ecx], al
jmp 0x48ba2e
push ecx
call fcn.004deb10
add esp, 4
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
cmp esi, eax
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov byte [esp + 0x18c], 1
mov edi, eax
je 0x48ba62
mov ecx, esi
call fcn.004beab0
add esi, 4
cmp esi, edi
jne 0x48ba50
mov esi, dword [esp + 0x18]
push esi
call fcn.004deb10
add esp, 4
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov byte [esp + 0x18c], bl
jmp 0x48bbdf
xor ebx, ebx
push ebx
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x34], esp
push 6
push 0x50f76c
call fcn.004bea10
push ecx
mov byte [esp + 0x19c], 0xc
mov ecx, esp
mov dword [esp + 0x40], esp
push 6
push 0x50f978
call fcn.004bea10
mov ecx, 0x520200
mov byte [esp + 0x19c], 3
call fcn.004cb760
mov eax, dword [esp + 0x48]
cmp eax, ebx
je 0x48baed
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x48bae4
cmp al, 0xff
je 0x48bae4
dec al
mov byte [ecx], al
jmp 0x48baed
push ecx
call fcn.004deb10
add esp, 4
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
cmp esi, eax
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov byte [esp + 0x18c], 1
mov edi, eax
je 0x48bb21
mov ecx, esi
call fcn.004beab0
add esi, 4
cmp esi, edi
jne 0x48bb0f
mov esi, dword [esp + 0x18]
push esi
call fcn.004deb10
add esp, 4
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov byte [esp + 0x18c], bl
jmp 0x48bbdf
xor ebx, ebx
push ebx
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x34], esp
push 6
push 0x50f76c
call fcn.004bea10
push ecx
mov byte [esp + 0x19c], 0xb
mov ecx, esp
mov dword [esp + 0x40], esp
push 6
push 0x50f978
call fcn.004bea10
mov ecx, 0x520200
mov byte [esp + 0x19c], 3
call fcn.004cb760
push 1
lea ecx, [esp + 0x48]
mov byte [esp + 0x190], 2
call fcn.00411e90
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
cmp esi, eax
mov byte [esp + 0x18c], 1
mov edi, eax
je 0x48bbc2
mov ecx, esi
call fcn.004beab0
add esi, 4
cmp esi, edi
jne 0x48bbb0
mov esi, dword [esp + 0x18]
push esi
call fcn.004deb10
add esp, 4
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov byte [esp + 0x18c], 0
lea ecx, [esp + 0x34]
call fcn.004beab0
lea ecx, [esp + 0x24]
mov dword [esp + 0x18c], 0xffffffff
call fcn.004beab0
mov ecx, dword [esp + 0x184]
pop edi
pop esi
pop ebp
mov ax, 1
mov dword fs:[0], ecx
pop ebx
add esp, 0x180
ret