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

Disassembly:
mov eax, 0x54
call fcn.00565d7e
push ebx
push ebp
push esi
mov esi, dword [esp + 0x64]
mov eax, dword [esi + 8]
push edi
xor edi, edi
xor ebp, ebp
push eax
mov dword [esp + 0x5c], edi
mov dword [esp + 0x50], edi
mov dword [esp + 0x48], edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x58], edi
mov dword [esp + 0x4c], edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x14], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x54], edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x40], ebp
mov dword [esp + 0x3c], edi
mov dword [esp + 0x60], edi
call fcn.004b7ede
mov ebx, dword [esp + 0x78]
add esp, 4
test eax, eax
jne 0x4fba80
mov ecx, dword [esi + 0xc]
push ecx
call fcn.004b7ede
add esp, 4
test eax, eax
jne 0x4fba80
mov ecx, dword [esi + 8]
mov edx, dword [esp + 0x70]
cmp edx, ecx
je 0x4fba47
cmp edx, edi
je 0x4fba4b
cmp ebx, edi
jne 0x4fba47
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x6c]
push eax
push edi
push edx
push ecx
push esi
call fcn.004fb37e
add esp, 0x14
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret
cmp edx, edi
jne 0x4fba8c
cmp ebx, 1
jne 0x4fba84
mov eax, dword [esp + 0x7c]
mov eax, dword [eax]
cmp eax, ecx
je 0x4fba84
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 0x78]
push ecx
mov ecx, dword [edx]
mov edx, dword [esp + 0x70]
push ecx
push eax
push edx
push esi
call fcn.004fb37e
add esp, 0x14
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret
mov edx, dword [esp + 0x70]
cmp edx, edi
je 0x4fbb3f
push esi
call fcn.004b808e
add esp, 4
mov dword [esp + 0x58], eax
cmp eax, edi
jne 0x4fbaae
push 0x1cf
push 0x101a8484
push 0x71
jmp 0x4fc2fc
mov ebp, dword [esi + 0x60]
mov dword [esp + 0x3c], ebp
cmp ebp, edi
je 0x4fbb2c
cmp dword [ebp + 8], edi
je 0x4fbb2c
mov ecx, dword [esp + 0x80]
mov edx, dword [ebp + 0x10]
push ecx
mov ecx, dword [edx]
push ecx
push eax
push esi
call fcn.004b575e
add esp, 0x10
test eax, eax
jne 0x4fbb2c
mov edx, dword [esp + 0x70]
mov esi, dword [ebp + 4]
push edx
mov dword [esp + 0x48], esi
call fcn.004b80ce
xor edx, edx
div esi
add esp, 4
lea ecx, [eax + 1]
mov eax, dword [ebp + 8]
mov dword [esp + 0x24], ecx
cmp ecx, eax
jbe 0x4fbb04
mov dword [esp + 0x24], eax
mov ecx, dword [ebp + 0xc]
dec ecx
mov edx, 1
shl edx, cl
imul eax, edx
mov dword [esp + 0x54], edx
cmp dword [ebp + 0x14], eax
je 0x4fbb3f
push 0x1eb
push 0x101a8484
push 0x44
jmp 0x4fc2fc
mov eax, 1
xor ebp, ebp
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x24], eax
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x24]
add eax, ebx
push 0x1f9
lea esi, [eax*4]
push 0x101a8484
push esi
mov dword [esp + 0x28], eax
call fcn.004a173e
push 0x1fa
mov edi, eax
push 0x101a8484
push esi
mov dword [esp + 0x4c], edi
call fcn.004a173e
push 0x1fc
lea ecx, [esi + 4]
push 0x101a8484
push ecx
mov dword [esp + 0x44], eax
call fcn.004a173e
push 0x1fd
push 0x101a8484
push esi
mov dword [esp + 0x40], eax
call fcn.004a173e
add esp, 0x30
cmp dword [esp + 0x10], 0
mov dword [esp + 0x14], eax
je 0x4fbbb9
mov edx, dword [esp + 0x10]
mov dword [edx], 0
xor ecx, ecx
cmp edi, ecx
je 0x4fc2f0
cmp dword [esp + 0x20], ecx
je 0x4fc2f0
cmp dword [esp + 0x10], ecx
je 0x4fc2f0
cmp dword [esp + 0x14], ecx
je 0x4fc2f0
mov eax, dword [esp + 0x38]
add eax, ebx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x2c], eax
cmp eax, ecx
jbe 0x4fbcec
mov eax, dword [esp + 0x7c]
mov ebp, dword [esp + 0x10]
sub eax, edi
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x20]
sub ebp, edi
sub eax, edi
mov esi, edi
mov dword [esp + 0x60], eax
mov edi, ecx
jmp 0x4fbc22
mov edi, dword [esp + 0x18]
cmp edi, ebx
jae 0x4fbc30
mov ecx, dword [esp + 0x40]
mov edx, dword [ecx + esi]
push edx
jmp 0x4fbc35
mov eax, dword [esp + 0x70]
push eax
call fcn.004b80ce
add esp, 4
cmp eax, 0x7d0
jb 0x4fbc4b
mov eax, 6
jmp 0x4fbc7b
cmp eax, 0x320
jb 0x4fbc59
mov eax, 5
jmp 0x4fbc7b
cmp eax, 0x12c
jb 0x4fbc67
mov eax, 4
jmp 0x4fbc7b
cmp eax, 0x46
jb 0x4fbc73
mov eax, 3
jmp 0x4fbc7b
cmp eax, 0x14
sbb eax, eax
add eax, 2
lea ecx, [eax - 1]
mov edx, 1
shl edx, cl
mov dword [esi], eax
mov dword [esi + ebp + 4], 0
add dword [esp + 0x30], edx
cmp edi, ebx
jae 0x4fbca0
mov eax, dword [esp + 0x40]
mov eax, dword [eax + esi]
jmp 0x4fbca4
mov eax, dword [esp + 0x70]
mov edi, dword [esp + 0x60]
mov edx, dword [esi]
add edi, esi
push edi
push edx
push eax
call fcn.0051dbbe
add esp, 0xc
mov dword [esi + ebp], eax
test eax, eax
je 0x4fc30b
mov edi, dword [edi]
cmp edi, dword [esp + 0x28]
jbe 0x4fbcce
mov dword [esp + 0x28], edi
mov eax, dword [esp + 0x18]
inc eax
add esi, 4
mov dword [esp + 0x18], eax
cmp eax, dword [esp + 0x2c]
jb 0x4fbc1e
mov edi, dword [esp + 0x34]
mov ebp, dword [esp + 0x3c]
cmp dword [esp + 0x24], 0
je 0x4fbecc
test ebp, ebp
jne 0x4fbd17
cmp dword [esp + 0x38], 1
je 0x4fbecc
push 0x222
push 0x101a8484
push 0x44
jmp 0x4fc2fc
cmp dword [esp + 0x38], 0
mov dword [esp + 0x40], 0
je 0x4fbd37
push 0x22b
push 0x101a8484
push 0x44
jmp 0x4fc2fc
mov eax, dword [ebp + 0xc]
mov edx, dword [esp + 0x70]
lea ecx, [esp + 0x40]
push ecx
push eax
push edx
mov dword [edi + ebx*4], eax
call fcn.0051dbbe
mov esi, eax
add esp, 0xc
mov dword [esp + 0x38], esi
test esi, esi
je 0x4fc30b
mov ecx, dword [esp + 0x40]
cmp ecx, dword [esp + 0x28]
ja 0x4fbd94
mov edx, dword [esp + 0x20]
lea eax, [ebx + 1]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x10]
mov dword [eax + ebx*4], esi
mov dword [eax + ebx*4 + 4], 0
mov dword [edx + ebx*4], ecx
mov eax, dword [ebp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [ecx + ebx*4], eax
jmp 0x4fbecc
mov eax, dword [esp + 0x24]
mov edi, dword [esp + 0x44]
imul eax, edi
cmp ecx, eax
jae 0x4fbde6
xor edx, edx
lea eax, [ecx + edi - 1]
div edi
cmp eax, dword [ebp + 8]
jbe 0x4fbde0
push 0x256
push 0x101a8484
push 0x44
push 0xbb
push 0x10
call fcn.00497abe
push 0x257
push 0x101a8484
push esi
call fcn.004a17ee
add esp, 0x20
jmp 0x4fc30b
add eax, ebx
mov dword [esp + 0x1c], eax
mov edx, dword [esp + 0x3c]
mov edi, dword [edx + 0x10]
mov dword [esp + 0x24], esi
cmp ebx, dword [esp + 0x1c]
jae 0x4fbeb9
mov eax, dword [esp + 0x20]
mov ebp, dword [esp + 0x10]
mov edx, ebx
lea esi, [eax + edx*4]
mov edx, dword [esp + 0x14]
sub ebp, eax
sub edx, eax
mov dword [esp + 0x60], edx
jmp 0x4fbe22
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x1c]
dec eax
cmp ebx, eax
jae 0x4fbe41
mov eax, dword [esp + 0x44]
mov dword [esi], eax
cmp ecx, eax
jb 0x4fbf00
sub ecx, eax
mov dword [esp + 0x40], ecx
jmp 0x4fbe43
mov dword [esi], ecx
push 0x272
mov dword [esi + ebp + 4], 0
mov eax, dword [esi]
push 0x101a8484
push eax
call fcn.004a173e
add esp, 0xc
mov dword [esi + ebp], eax
test eax, eax
je 0x4fbf34
mov ecx, dword [esi]
mov edx, dword [esp + 0x24]
push ecx
push edx
push eax
call fcn.00565a0e
mov eax, dword [esi]
add esp, 0xc
cmp eax, dword [esp + 0x28]
jbe 0x4fbe88
mov dword [esp + 0x28], eax
cmp dword [edi], 0
je 0x4fbf68
mov eax, dword [esp + 0x60]
mov edx, dword [esp + 0x44]
mov ecx, dword [esp + 0x54]
add dword [esp + 0x24], edx
mov dword [eax + esi], edi
inc ebx
add esi, 4
lea edi, [edi + ecx*4]
cmp ebx, dword [esp + 0x1c]
jb 0x4fbe1e
mov esi, dword [esp + 0x38]
push 0x285
push 0x101a8484
push esi
call fcn.004a17ee
add esp, 0xc
mov eax, dword [esp + 0x30]
push 0x28f
lea ecx, [eax*4 + 4]
push 0x101a8484
push ecx
call fcn.004a173e
add esp, 0xc
mov dword [esp + 0x50], eax
test eax, eax
jne 0x4fbf9c
push 0x291
jmp 0x4fc2f5
push 0x265
push 0x101a8484
push 0x44
push 0xbb
push 0x10
call fcn.00497abe
mov eax, dword [esp + 0x4c]
push 0x266
push 0x101a8484
push eax
call fcn.004a17ee
add esp, 0x20
jmp 0x4fc30b
push 0x274
push 0x101a8484
push 0x41
push 0xbb
push 0x10
call fcn.00497abe
mov ecx, dword [esp + 0x4c]
push 0x275
push 0x101a8484
push ecx
call fcn.004a17ee
add esp, 0x20
jmp 0x4fc30b
push 0x27d
push 0x101a8484
push 0x44
push 0xbb
push 0x10
call fcn.00497abe
mov edx, dword [esp + 0x4c]
push 0x27e
push 0x101a8484
push edx
call fcn.004a17ee
add esp, 0x20
jmp 0x4fc30b
mov edi, dword [esp + 0x50]
mov edx, dword [esp + 0x30]
lea eax, [edi + edx*4]
xor ebp, ebp
mov dword [esp + 0x54], eax
mov dword [eax], 0
cmp dword [esp + 0x2c], ebp
jbe 0x4fc01c
mov esi, dword [esp + 0x34]
mov eax, dword [esp + 0x14]
sub eax, esi
mov dword [esp + 0x60], eax
lea esp, [esp]
mov dword [eax + esi], edi
mov ecx, dword [esi]
dec ecx
mov edx, 1
shl edx, cl
xor ebx, ebx
test edx, edx
je 0x4fc00e
mov eax, dword [esp + 0x68]
push eax
call fcn.004b520e
add esp, 4
mov dword [edi], eax
test eax, eax
je 0x4fc30b
mov ecx, dword [esi]
dec ecx
mov edx, 1
shl edx, cl
inc ebx
add edi, 4
cmp ebx, edx
jb 0x4fbfe1
mov eax, dword [esp + 0x60]
inc ebp
add esi, 4
cmp ebp, dword [esp + 0x2c]
jb 0x4fbfce
mov eax, dword [esp + 0x54]
cmp edi, eax
je 0x4fc031
push 0x2a2
push 0x101a8484
push 0x44
jmp 0x4fc2fc
mov eax, dword [esp + 0x68]
push eax
call fcn.004b520e
add esp, 4
mov dword [esp + 0x4c], eax
test eax, eax
je 0x4fc30b
xor ebp, ebp
cmp dword [esp + 0x2c], ebp
jbe 0x4fc121
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x78]
mov ebx, dword [esp + 0x34]
sub edi, esi
mov dword [esp + 0x60], edi
sub ebx, esi
lea esp, [esp]
mov edx, dword [esi]
mov eax, dword [edx]
cmp ebp, dword [esp + 0x74]
jae 0x4fc07d
mov ecx, dword [edi + esi]
jmp 0x4fc081
mov ecx, dword [esp + 0x58]
push ecx
push eax
call fcn.004b533e
add esp, 8
test eax, eax
je 0x4fc30b
cmp dword [ebx + esi], 1
jbe 0x4fc113
mov edx, dword [esi]
mov ecx, dword [esp + 0x80]
mov eax, dword [edx]
mov edx, dword [esp + 0x68]
push ecx
mov ecx, dword [esp + 0x50]
push eax
push ecx
push edx
call fcn.004b554e
add esp, 0x10
test eax, eax
je 0x4fc30b
mov ecx, dword [ebx + esi]
mov edi, 1
dec ecx
mov eax, edi
shl eax, cl
cmp eax, edi
jbe 0x4fc10f
mov ecx, dword [esi]
mov edx, dword [esp + 0x80]
lea eax, [ecx + edi*4]
mov ecx, dword [esp + 0x4c]
push edx
mov edx, dword [eax - 4]
mov eax, dword [eax]
push ecx
mov ecx, dword [esp + 0x70]
push edx
push eax
push ecx
call fcn.004b549e
add esp, 0x14
test eax, eax
je 0x4fc30b
mov ecx, dword [ebx + esi]
dec ecx
mov edx, 1
shl edx, cl
inc edi
cmp edi, edx
jb 0x4fc0d1
mov edi, dword [esp + 0x60]
inc ebp
add esi, 4
cmp ebp, dword [esp + 0x2c]
jb 0x4fc06e
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x30]
push eax
mov eax, dword [esp + 0x6c]
push ecx
push edx
push eax
call fcn.004b587e
add esp, 0x10
test eax, eax
je 0x4fc30b
mov ebp, dword [esp + 0x28]
dec ebp
mov ebx, dword [esp + 0x6c]
mov esi, 1
mov dword [esp + 0x44], esi
js 0x4fc2a4
test esi, esi
jne 0x4fc183
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 0x68]
push ecx
push ebx
push ebx
push edx
call fcn.004b554e
add esp, 0x10
test eax, eax
je 0x4fc30b
cmp dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
jbe 0x4fc299
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
mov edi, dword [esp + 0x14]
sub ecx, eax
sub eax, edi
mov dword [esp + 0x58], ecx
mov dword [esp + 0x60], eax
jmp 0x4fc1b8
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x58]
add eax, edi
cmp dword [eax + ecx], ebp
jbe 0x4fc27f
mov eax, dword [eax]
movsx esi, byte [eax + ebp]
test esi, esi
je 0x4fc27f
xor eax, eax
test esi, esi
sets al
test eax, eax
je 0x4fc1de
neg esi
cmp eax, dword [esp + 0x48]
je 0x4fc216
cmp dword [esp + 0x44], 0
jne 0x4fc209
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 0x68]
push ecx
push ebx
push edx
call fcn.004b55ee
add esp, 0xc
test eax, eax
je 0x4fc30b
xor eax, eax
cmp dword [esp + 0x48], eax
sete al
mov dword [esp + 0x48], eax
sar esi, 1
cmp dword [esp + 0x44], 0
je 0x4fc25a
mov ecx, dword [edi]
mov edx, dword [ecx + esi*4]
push edx
push ebx
call fcn.004b533e
add esp, 8
test eax, eax
je 0x4fc30b
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x68]
push eax
push ebx
push ecx
call fcn.004b5c2e
add esp, 0xc
test eax, eax
je 0x4fc2b4
mov dword [esp + 0x44], 0
jmp 0x4fc27f
mov edx, dword [esp + 0x80]
mov eax, dword [edi]
mov ecx, dword [eax + esi*4]
push edx
mov edx, dword [esp + 0x6c]
push ecx
push ebx
push ebx
push edx
call fcn.004b549e
add esp, 0x14
test eax, eax
je 0x4fc30b
mov eax, dword [esp + 0x18]
inc eax
add edi, 4
mov dword [esp + 0x18], eax
cmp eax, dword [esp + 0x1c]
jb 0x4fc1b0
mov esi, dword [esp + 0x44]
dec ebp
jns 0x4fc160
test esi, esi
je 0x4fc2c5
mov eax, dword [esp + 0x68]
push ebx
push eax
call fcn.004b53be
add esp, 8
jmp 0x4fc2e2
push 0x2f1
push 0x101a8484
push 0xa3
jmp 0x4fc2fc
cmp dword [esp + 0x48], 0
je 0x4fc2e6
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 0x68]
push ecx
push ebx
push edx
call fcn.004b55ee
add esp, 0xc
test eax, eax
je 0x4fc30b
mov dword [esp + 0x5c], 1
jmp 0x4fc30b
push 0x204
push 0x101a8484
push 0x41
push 0xbb
push 0x10
call fcn.00497abe
add esp, 0x14
mov eax, dword [esp + 0x4c]
push eax
call fcn.004b52ce
mov ecx, dword [esp + 0x38]
push 0x30d
push 0x101a8484
push ecx
call fcn.004a17ee
mov edx, dword [esp + 0x30]
push 0x30e
push 0x101a8484
push edx
call fcn.004a17ee
mov edi, dword [esp + 0x2c]
add esp, 0x1c
test edi, edi
je 0x4fc380
mov eax, dword [edi]
mov esi, edi
test eax, eax
je 0x4fc36d
push 0x313
push 0x101a8484
push eax
call fcn.004a17ee
mov eax, dword [esi + 4]
add esi, 4
add esp, 0xc
test eax, eax
jne 0x4fc350
push 0x315
push 0x101a8484
push edi
call fcn.004a17ee
add esp, 0xc
mov edi, dword [esp + 0x50]
test edi, edi
je 0x4fc3b6
mov eax, dword [edi]
mov esi, edi
test eax, eax
je 0x4fc3a3
push eax
call fcn.004b52fe
mov eax, dword [esi + 4]
add esi, 4
add esp, 4
test eax, eax
jne 0x4fc390
push 0x31b
push 0x101a8484
push edi
call fcn.004a17ee
add esp, 0xc
mov eax, dword [esp + 0x14]
push 0x31d
push 0x101a8484
push eax
call fcn.004a17ee
mov eax, dword [esp + 0x68]
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret