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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x94]
cmp eax, dword [ecx + 8]
jbe 0x4b5bf7
sub esp, 0x114
mov eax, dword [esp + 0x118]
mov dword [esp], eax
mov eax, dword [esp + 0x11c]
mov dword [esp + 4], eax
call fcn.004b5c10
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
movzx edx, byte [esp + 0x18]
mov ebx, dword [esp + 0x10]
mov ebp, dword [esp + 0x14]
test dl, dl
jne 0x4b5222
mov dword [esp + 0x130], 0
mov dword [esp + 0x134], 0
mov dword [esp + 0x138], 0
mov dword [esp + 0x13c], 0
mov dword [esp + 0x140], 0
mov dword [esp + 0x144], 0
mov dword [esp + 0x148], 0
mov byte [esp + 0x14c], 0
add esp, 0x114
ret
mov dword [esp + 0x60], ecx
mov dword [esp + 0x104], eax
mov dword [esp], ebx
mov dword [esp + 4], ebp
call fcn.004b5e60
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
movzx edx, byte [esp + 0x14]
mov ebx, dword [esp + 8]
test dl, dl
je 0x4b51c6
neg ebx
test eax, eax
jne 0x4b52b9
mov eax, dword [esp + 0x104]
mov dword [esp + 0x130], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x134], eax
mov dword [esp + 0x138], ebx
mov eax, dword [esp + 0x120]
mov dword [esp + 0x13c], eax
mov eax, dword [esp + 0x124]
mov dword [esp + 0x140], eax
mov dword [esp + 0x144], 0xffffffff
mov dword [esp + 0x148], 0x7fffffff
mov byte [esp + 0x14c], 1
add esp, 0x114
ret
cmp byte [ecx], 0x2c
je 0x4b5258
mov dword [esp + 0x5c], ebx
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004b5c10
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
movzx edx, byte [esp + 0x18]
mov ebx, dword [esp + 8]
mov ebp, dword [esp + 0xc]
test dl, dl
je 0x4b5b52
mov dword [esp + 0xc4], ebp
mov dword [esp + 0x110], ebx
test eax, eax
jne 0x4b5bae
mov esi, dword [esp + 0x5c]
mov edi, ebx
lea ebx, [esi + 0xe10]
test dl, dl
je 0x4b5b52
test eax, eax
jne 0x4b5324
mov eax, 0xf
lea ecx, [0x7e90ab]
test eax, eax
jbe 0x4b5bed
mov dword [esp + 0xc0], ebx
movzx edx, byte [ecx]
cmp dl, 0x2c
je 0x4b5344
cmp dl, 0x3b
jne 0x4b5af6
mov dword [esp + 0x118], ecx
lea edi, [esp + 0xd8]
mov edx, eax
xor eax, eax
call fcn.0045c5cb
lea edi, [esp + 0xec]
call fcn.0045c5cb
lea ecx, [edx - 1]
mov edx, ecx
neg ecx
sar ecx, 0x1f
and ecx, 1
mov ebx, dword [esp + 0x118]
add ecx, ebx
mov dword [esp], ecx
mov dword [esp + 4], edx
call fcn.004b60b0
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x11c], ecx
mov edx, dword [esp + 0x1c]
movzx ebx, byte [esp + 0x24]
lea esi, [esp + 8]
mov dword [esp + 0x10c], esi
lea edi, [esp + 0xd8]
call fcn.0045caae
test bl, bl
je 0x4b53c3
mov eax, dword [esp + 0x11c]
test eax, eax
jne 0x4b541f
mov dword [esp + 0x130], 0
mov dword [esp + 0x134], 0
mov dword [esp + 0x138], 0
mov dword [esp + 0x13c], 0
mov dword [esp + 0x140], 0
mov dword [esp + 0x144], 0
mov dword [esp + 0x148], 0
mov byte [esp + 0x14c], 0
add esp, 0x114
ret
cmp byte [edx], 0x2c
jne 0x4b53c3
dec eax
mov ecx, eax
neg eax
sar eax, 0x1f
and eax, 1
add eax, edx
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.004b60b0
mov eax, dword [esp + 0x20]
movzx ecx, byte [esp + 0x24]
mov byte [esp + 0x2b], cl
lea edi, [esp + 0xec]
mov esi, dword [esp + 0x10c]
call fcn.0045caae
movzx ecx, byte [esp + 0x2b]
test cl, cl
je 0x4b546a
test eax, eax
jle 0x4b54c6
mov dword [esp + 0x130], 0
mov dword [esp + 0x134], 0
mov dword [esp + 0x138], 0
mov dword [esp + 0x13c], 0
mov dword [esp + 0x140], 0
mov dword [esp + 0x144], 0
mov dword [esp + 0x148], 0
mov byte [esp + 0x14c], 0
add esp, 0x114
ret
mov eax, dword [esp + 0x128]
add eax, 0x1ad9c900
mov dword [esp], eax
mov eax, dword [esp + 0x12c]
adc eax, 0x7ffffffe
mov dword [esp + 4], eax
mov byte [esp + 8], 0
call fcn.004b24f0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x34], eax
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x38], ecx
mov edx, dword [esp + 0x128]
mov dword [esp], edx
mov edx, dword [esp + 0x12c]
mov dword [esp + 4], edx
mov dword [esp + 8], 0x15180
mov dword [esp + 0xc], 0
call fcn.00453460
mov eax, dword [esp + 0x38]
imul eax, eax, 0x15180
mov dword [esp + 0xbc], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0xb8], ecx
add eax, ecx
mov dword [esp + 0x2c], eax
mov ebx, dword [esp + 0x34]
mov ebp, ebx
add ebx, 0xd116ebf
mov dword [esp + 0x3c], ebx
mov esi, dword [esp + 0x14]
mov dword [esp + 0xb4], esi
nop
mov dword [esp], ebx
mov edi, ebp
sar ebp, 0x1f
add edi, 0xd116ebf
adc ebp, 0x44
mov dword [esp + 0xb0], ebp
mov dword [esp + 4], ebp
mov dword [esp + 8], 0x190
mov dword [esp + 0xc], 0
call fcn.00453130
mov eax, dword [esp + 0x10]
mov ecx, eax
mov eax, 0x190
mul ecx
mov ebx, dword [esp + 0x3c]
mov ebp, ebx
sub ebx, eax
mov dword [esp + 0x3c], ebx
mov esi, eax
mov eax, 0x23ab1
mov edi, edx
mul ecx
mov dword [esp + 0xac], edx
mov dword [esp + 0x68], eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x54], ecx
mov dword [esp], ebx
imul edx, ecx, 0x190
add edx, edi
sub ebp, esi
mov ebp, dword [esp + 0xb0]
sbb ebp, edx
mov dword [esp + 0xb0], ebp
mov dword [esp + 4], ebp
mov dword [esp + 8], 0x64
mov dword [esp + 0xc], 0
call fcn.00453130
mov eax, dword [esp + 0x10]
mov ecx, eax
mov eax, 0x64
mul ecx
mov ebx, dword [esp + 0x3c]
mov ebp, ebx
sub ebx, eax
mov dword [esp + 0x3c], ebx
mov esi, eax
mov eax, 0x8eac
mov edi, edx
mul ecx
mov dword [esp + 0xa8], edx
mov dword [esp + 0xa4], eax
mov ecx, dword [esp + 0x68]
add ecx, eax
mov dword [esp + 0xa0], ecx
mov eax, dword [esp + 0x14]
mov dword [esp + 0x9c], eax
imul edx, eax, 0x64
add edx, edi
sub ebp, esi
mov ebp, dword [esp + 0xb0]
sbb ebp, edx
mov dword [esp + 0xb0], ebp
mov edx, ebx
shr ebx, 2
shl ebp, 0x1e
or ebp, ebx
mov dword [esp + 0x98], ebp
mov ebx, ebp
shl ebp, 2
mov dword [esp + 0x94], ebp
sub edx, ebp
mov dword [esp + 0x50], edx
mov eax, 0x5b5
mul ebx
mov dword [esp + 0x90], edx
mov dword [esp + 0x8c], eax
add eax, ecx
mov dword [esp + 0x88], eax
mov eax, 0x16d
mov ecx, dword [esp + 0x50]
mul ecx
mov dword [esp + 0x84], edx
mov dword [esp + 0x80], eax
mov ecx, dword [esp + 0x88]
add eax, ecx
mov dword [esp + 0x64], eax
mov eax, 0x15180
mov ecx, dword [esp + 0x64]
mul ecx
mov dword [esp + 0x7c], edx
mov dword [esp + 0x6c], eax
add eax, 0xe5263700
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x34]
mov dword [esp], eax
lea ecx, [esp + 4]
mov dword [esp + 0x108], ecx
mov edi, ecx
lea esi, [esp + 0xd8]
call fcn.0045caae
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x18], ecx
call fcn.004b65c0
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x74], eax
mov ecx, dword [esp + 0x34]
mov dword [esp], ecx
mov edi, dword [esp + 0x108]
lea esi, [esp + 0xec]
call fcn.0045caae
mov ecx, dword [esp + 0xc0]
mov dword [esp + 0x18], ecx
call fcn.004b65c0
mov eax, dword [esp + 0xbc]
mov ecx, eax
sar eax, 0x1f
mov edx, dword [esp + 0xb8]
add ecx, edx
mov ecx, dword [esp + 0xb4]
adc ecx, eax
mov dword [esp + 0x30], ecx
mov eax, dword [esp + 0x54]
imul eax, eax, 0x23ab1
mov edx, dword [esp + 0xac]
add eax, edx
mov edx, dword [esp + 0x9c]
imul edx, edx, 0x8eac
mov ebx, dword [esp + 0xa8]
add edx, ebx
mov ebx, dword [esp + 0x68]
mov ebp, dword [esp + 0xa4]
add ebx, ebp
adc eax, edx
mov edx, dword [esp + 0xb0]
mov ebx, edx
shr edx, 2
mov ebp, edx
shl edx, 2
mov esi, dword [esp + 0x98]
shr esi, 0x1e
or esi, edx
mov edx, dword [esp + 0x3c]
mov edi, dword [esp + 0x94]
sub edx, edi
sbb ebx, esi
imul edx, ebp, 0x5b5
mov ebp, dword [esp + 0x90]
add edx, ebp
mov ebp, dword [esp + 0x8c]
mov esi, dword [esp + 0xa0]
add ebp, esi
adc edx, eax
imul eax, ebx, 0x16d
mov ebx, dword [esp + 0x84]
add eax, ebx
mov ebx, dword [esp + 0x80]
mov ebp, dword [esp + 0x88]
add ebx, ebp
adc eax, edx
imul eax, eax, 0x15180
mov edx, dword [esp + 0x7c]
add eax, edx
mov dword [esp + 0xb8], eax
mov edx, dword [esp + 0x6c]
add edx, 0xe5263700
adc eax, 0x80000001
mov dword [esp + 0x70], eax
mov ebp, dword [esp + 0x74]
mov esi, ebp
sar ebp, 0x1f
mov edi, dword [esp + 0x1c]
mov dword [esp + 0xbc], edi
sar edi, 0x1f
cmp ebp, edi
setg al
sete dl
mov ebx, dword [esp + 0xbc]
cmp esi, ebx
seta cl
and ecx, edx
or ecx, eax
test cl, cl
je 0x4b5a8f
mov eax, dword [esp + 0xc4]
mov ecx, dword [esp + 0xc0]
mov edx, dword [esp + 0x110]
mov dword [esp + 0x48], ebx
mov dword [esp + 0x44], eax
mov dword [esp + 0x4c], edi
mov dword [esp + 0x100], edx
mov dword [esp + 0x40], ecx
mov ecx, dword [esp + 0x30]
cmp edi, ecx
xchg edi, ebx
setg bl
xchg edi, ebx
sete al
mov edx, dword [esp + 0x2c]
cmp ebx, edx
seta bl
and ebx, eax
or ebx, edi
test bl, bl
jne 0x4b5a0b
cmp ebp, ecx
setl al
sete cl
cmp edx, esi
setae dl
and edx, ecx
or edx, eax
test dl, dl
je 0x4b595f
mov eax, dword [esp + 0x6c]
mov ecx, eax
add eax, esi
mov edx, eax
add eax, 0xe5263700
mov ebx, ecx
add ecx, 0xe7076a80
mov edi, dword [esp + 0x100]
mov dword [esp + 0x130], edi
mov edi, dword [esp + 0x44]
mov dword [esp + 0x134], edi
mov edi, dword [esp + 0x40]
mov dword [esp + 0x138], edi
mov dword [esp + 0x13c], eax
add esi, ebx
mov eax, dword [esp + 0xb8]
adc ebp, eax
add edx, 0xe5263700
adc ebp, 0x80000001
mov dword [esp + 0x140], ebp
mov dword [esp + 0x144], ecx
add ebx, 0xe7076a80
adc eax, 0x80000001
mov dword [esp + 0x148], eax
mov byte [esp + 0x14c], 1
add esp, 0x114
ret
mov dword [esp + 0x58], ebp
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x48]
mov edx, eax
add eax, ecx
mov ebx, eax
add eax, 0xe5263700
mov edi, edx
add edx, esi
mov dword [esp + 0xac], edx
add edx, 0xe5263700
mov ebp, dword [esp + 0x104]
mov dword [esp + 0x130], ebp
mov ebp, dword [esp + 0x60]
mov dword [esp + 0x134], ebp
mov ebp, dword [esp + 0x5c]
mov dword [esp + 0x138], ebp
mov dword [esp + 0x13c], eax
add ecx, edi
mov eax, dword [esp + 0xb8]
mov ecx, dword [esp + 0x4c]
adc ecx, eax
add ebx, 0xe5263700
adc ecx, 0x80000001
mov dword [esp + 0x140], ecx
mov dword [esp + 0x144], edx
add edi, esi
mov ecx, dword [esp + 0x58]
adc eax, ecx
mov ecx, dword [esp + 0xac]
add ecx, 0xe5263700
adc eax, 0x80000001
mov dword [esp + 0x148], eax
mov byte [esp + 0x14c], 1
add esp, 0x114
ret
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x48]
mov edx, eax
add eax, ecx
mov ebx, eax
add eax, 0xe5263700
mov ebp, dword [esp + 0x100]
mov dword [esp + 0x130], ebp
mov ebp, dword [esp + 0x44]
mov dword [esp + 0x134], ebp
mov ebp, dword [esp + 0x40]
mov dword [esp + 0x138], ebp
mov ebp, dword [esp + 0x78]
mov dword [esp + 0x13c], ebp
mov ebp, dword [esp + 0x70]
mov dword [esp + 0x140], ebp
mov dword [esp + 0x144], eax
add edx, ecx
mov eax, dword [esp + 0xb8]
mov ecx, dword [esp + 0x4c]
adc eax, ecx
add ebx, 0xe5263700
adc eax, 0x80000001
mov dword [esp + 0x148], eax
mov byte [esp + 0x14c], 1
add esp, 0x114
ret
mov ebx, esi
mov esi, dword [esp + 0xbc]
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x104]
mov ecx, dword [esp + 0xc4]
mov dword [esp + 0x60], ecx
mov ecx, dword [esp + 0x110]
mov dword [esp + 0x104], ecx
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0xd0], esi
mov esi, dword [esp + 0xc0]
mov dword [esp + 0x5c], esi
mov esi, dword [esp + 0xbc]
mov dword [esp + 0xc8], esi
mov esi, edi
mov edi, ebp
mov ebp, esi
mov esi, dword [esp + 0xbc]
jmp 0x4b5882
mov dword [esp + 0x130], 0
mov dword [esp + 0x134], 0
mov dword [esp + 0x138], 0
mov dword [esp + 0x13c], 0
mov dword [esp + 0x140], 0
mov dword [esp + 0x144], 0
mov dword [esp + 0x148], 0
mov byte [esp + 0x14c], 0
add esp, 0x114
ret
mov dword [esp + 0x130], 0
mov dword [esp + 0x134], 0
mov dword [esp + 0x138], 0
mov dword [esp + 0x13c], 0
mov dword [esp + 0x140], 0
mov dword [esp + 0x144], 0
mov dword [esp + 0x148], 0
mov byte [esp + 0x14c], 0
add esp, 0x114
ret
cmp byte [ecx], 0x2c
je 0x4b5301
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004b5e60
mov ebx, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
movzx edx, byte [esp + 0x14]
neg ebx
mov ebp, dword [esp + 0xc4]
mov esi, dword [esp + 0x5c]
mov edi, dword [esp + 0x110]
jmp 0x4b530d
mov ecx, eax
xor eax, eax
call fcn.0045c3b0
nop
call fcn.0045ade0
jmp fcn.004b5170