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

Disassembly:
sub esp, 0x64
push ebx
push ebp
push esi
push edi
mov edi, ecx
push 0
push 1
lea ecx, [esp + 0x38]
mov dword [esp + 0x78], edi
call fcn.004fdff0
mov esi, dword [esp + 0x78]
test esi, esi
je 0x4cb7fc
cmp byte [esi], 0
je 0x4cb7fc
mov dword [esp + 0x10], 0x6c30d4
mov eax, 0x6c30d4
mov ecx, 1
lock xadd dword [eax], ecx
mov edi, dword [esp + 0x7c]
lea esp, [esp]
mov al, byte [esi]
xor ebp, ebp
test al, al
je 0x4cb0b5
cmp al, 0x25
je 0x4cb0b5
mov al, byte [esi + ebp + 1]
inc ebp
test al, al
jne 0x4cb0a8
mov ecx, dword [0x6ca954]
test ecx, ecx
je 0x4cb0f1
mov edx, dword [ecx]
mov edx, dword [edx + 0xc]
push 0
push ebp
push esi
lea eax, [esp + 0x40]
push eax
call edx
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x14]
call fcn.004c73e0
mov ecx, dword [esp + 0x34]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x4cb123
mov eax, dword [esp + 0x34]
push eax
jmp 0x4cb11b
push ebp
push esi
call fcn.004c63d0
add esp, 8
lea ecx, [esp + 0x3c]
mov ebx, eax
push ecx
lea ecx, [esp + 0x14]
mov dword [esp + 0x40], ebx
call fcn.004c73e0
mov edx, ebx
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x4cb123
push ebx
call fcn.004cc7c0
add esp, 4
add esi, ebp
cmp byte [esi], 0
je 0x4cb7b1
mov al, byte [esi + 1]
mov ebp, esi
inc esi
test al, al
je 0x4cb769
cmp al, 0x25
jne 0x4cb15a
push ecx
mov eax, esp
mov ecx, 0x25
mov word [eax], cx
lea ecx, [esp + 0x14]
call fcn.004c7520
inc esi
jmp 0x4cb0a0
xor ecx, ecx
mov dword [esp + 0x14], ecx
movsx eax, byte [esi]
add eax, 0xffffffe0
cmp eax, 0x10
ja case.0x4cb172.33
movzx edx, byte [eax + 0x4cb870]
jmp dword [edx*4 + 0x4cb854]
or ecx, 1
inc esi
jmp 0x4cb160
or ecx, 2
inc esi
jmp 0x4cb160
or ecx, 4
inc esi
jmp 0x4cb160
or ecx, 8
inc esi
jmp 0x4cb160
or ecx, 0x10
inc esi
jmp 0x4cb160
or ecx, 0x20
inc esi
jmp 0x4cb160
mov al, byte [esi]
mov dword [esp + 0x14], ecx
test al, al
je 0x4cb77f
mov cl, al
or ebx, 0xffffffff
sub cl, 0x30
mov dword [esp + 0x1c], ebx
cmp cl, 9
ja 0x4cb24e
mov dword [esp + 0x20], 0x6c30d4
mov edx, 0x6c30d4
mov eax, 1
lock xadd dword [edx], eax
mov al, byte [esi]
test al, al
je 0x4cb204
mov cl, al
sub cl, 0x30
cmp cl, 9
ja 0x4cb204
push ecx
movzx dx, al
mov ecx, esp
mov word [ecx], dx
lea ecx, [esp + 0x24]
mov byte [esp + 0x7c], al
inc esi
call fcn.004c7520
mov al, byte [esi]
test al, al
jne 0x4cb1dc
push 0xa
push 0
lea ecx, [esp + 0x28]
call fcn.004c64e0
cmp edx, ebx
jl 0x4cb22b
jg 0x4cb21e
cmp eax, 0x80000000
jb 0x4cb22b
test edx, edx
jl 0x4cb231
jg 0x4cb22b
cmp eax, 0x7fffffff
jbe 0x4cb231
xor eax, eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x20]
lock xadd dword [eax], ebx
jne 0x4cb264
mov ecx, dword [esp + 0x20]
push ecx
call fcn.004cc7c0
add esp, 4
jmp 0x4cb264
cmp al, 0x2a
jne 0x4cb264
mov eax, dword [edi]
add edi, 4
mov dword [esp + 0x1c], eax
test eax, eax
jge 0x4cb263
mov dword [esp + 0x1c], ebx
inc esi
mov al, byte [esi]
test al, al
je 0x4cb789
or ebx, 0xffffffff
mov dword [esp + 0x28], ebx
cmp al, 0x2e
jne 0x4cb330
mov al, byte [esi + 1]
inc esi
mov dl, al
sub dl, 0x30
cmp dl, 9
ja 0x4cb317
mov dword [esp + 0x38], 0x6c30d4
mov eax, 0x6c30d4
mov ecx, 1
lock xadd dword [eax], ecx
mov al, byte [esi]
test al, al
je 0x4cb2d8
jmp 0x4cb2b0
mov dl, al
sub dl, 0x30
cmp dl, 9
ja 0x4cb2d8
mov byte [esp + 0x7c], al
push ecx
movzx ax, al
mov ecx, esp
mov word [ecx], ax
lea ecx, [esp + 0x3c]
inc esi
call fcn.004c7520
mov al, byte [esi]
test al, al
jne 0x4cb2b0
push 0xa
push 0
lea ecx, [esp + 0x40]
call fcn.004c64e0
cmp edx, 0xffffffff
jl 0x4cb300
jg 0x4cb2f3
cmp eax, 0x80000000
jb 0x4cb300
test edx, edx
jl 0x4cb306
jg 0x4cb300
cmp eax, 0x7fffffff
jbe 0x4cb306
xor eax, eax
mov dword [esp + 0x2c], eax
mov ebx, eax
lea ecx, [esp + 0x38]
mov dword [esp + 0x28], ebx
call fcn.004010b1
jmp 0x4cb330
cmp al, 0x2a
jne 0x4cb330
mov ebx, dword [edi]
add edi, 4
mov dword [esp + 0x28], ebx
test ebx, ebx
jge 0x4cb32f
or ebx, 0xffffffff
mov dword [esp + 0x28], ebx
inc esi
mov cl, byte [esi]
test cl, cl
je 0x4cb794
movsx ecx, cl
add ecx, 0xffffffb4
xor eax, eax
cmp ecx, 0x2e
ja case.0x4cb34e.77
movzx ecx, byte [ecx + 0x4cb8a0]
jmp dword [ecx*4 + 0x4cb884]
inc esi
cmp byte [esi], 0x68
jne 0x4cb362
mov eax, 1
jmp 0x4cb397
mov eax, 2
jmp case.0x4cb34e.77
inc esi
cmp byte [esi], 0x6c
jne 0x4cb376
mov eax, 4
jmp 0x4cb397
mov eax, 3
jmp case.0x4cb34e.77
mov eax, 5
jmp 0x4cb397
mov eax, 6
jmp 0x4cb397
mov eax, 7
jmp 0x4cb397
mov eax, 8
inc esi
cmp byte [esi], 0
je 0x4cb79f
mov dword [esp + 0x18], 0x6c30d4
mov edx, 0x6c30d4
mov ecx, 1
lock xadd dword [edx], ecx
mov dl, byte [esi]
movsx ecx, dl
add ecx, 0xffffffbf
cmp ecx, 0x37
ja case.0x4cb3cf.66
movzx ecx, byte [ecx + 0x4cb8f0]
jmp dword [ecx*4 + 0x4cb8d0]
cmp eax, 8
ja case.0x4cb3db.5
jmp dword [eax*4 + 0x4cb928]
mov eax, dword [edi]
add edi, 4
cdq
jmp 0x4cb3ff
mov eax, dword [edi]
mov edx, dword [edi + 4]
add edi, 8
jmp 0x4cb3ff
mov eax, dword [edi]
add edi, 4
jmp 0x4cb3fd
xor eax, eax
xor edx, edx
mov ecx, dword [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x20]
push ecx
push 0xa
push ebx
push edx
push eax
lea edx, [esp + 0x58]
push edx
lea ecx, [esp + 0x4c]
call fcn.004fbbc0
mov ecx, eax
call fcn.004fd410
push eax
lea ecx, [esp + 0x1c]
call fcn.004c3960
lea ecx, [esp + 0x40]
call fcn.004010b1
jmp 0x4cb6b5
cmp eax, 7
ja case.0x4cb440.5
jmp dword [eax*4 + 0x4cb94c]
mov ebp, dword [edi]
add edi, 4
jmp 0x4cb45a
mov ebp, dword [edi]
mov ebx, dword [edi + 4]
add edi, 8
jmp 0x4cb45c
xor ebp, ebp
xor ebx, ebx
mov al, dl
sub al, 0x41
cmp al, 0x19
ja 0x4cb469
or dword [esp + 0x14], 0x40
push edx
mov dword [esp + 0x28], 0xa
call fcn.004c5e80
add esp, 4
cmp al, 0x6f
je 0x4cb49a
cmp al, 0x75
je 0x4cb490
cmp al, 0x78
jne 0x4cb4a2
mov dword [esp + 0x24], 0x10
jmp 0x4cb4a2
mov dword [esp + 0x24], 0xa
jmp 0x4cb4a2
mov dword [esp + 0x24], 8
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x2c]
push edx
push eax
push ecx
push ebx
push ebp
lea edx, [esp + 0x5c]
push edx
lea ecx, [esp + 0x4c]
call fcn.004fbbc0
mov ecx, eax
call fcn.004fd480
push eax
lea ecx, [esp + 0x1c]
call fcn.004c3960
lea ecx, [esp + 0x44]
call fcn.004010b1
jmp 0x4cb6b5
fld qword [edi]
add edi, 8
mov al, dl
fstp qword [esp + 0x28]
sub al, 0x41
cmp al, 0x19
ja 0x4cb4fb
or dword [esp + 0x14], 0x40
push edx
mov ebp, 1
call fcn.004c5e80
movsx eax, al
add eax, 0xffffff9f
add esp, 4
cmp eax, 6
ja case.0x4cb514.97
jmp dword [eax*4 + 0x4cb96c]
xor ebp, ebp
jmp case.0x4cb514.97
mov ebp, 2
mov ecx, dword [esp + 0x14]
fld qword [esp + 0x28]
mov edx, dword [esp + 0x1c]
push ecx
push edx
push ebp
push ebx
sub esp, 8
lea eax, [esp + 0x60]
fstp qword [esp]
push eax
lea ecx, [esp + 0x4c]
call fcn.004fbbc0
mov ecx, eax
call fcn.004fd380
push eax
lea ecx, [esp + 0x1c]
call fcn.004c3960
lea ecx, [esp + 0x48]
call fcn.004010b1
jmp 0x4cb6b5
add edi, 4
cmp eax, 3
jne 0x4cb58b
mov cx, word [edi - 4]
mov word [esp + 0x4c], cx
mov edx, dword [esp + 0x4c]
push edx
lea ecx, [esp + 0x1c]
call fcn.004c7380
jmp 0x4cb6b5
mov al, byte [edi - 4]
push ecx
movzx ax, al
mov ecx, esp
mov word [ecx], ax
lea ecx, [esp + 0x1c]
call fcn.004c7380
jmp 0x4cb6b5
mov ecx, dword [edi]
add edi, 4
cmp eax, 3
jne 0x4cb5da
cmp word [ecx], 0
mov eax, ecx
je 0x4cb5c9
jmp 0x4cb5c0
add eax, 2
cmp word [eax], 0
jne 0x4cb5c0
sub eax, ecx
sar eax, 1
push eax
push ecx
lea ecx, [esp + 0x20]
call fcn.004cac50
jmp 0x4cb5fd
push 0xffffffffffffffff
push ecx
lea edx, [esp + 0x58]
push edx
call fcn.004c7bd0
add esp, 0xc
push eax
lea ecx, [esp + 0x1c]
call fcn.004c3960
lea ecx, [esp + 0x50]
call fcn.004010b1
cmp ebx, 0xffffffff
je 0x4cb6b5
push ebx
lea ecx, [esp + 0x1c]
call fcn.004c9f10
jmp 0x4cb6b5
mov ebp, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
mov eax, dword [edi]
or ebp, 1
push ebp
push edx
push 0x10
push ebx
xor ecx, ecx
push ecx
add edi, 4
push eax
lea eax, [esp + 0x6c]
push eax
lea ecx, [esp + 0x4c]
mov dword [esp + 0x30], ebp
call fcn.004fbbc0
mov ecx, eax
call fcn.004fd480
push eax
lea ecx, [esp + 0x1c]
call fcn.004c3960
lea ecx, [esp + 0x54]
call fcn.004010b1
jmp 0x4cb6b5
dec eax
cmp eax, 3
ja case.0x4cb662.3
jmp dword [eax*4 + 0x4cb988]
mov ecx, dword [esp + 0x10]
mov eax, dword [edi]
mov ecx, dword [ecx + 8]
add edi, 4
mov byte [eax], cl
jmp 0x4cb6b5
mov edx, dword [esp + 0x10]
mov eax, dword [edi]
mov ecx, dword [edx + 8]
add edi, 4
mov word [eax], cx
jmp 0x4cb6b5
mov ecx, dword [esp + 0x10]
mov ecx, dword [ecx + 8]
mov eax, dword [edi]
add edi, 4
mov dword [esp + 0x28], ecx
mov edx, dword [esp + 0x28]
mov dword [eax + 4], 0
jmp 0x4cb6b3
mov ecx, dword [esp + 0x10]
mov eax, dword [edi]
mov edx, dword [ecx + 8]
add edi, 4
mov dword [eax], edx
mov edx, dword [esp + 0x1c]
push 0
push ecx
mov eax, esp
mov ecx, 0x20
inc esi
test byte [esp + 0x1c], 4
mov word [eax], cx
push edx
lea ecx, [esp + 0x24]
je 0x4cb6fe
lea eax, [esp + 0x64]
push eax
call fcn.004c9fa0
push eax
lea ecx, [esp + 0x14]
call fcn.004c73e0
lea ecx, [esp + 0x58]
call fcn.004010b1
lea ecx, [esp + 0x18]
call fcn.004010b1
jmp 0x4cb0a0
lea eax, [esp + 0x68]
push eax
call fcn.004ca0c0
push eax
lea ecx, [esp + 0x14]
call fcn.004c73e0
lea ecx, [esp + 0x5c]
call fcn.004010b1
lea ecx, [esp + 0x18]
call fcn.004010b1
jmp 0x4cb0a0
cmp ebp, esi
je 0x4cb749
lea ecx, [ecx]
push ecx
movzx cx, byte [ebp]
mov eax, esp
mov word [eax], cx
lea ecx, [esp + 0x14]
call fcn.004c7520
inc ebp
cmp ebp, esi
jne 0x4cb730
mov edx, 0x6c30d4
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x4cb0a0
push edx
call fcn.004cc7c0
add esp, 4
jmp 0x4cb0a0
push ecx
mov eax, esp
mov ecx, 0x25
mov word [eax], cx
lea ecx, [esp + 0x14]
call fcn.004c7520
jmp 0x4cb7b1
mov dword [esp + 0x60], ebp
lea edx, [esp + 0x60]
jmp 0x4cb7a7
lea eax, [esp + 0x64]
mov dword [esp + 0x64], ebp
push eax
jmp 0x4cb7a8
lea ecx, [esp + 0x68]
mov dword [esp + 0x68], ebp
push ecx
jmp 0x4cb7a8
mov dword [esp + 0x6c], ebp
lea edx, [esp + 0x6c]
push edx
lea ecx, [esp + 0x14]
call fcn.004c74a0
mov esi, dword [esp + 0x10]
mov eax, esi
mov ecx, 1
lock xadd dword [eax], ecx
mov edi, dword [esp + 0x70]
mov edx, dword [edi]
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x4cb7da
mov ecx, dword [edi]
push ecx
call fcn.004cc7c0
add esp, 4
mov dword [edi], esi
mov edx, esi
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x4cb848
push esi
call fcn.004cc7c0
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x64
ret 8
mov ecx, 0x6c30e8
mov edx, 1
lock xadd dword [ecx], edx
mov eax, ecx
mov ecx, 1
lock xadd dword [eax], ecx
mov edx, dword [edi]
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x4cb82b
mov ecx, dword [edi]
push ecx
call fcn.004cc7c0
add esp, 4
mov dword [edi], 0x6c30e8
mov edx, 0x6c30e8
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x4cb848
push edx
call fcn.004cc7c0
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x64
ret 8