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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x522098
mov eax, dword fs:[0]
push eax
sub esp, 0xf0
mov eax, dword [0x56858c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, ecx
mov eax, dword [ebx + 0x64]
xor edi, edi
mov dword [ebp - 0x94], ebx
cmp eax, edi
jne 0x4fdc76
xor ecx, ecx
jmp 0x4fdc8c
mov ecx, dword [ebx + 0x6c]
cmp ecx, edi
je 0x4fdc82
mov edx, dword [ecx + 0xc]
jmp 0x4fdc84
xor edx, edx
mov ecx, dword [ebx + 0x68]
imul ecx, edx
add ecx, eax
call fcn.004b98a0
mov eax, dword [ebx]
mov edx, dword [eax + 0x24]
push 1
mov ecx, ebx
call edx
mov eax, dword [ebx]
mov edx, dword [eax + 0x3c]
mov ecx, ebx
call edx
mov eax, dword [ebx]
mov edx, dword [eax + 0x68]
mov ecx, ebx
call edx
lea ecx, [ebp - 0x7c]
call fcn.00404d00
mov eax, dword [0x56a5e4]
push 0x20
push eax
lea ecx, [ebp - 0x60]
push ecx
mov dword [ebp - 0x7c], 0xffffffe0
mov dword [ebp - 0x6c], 0x2bc
call dword [0x5260ac]
mov ecx, dword [ebx + 0xa0]
mov byte [ebp - 0x3e], 2
cmp ecx, edi
jne 0x4fdd4f
mov ecx, 0x56a4bc
call fcn.00416ad0
mov esi, dword [0x5699f4]
mov ecx, dword [esi + 0x34]
sub ecx, dword [esi + 0x30]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 1
jbe 0x4fdd45
mov eax, dword [esi + 0x30]
mov ecx, dword [eax + 0xc]
cmp ecx, edi
je 0x4fdd45
mov edx, dword [eax + 0x14]
cmp edx, edi
je 0x4fdd33
mov eax, dword [eax + 0x10]
mov edx, dword [edx + 0xc]
imul eax, edx
add eax, ecx
mov ecx, dword [eax + 0x68]
mov dword [ebp - 0x3c], ecx
jmp 0x4fdd6f
mov eax, dword [eax + 0x10]
xor edx, edx
imul eax, edx
add eax, ecx
mov ecx, dword [eax + 0x68]
mov dword [ebp - 0x3c], ecx
jmp 0x4fdd6f
xor eax, eax
mov ecx, dword [eax + 0x68]
mov dword [ebp - 0x3c], ecx
jmp 0x4fdd6f
mov eax, dword [ebx + 0xa8]
cmp eax, edi
je 0x4fdd5e
mov edx, dword [eax + 0xc]
jmp 0x4fdd60
xor edx, edx
mov eax, dword [ebx + 0xa4]
imul eax, edx
mov edx, dword [eax + ecx]
mov dword [ebp - 0x3c], edx
or eax, 0xffffffff
xor ecx, ecx
mov dword [ebp - 0x2c], ecx
mov ecx, dword [ebx + 0xb8]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], eax
xor eax, eax
mov dword [ebp - 0x30], eax
cmp ecx, edi
je 0x4fddbc
mov eax, dword [ebx + 0xc0]
cmp eax, edi
je 0x4fdd9b
mov edx, dword [eax + 0xc]
jmp 0x4fdd9d
xor edx, edx
mov eax, dword [ebx + 0xbc]
imul eax, edx
mov eax, dword [eax + ecx]
mov dword [ebp - 0x38], eax
mov eax, 1
mov ecx, 2
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], ecx
mov ecx, 0x56a4b4
mov word [ebp - 0x40], di
mov byte [ebp - 0x27], 0
call fcn.00416a20
mov eax, dword [0x5699f0]
mov ecx, dword [eax]
cmp ecx, edi
jne 0x4fdddd
xor eax, eax
jmp 0x4fddf3
mov edx, dword [eax + 8]
cmp edx, edi
je 0x4fdde9
mov edx, dword [edx + 0xc]
jmp 0x4fddeb
xor edx, edx
mov eax, dword [eax + 4]
imul eax, edx
add eax, ecx
mov edx, dword [eax + 0x18]
cmp edx, edi
jne 0x4fddfe
xor eax, eax
jmp 0x4fde14
mov ecx, dword [eax + 0x20]
cmp ecx, edi
je 0x4fde0a
mov ecx, dword [ecx + 0xc]
jmp 0x4fde0c
xor ecx, ecx
mov eax, dword [eax + 0x1c]
imul eax, ecx
add eax, edx
mov edx, dword [eax + 4]
cmp edx, edi
jne 0x4fde1f
xor eax, eax
jmp 0x4fde35
mov ecx, dword [eax + 0xc]
cmp ecx, edi
je 0x4fde2b
mov ecx, dword [ecx + 0xc]
jmp 0x4fde2d
xor ecx, ecx
mov eax, dword [eax + 8]
imul eax, ecx
add eax, edx
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 8]
call eax
fcomp dword [0x528240]
fnstsw ax
test ah, 5
jp 0x4fde64
mov ecx, 0x56a451
call fcn.004074f0
lea ecx, [ebp - 0x7c]
push ecx
mov ecx, dword [0x5699e4]
call fcn.0040f450
mov dword [ebp - 4], edi
mov dword [ebp - 0xdc], edi
mov dword [ebp - 0xd8], edi
mov dword [ebp - 0xd4], edi
mov dword [ebp - 0xd0], edi
mov dword [ebp - 0xcc], edi
mov dword [ebp - 0xc8], edi
mov dword [ebp - 0xc4], edi
mov dword [ebp - 0xc0], edi
mov dword [ebp - 0xbc], edi
mov edx, dword [ebx + 0x84]
mov byte [ebp - 4], 1
cmp edx, edi
jne 0x4fdeaf
xor eax, eax
jmp 0x4fdecb
mov eax, dword [ebx + 0x8c]
cmp eax, edi
je 0x4fdebe
mov ecx, dword [eax + 0xc]
jmp 0x4fdec0
xor ecx, ecx
mov eax, dword [ebx + 0x88]
imul eax, ecx
add eax, edx
cmp edx, edi
jne 0x4fded3
xor ecx, ecx
jmp 0x4fdeef
mov ecx, dword [ebx + 0x8c]
cmp ecx, edi
je 0x4fdee2
mov esi, dword [ecx + 0xc]
jmp 0x4fdee4
xor esi, esi
mov ecx, dword [ebx + 0x88]
imul ecx, esi
add ecx, edx
mov edx, dword [eax + 8]
mov esi, dword [eax + 0xc]
mov eax, dword [ecx + 0x10]
mov ecx, dword [ecx + 0x14]
add edx, eax
add esi, ecx
mov dword [ebp - 0xf8], eax
mov dword [ebp - 0xf4], ecx
mov dword [ebp - 0xf0], edx
mov dword [ebp - 0xec], esi
mov dword [ebp - 0x98], edi
lea ecx, [ecx]
cmp dword [ebp - 0x98], 3
jae 0x4fe456
mov edx, dword [vtable.CCriticalSection.0]
mov eax, dword [edx]
mov ecx, 0x55925c
mov dword [ebp - 0xb4], vtable.CCriticalLock.0
mov dword [ebp - 0xb0], ecx
mov dword [ebp - 0xac], edi
call eax
mov ebx, 1
mov dword [ebp - 0xac], ebx
mov esi, dword [0x5699f4]
mov byte [ebp - 4], 2
cmp esi, edi
jne 0x4fdfdf
push 0x68
call fcn.00503a77
mov esi, eax
add esp, 4
mov dword [ebp - 0x90], esi
mov byte [ebp - 4], 3
cmp esi, edi
je 0x4fdfd7
mov edx, dword [0x5684f8]
mov eax, dword [edx + 0xc]
mov ecx, 0x5684f8
call eax
add eax, 0x10
mov dword [esi + 0x10], eax
mov edx, dword [0x5684f8]
mov eax, dword [edx + 0xc]
mov ecx, 0x5684f8
call eax
add eax, 0x10
mov dword [esi + 0x14], eax
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x44], edi
mov dword [esi + 0x48], edi
mov dword [esi + 0x50], edi
mov dword [esi + 0x54], edi
mov dword [esi + 0x58], edi
mov dword [esi + 0x5c], edi
mov dword [esi + 0x60], edi
mov dword [esi + 0x64], edi
jmp 0x4fdfd9
xor esi, esi
mov dword [0x5699f4], esi
mov byte [ebp - 4], 1
mov dword [ebp - 0xb4], vtable.CCriticalLock.0
xor edi, edi
nop
cmp edi, ebx
jge 0x4fe00a
mov ecx, dword [ebp - 0xb0]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
mov esi, dword [0x5699f4]
inc edi
jmp 0x4fdff0
mov ecx, dword [esi + 0x34]
sub ecx, dword [esi + 0x30]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
je 0x4fe061
mov esi, dword [esi + 0x30]
mov ecx, dword [esi]
test ecx, ecx
jne 0x4fe035
xor eax, eax
mov dword [ebp - 0x90], eax
jmp 0x4fe06b
mov eax, dword [esi + 8]
test eax, eax
je 0x4fe04f
mov edx, dword [eax + 0xc]
mov eax, dword [esi + 4]
imul eax, edx
add eax, ecx
mov dword [ebp - 0x90], eax
jmp 0x4fe06b
mov eax, dword [esi + 4]
xor edx, edx
imul eax, edx
add eax, ecx
mov dword [ebp - 0x90], eax
jmp 0x4fe06b
mov dword [ebp - 0x90], 0
mov edx, dword [vtable.CCriticalSection.0]
mov eax, dword [edx]
mov ebx, 0x559238
mov esi, vtable.CCriticalLock.0
mov ecx, ebx
mov dword [ebp - 0xe8], esi
mov dword [ebp - 0xe4], ebx
mov dword [ebp - 0xe0], 0
call eax
mov edi, 1
mov dword [ebp - 0xe0], edi
cmp dword [0x5699f0], 0
mov byte [ebp - 4], 4
jne 0x4fe0da
push 0x218
call fcn.00503a77
add esp, 4
mov dword [ebp - 0xfc], eax
mov byte [ebp - 4], 5
test eax, eax
je 0x4fe0d3
mov ecx, eax
call fcn.00414b10
jmp 0x4fe0d5
xor eax, eax
mov dword [0x5699f0], eax
mov dword [ebp - 0xe8], esi
mov byte [ebp - 4], 1
xor esi, esi
cmp esi, edi
jge 0x4fe0f6
mov edx, dword [ebx]
mov eax, dword [edx + 4]
mov ecx, ebx
call eax
inc esi
jmp 0x4fe0e6
mov ecx, dword [ebp - 0x98]
mov edx, dword [ecx*4 + 0x563844]
mov ecx, dword [ebp - 0x90]
mov esi, dword [0x5699f0]
push edx
call fcn.00471170
mov ecx, esi
mov edi, eax
call fcn.0044dfe0
push edi
mov ecx, eax
call fcn.004a0350
mov edi, eax
cmp edi, 0xffffffff
je 0x4fe449
lea ecx, [ebp - 0xdc]
call fcn.00405500
mov ecx, 0x56a4b4
call fcn.00416a20
mov edx, dword [0x5699f0]
mov esi, dword [edx]
test esi, esi
jne 0x4fe156
xor eax, eax
jmp 0x4fe16c
mov eax, dword [edx + 8]
test eax, eax
je 0x4fe162
mov ecx, dword [eax + 0xc]
jmp 0x4fe164
xor ecx, ecx
mov eax, dword [edx + 4]
imul eax, ecx
add eax, esi
mov edx, dword [eax + 0x18]
test edx, edx
jne 0x4fe177
xor eax, eax
jmp 0x4fe18d
mov ecx, dword [eax + 0x20]
test ecx, ecx
je 0x4fe183
mov ecx, dword [ecx + 0xc]
jmp 0x4fe185
xor ecx, ecx
mov eax, dword [eax + 0x1c]
imul eax, ecx
add eax, edx
mov edx, dword [eax + 4]
test edx, edx
jne 0x4fe198
xor eax, eax
jmp 0x4fe1ae
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x4fe1a4
mov ecx, dword [ecx + 0xc]
jmp 0x4fe1a6
xor ecx, ecx
mov eax, dword [eax + 8]
imul eax, ecx
add eax, edx
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 8]
call eax
fstp dword [ebp - 0x90]
fld dword [0x528240]
fcomp dword [ebp - 0x90]
fnstsw ax
test ah, 0x41
jne 0x4fe1eb
push 0x5455d8
lea ecx, [ebp - 0xa0]
push ecx
mov dword [ebp - 0xa0], 0
call fcn.005036c5
mov ecx, 0x56a4b4
call fcn.00416a20
mov edx, dword [0x5699f0]
mov esi, dword [edx]
test esi, esi
jne 0x4fe205
xor eax, eax
jmp 0x4fe21b
mov eax, dword [edx + 8]
test eax, eax
je 0x4fe211
mov ecx, dword [eax + 0xc]
jmp 0x4fe213
xor ecx, ecx
mov eax, dword [edx + 4]
imul eax, ecx
add eax, esi
mov edx, dword [eax + 0x18]
test edx, edx
jne 0x4fe226
xor eax, eax
jmp 0x4fe23c
mov ecx, dword [eax + 0x20]
test ecx, ecx
je 0x4fe232
mov ecx, dword [ecx + 0xc]
jmp 0x4fe234
xor ecx, ecx
mov eax, dword [eax + 0x1c]
imul eax, ecx
add eax, edx
lea edx, [ebp - 0xdc]
push edx
push edi
mov ecx, eax
call fcn.004875d0
sub eax, 0
je 0x4fe272
dec eax
je 0x4fe26e
push 0x5455d8
lea eax, [ebp - 0xa8]
push eax
mov dword [ebp - 0xa8], 1
call fcn.005036c5
xor eax, eax
jmp 0x4fe277
mov eax, 1
cmp dword [ebp - 0xc4], 0
jne 0x4fe29b
push 0x5455d8
lea ecx, [ebp - 0xb8]
push ecx
mov dword [ebp - 0xb8], 1
call fcn.005036c5
mov ecx, dword [ebp - 0x94]
push eax
call fcn.004ec820
mov ecx, 0x56a451
mov dword [ebp - 0x3c], eax
call fcn.004074f0
mov ecx, dword [0x5699e4]
lea edx, [ebp - 0x7c]
push edx
call fcn.0040f450
mov edx, dword [ebp - 0xc4]
test edx, edx
jne 0x4fe2d1
xor ecx, ecx
jmp 0x4fe2ed
mov eax, dword [ebp - 0xbc]
test eax, eax
je 0x4fe2e0
mov eax, dword [eax + 0xc]
jmp 0x4fe2e2
xor eax, eax
mov ecx, dword [ebp - 0xc0]
imul ecx, eax
add ecx, edx
mov eax, dword [ecx]
mov eax, dword [eax + 4]
lea edx, [ebp - 0xa4]
push edx
call eax
mov esi, dword [eax]
mov ecx, 0x56a451
mov byte [ebp - 4], 6
call fcn.004074f0
mov ecx, dword [0x5699e4]
push 0
push 0
push esi
call fcn.0040f660
test al, al
mov eax, dword [ebp - 0xa4]
sete bl
add eax, 0xfffffff0
mov byte [ebp - 4], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4fe346
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x4fe365
push 0x5455d8
lea ecx, [ebp - 0x9c]
push ecx
mov dword [ebp - 0x9c], 2
call fcn.005036c5
mov ecx, 0x56a451
call fcn.004074f0
mov ecx, dword [0x5699e4]
lea edx, [ebp - 0x8c]
push edx
call fcn.0040f750
push eax
lea eax, [ebp - 0x24]
push eax
call dword [0x526390]
mov ecx, dword [ebp - 0x94]
mov edx, dword [ecx + 0x90]
mov eax, dword [ebp - 0x98]
mov edi, dword [edx + eax*8 + 4]
mov esi, dword [edx + eax*8]
sub esi, dword [ebp - 0xf8]
sub edi, dword [ebp - 0xf4]
lea ecx, [edx + eax*8]
mov ecx, dword [ebp - 0x1c]
sub ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x18]
sub edx, dword [ebp - 0x20]
sar ecx, 1
sub esi, ecx
sar edx, 1
mov ecx, 0x56a451
sub edi, edx
call fcn.004074f0
mov ecx, dword [0x5699e4]
push edi
push esi
call fcn.0040f5e0
xor edi, edi
mov ecx, 0x56a451
call fcn.004074f0
mov ecx, dword [0x5699e4]
call fcn.0040f6e0
cmp edi, eax
jge 0x4fe449
mov esi, dword [ebp - 0x94]
mov edx, dword [esi + 0x84]
test edx, edx
jne 0x4fe40e
xor eax, eax
jmp 0x4fe42a
mov eax, dword [esi + 0x8c]
test eax, eax
je 0x4fe41d
mov ecx, dword [eax + 0xc]
jmp 0x4fe41f
xor ecx, ecx
mov eax, dword [esi + 0x88]
imul eax, ecx
add eax, edx
mov esi, dword [eax + 4]
mov ecx, 0x56a451
call fcn.004074f0
mov ecx, dword [0x5699e4]
push 0
push edi
push esi
call fcn.0040f800
inc edi
jmp 0x4fe3e1
inc dword [ebp - 0x98]
xor edi, edi
jmp 0x4fdf20
lea ecx, [ebp - 0xdc]
mov byte [ebp - 4], 0
call fcn.0043ba60
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x94]
mov esi, dword [ecx + 0x70]
mov edx, dword [ecx]
sub esp, 0x10
mov eax, esp
mov dword [eax], esi
mov esi, dword [ecx + 0x74]
mov dword [eax + 4], esi
mov esi, dword [ecx + 0x78]
mov dword [eax + 8], esi
mov esi, dword [ecx + 0x7c]
mov dword [eax + 0xc], esi
mov eax, dword [edx + 0x64]
call eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00503edb
mov esp, ebp
pop ebp
ret